[x3d-public] head statements reminder

John Carlson yottzumm at gmail.com
Thu Dec 14 15:25:20 PST 2023


Reminder, keep component, unit and meta statements in order when
doing conversions.  This affects X3DJSONLD which traversing through JSON
files.  Order IS important in JSON, because *X3DJSONLD assumes that the
order of JSON statement objects is correct*, and makes no attempt to
reorder what it sees, *producing incorrect DOM*.

I have filed issues with the responsible parties.

Another benefit from validating JSON with XML schema (JSON schema would not
find this).

*This may be important to put in the JSON encoding specification.*



There are other places where this is important, that I don't think that
X3DJSONLD should be responsible for, including Transform children.

X3DJSONLD doesn't attempt to reorder anything that I recall.

Thanks!

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20231214/85019d7d/attachment.html>


More information about the x3d-public mailing list