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

RE: [XML Schema 1.1] Is vc:type(Un)Available and vc:facet(Un)Available redundant?

From: Michael Kay <mike@saxonica.com>
Date: Mon, 29 Jun 2009 16:24:58 +0100
To: "'Costello, Roger L.'" <costello@mitre.org>, <xmlschema-dev@w3.org>
Message-ID: <D7D6A043B8BC4628BE2B42FFEBAE6916@Sealion>
RE: [XML Schema 1.1] Is vc:type(Un)Available and vc:facet(Un)Available  redundant?

In XSD 1.1, vendors are allowed to add their own types and facets. This
mechanism allows you to include conditional code depending on the presence
of these implementor-defined types and facets. As with function-available()
in XSLT, it also allows finer-grained control if you expect to be running on
processors (like Saxon 9.2) that implement some new features of XSD 1.1 but
not all.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

  

> -----Original Message-----
> From: xmlschema-dev-request@w3.org 
> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Costello, Roger L.
> Sent: 29 June 2009 16:04
> To: xmlschema-dev@w3.org
> Subject: [XML Schema 1.1] Is vc:type(Un)Available and 
> vc:facet(Un)Available redundant?
> 
> 
> Hi Folks,
> 
> If I specify vc:minVersion and vc:maxVersion doesn't that 
> dictate what types and facets are available?
> 
> For example, if I specify vc:minVersion="1.1" and 
> vc:maxVersion="1.1" doesn't that mean 
> vc:typeAvailable="xs:precisionDecimal" and 
> vc:facetAvailable="xs:assert" are true?
> 
> It occurs to me that vc:type(Un)Available and 
> vc:facet(Un)Available are never needed; my desires can always 
> be specified just by using vc:minVersion and vc:maxVersion. 
> Do you agree?
> 
> /Roger
> 
> 
Received on Monday, 29 June 2009 15:25:39 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.