RE: [xsl] XSLT 2.0: Schema-aware processor: What are the compelling advantages o

Subject: RE: [xsl] XSLT 2.0: Schema-aware processor: What are the compelling advantages o
From: Justin Johansson <procode@xxxxxxxxxx>
Date: Wed, 18 Jul 2007 23:19:25 +0900
>So write RELAX NG grammars instead (making use od the xml schema datatypes 
>library), and convert them to W3C schemas using trang.

Thanks.  Cool idea , Colin.

So that's what you actually do as a standard thing in your projects so that
you can use Saxon-SA?
No manual intervention required?
What about the limitations; not a problem in practice?

	http://www.thaiopensource.com/relaxng/trang-manual.html#xsd-output

	* it may generate schemas that violate W3C XML Schema's restrictions on
ambiguous content models;
	* it may generate schemas that violate W3C XML Schema's restrictions on
consistent element types;
	 * when the RELAX NG schema cannot be represented by W3C XML Schema, a
generalization is generated; it should give a warning in this case, but
does not always do so.


Justin Johansson
Freelance XML / XSLT / XQuery Developer
Australia

procode(at)tpg(dot)com(dot)au

Current Thread