oasis-tcs / lexidma

OASIS Lexicographic Infrastructure Data Model and API (LEXIDMA) TC: A repository designed for use in development of TC chartered work products and test suites. https://github.com/oasis-tcs/lexidma
Other
7 stars 8 forks source link

Can `entry` be a root of an XML document? #118

Closed jmccrae closed 4 months ago

jmccrae commented 5 months ago

The spec states

"a valid DMLex XML document is one where either a lexicographic Resource or an entry is the document element"

and then

This seems contradictory

michmech commented 5 months ago

Let's say this issue follows from issue #93.

michmech commented 5 months ago

True. I have changed the wording (in the 'Design Principles' section of the XML serialisation), it now says:

  • The top-level lexicographicResource and entry object types are implemented as XML elements.
  • All other object types and their properties are implemented as XML attributes of their parents, unless [...]