← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [xml-dev] When converting XML to JSON, you can safely drop all id attributes

From
G. Ken Holman <>
To
"Costello, Roger L." <>, "" <>
Date
2015-06-15T17:35:08Z
ID
<>
Thread
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: |
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
← Prev in month ← Prev in thread
Next in thread → Next in month →