[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Serialization of XDM
> It has sequences (arrays) which was the problem being complained of. > It can be exported into XDM and imported back, with minimal > conventions. It has explicit types. > Sequences are not the core problem, they are the *missing bits* of a problem that is already largely solved with XML Text Serialization. The core problem with using JSON is XML itself. not the few extra things that XDM requires. You claim: " It can be exported into XDM and imported back, with minimal conventions. " I have not had this experience. Converting XML documents, or even elements, into JSON then back is lossy at best and there is absolutely no standard "convention" on how to do it. While JSON might be able to support sequences and atomic types fairly cleanly, it does not support the more complex (and most common) types namely "Document". Translating things like processing instructions, namespaces, even mixed content in JSON is very difficult. Unless you are saying that everything except atomic types are encoded as JSON Strings ... Even given that, I agree with Micheal. In the XML community, working with XML types, XML tools it a JSON serializing format wont have any significant acceptance. -- David A. Lee dlee@calldei.com http://www.calldei.com http://www.xmlsh.org 812-482-5224
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|