[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: enabling/disabling assertions

From: Michael Kay <mike@saxonica.com>
Date: Wed, 16 Jan 2008 15:48:56 -0000
To: "'Andrew Welch'" <andrew.j.welch@gmail.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <019401c85857$4da4bca0$6501a8c0@turtle>
RE: enabling/disabling assertions

 
> 
> Thanks - I'm being optimistic... Xerces doesn't seem to like:
> 
> <xs:assert vc:minVersion="1.1" test="..."/>
> 
> Is that the correct use?

Yes, that's the correct use, but I wouldn't expect Xerces to add it to their
product until the 1.1 spec is a bit more solid. They don't want to be stuck
with supporting it if say the attribute names change!

I've been wondering about how to tackle this in Saxon - the next release
will have more 1.1 features than just xs:assert. One solution might simply
be a stylesheet that comments-out 1.1 features from the schema. A bit hard
to get that working automatically with xsi:schemaLocation though.

Michael Kay
http://www.saxonica.com/
Received on Wednesday, 16 January 2008 15:49:03 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.