Dear colleagues,
I have been trying to create the RNC version of the OOXML schema.
I hope to report this exercise in the Oslo meeting.
I deeply appreciate Rick for writing an XSLT stylesheet for the
conversion from XSD to RNG and allowing me to use it. I have
revised it and further created some other programs (ruby and XSLT)
for the conversion.
I have successfully validated the following XML documents. I will
try to validate more before the BRM.
- document.xml of WordProcessingML
- numbering.xml of WordProcessingML
- workbook.xml of SpreadsheetML
- sharedStrings.xml of SpreadsheetML
- slide1.xml of PresentationML
- handoutMaster1.xml of PresentationML
Here are some observations:
The RNC version is away more compact (e.g., 427405 wml.xsd .vs. 76440
wml.rnc). I would argue that the RNC version is far more readable.
I believe that the translated RNC schemas capture more than 95% of the
original semantics. Exceptions include xsd:unique and <xsd:any
processContents="lax"/>.
Sometimes, the intention of the original schema (<xsd:any/> in
particular) is not clear to me.
This experiment demonstrates requirements for RNG extensions, although
they are not mandatory.
Cheers,
-- MURATA Makoto <murata@hokkaido.email.ne.jp> -- DSDL members discussion list To unsubscribe, please send a message with the command "unsubscribe" to dsdl-discuss-request@dsdl.org (mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)Received on Mon Feb 18 19:35:25 2008
This archive was generated by hypermail 2.1.8 : Mon Feb 18 2008 - 21:48:02 UTC