XML is hierarchical, and is required for anything that requires validation. For 
Govt and DoD, XML validation is required to employ security tags.

If you would like to use XML with SPDX, I did this with a bunch of help from 
the SPDX team and IONChannel awhile back :

https://spdx-ccm.specchain.org/xsdccm/home
https://github.com/mil-oss/spdx-xsd

Cheers!

James

neutron --- nsi.neushul.net

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, June 15th, 2021 at 12:50 PM, David Kemp <[email protected]> wrote:

> All,
>
> During the call, someone mentioned that JSON is inherently tree-structured 
> while XML is not.
>
> XML certainly seems to be hierarchical, and the popular Python [XML 
> library](https://lxml.de/tutorial.html) even calls their API "Element Tree". 
> XML differs from JSON in that Elements have text that is distinguished from 
> other attributes, and that collection properties (ordered and unique) are not 
> built-in to the language as they are with JSON's array and object. But 
> elements are strictly contained within other elements, and nesting violations 
> are more strictly enforced than with HTML.
>
> Could someone elaborate on in what sense XML is non-hierarchical?
>
> v/r,
> Dave
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4082): https://lists.spdx.org/g/Spdx-tech/message/4082
Mute This Topic: https://lists.spdx.org/mt/83564830/21656
Group Owner: [email protected]
Unsubscribe: https://lists.spdx.org/g/Spdx-tech/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to