XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] [OT] Re: [xml-dev] Lessons learned from the XMLexperiment

> From: Michael Kay [mailto:mike@saxonica.com] 
> Indeed, I've never found a use case for xsi:nil.

I stumbled on one ... 
In an <unnamed> XML to JSON conversion implementation, if you have an empty XML element with xsi:nil 
it will be translated to a JSON null  making the distinction between "" and null possible and reliable.
Sometimes that's a useful thing to the reader of the JSON.

-David

----------------------------------------
David A. Lee
dlee@calldei.com
http://www.xmlsh.org









[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS