[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
- From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
- To: "Costello, Roger L." <costello@mitre.org>,"xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Mon, 15 Jun 2015 13:35:08 -0400
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.
https://www.avast.com/antivirus
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]