Subset Data Model

At  Balisage (especially after Johns great talk) I had some more discussions with people about MicroXML ... One issue arose which I suggest needs serious discussion.

For good reasons (and ones I agree with) If MicroXML is to be successful as an XML 'drop in' it needs to be a pure subset.   That is, as stated in the specs any valid MicroXML document is a valid XML Document.

Great.
But I fear that is not enough.   If MicroXML is creating its own DataModel I suggest the DataModel needs to be equivalently compatible with the XML Data Model (XDM).    That is, given an MicroXML Document.  If it is parsed by an XML parser and a MicroXML Parsers, the two data models should be compatible.   The MicroXML Data Model should be a subset of the XML Data Model  *AND*  the instance of the data model generated should be compatible (subset of) the data model produced by the same document in an XML parser.

If this is not true then there is huge problems with interoperability as most consumers of XML work with the data model not the syntax directly.
This would *effectively cause* MicroXML to be incompatible with XML.

If this is unclear (or debated) I will happily go into details.

-David


-----------------------------------------------------------------------------
David Lee
Lead Engineer
MarkLogic Corporation
dlee@marklogic.com
Phone: +1 650-287-2531
Cell:  +1 812-630-7622
www.marklogic.com<http://www.marklogic.com/>

This e-mail and any accompanying attachments are confidential. The information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution, or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. Thank you for your cooperation.

Received on Monday, 13 August 2012 13:47:11 UTC