OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Schema in RNC or XSD?

I am certain that this has been discussed many times already, in different contexts, but I am faced with creating more schemas and at least some of the tools in the project only support W3C Schema 1.0.
I'm tempted to author schemas in RNC as I like the syntax and convert them to XSD as necessary (as I'll be writing it - I'll be aware not to use or separate idioms that can not translate to XSD).
As far as I can tell, the RNC schema may not be used directly anywhere in the foreseeable future, so I am also considering simplifying the toolchain and simply author in XSD.
I don't know if it helps the argument but the schemas will be for documents (as opposed to XML messaging) so sections, paragraphs, lists, nesting - probably quite similar to html5 or docbook + domain specific constructs
This also reminded me that one can validate most of  (X)HTML5 with relaxng, but not W3C schema, which reminded me why I prefer to author this type of schemas in RelaxNG...

I am looking forward to hearing your opinions and I can provide more context and examples, if you think it's necessary. 

Lech Rzedzicki

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS