[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Redux
Kurt Cagle scripsit: > That could work too. However, I'm just thinking of the use case > {"button-label":"<<< Previous <<<"}. That is a quoted string, ergo not an XML element. > "xml(<test>This is a test.</test>)" is both less ambiguous and far less > likely to occur as part of a random JSON expression. I'm not sure whether those quotation marks are metalanguage or not. If they are part of the syntax, then yes, you have a problem; stuff in quotes should always be a literal string. Otherwise, there is no possibility of confusion between these: {"foo": "<bar/>"} -- value is a string; JSON or JAXON {"foo": <bar/>} -- value is an XML element; JAXON only -- John Cowan <cowan@ccil.org> http://www.ccil.org/~cowan One time I called in to the central system and started working on a big thick 'sed' and 'awk' heavy duty data bashing script. One of the geologists came by, looked over my shoulder and said 'Oh, that happens to me too. Try hanging up and phoning in again.' --Beverly Erlebacher
[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
|