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] When converting XML to JSON, you can safely drop all id attributes

At 2015-06-15 16:19 +0000, Costello, Roger L. wrote:
Lesson Learned: when converting XML to JSON you can safely drop all id attributes.
That seems a very broad statement, Roger. In the interest of preserving information and not losing important relationships, I would think it critical not to drop any id or idref attributes. Those relationships may be very important to the information.

Certainly in JSON one wouldn't have the ID attribute type semantic of uniqueness and the IDREF(S) attribute type semantic of referential integrity, but preserving the values of one's ID and IDREF attributes would preserve important relationships expressed within the information even if they were type-less.

. . . . . . . Ken

Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/video.htm |
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/ |
G. Ken Holman mailto:gkholman@CraneSoftwrights.com |
Google+ profile: http://plus.google.com/+GKenHolman-Crane/about |
Legal business disclaimers: http://www.CraneSoftwrights.com/legal |

This email has been checked for viruses by Avast antivirus software.

[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