[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: David Lee <dlee@calldei.com>
- To: Michael Kay <mike@saxonica.com>, David Sheets <kosmo.zb@gmail.com>
- Date: Sun, 17 Nov 2013 23:41:54 +0000
> 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]