Next in thread → Next in month →

RE: [xml-dev] [OT] Re: [xml-dev] Lessons learned from the XML experiment

From
David Lee <>
To
Michael Kay <>, David Sheets <>
Date
2013-11-17T23:41:54Z
ID
<>
Thread
RE: [xml-dev] [OT] Re: [xml-dev] Lessons learned from the XML experiment
> From: Michael Kay [mailto:] 
> 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

http://www.xmlsh.org
Next in thread → Next in month →