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

RE: [XML Schema 1.1] Is vc:facetAvailable only an attribute of xs:element? (Not an attribute of xs:simpleType?)

From: Michael Kay <mike@saxonica.com>
Date: Thu, 30 Apr 2009 16:43:44 +0100
To: "'Costello, Roger L.'" <costello@mitre.org>, <xmlschema-dev@w3.org>
Message-ID: <E2A185136E5E4F998ED6D5ACE76485F4@Sealion>
RE: [XML Schema 1.1] Is vc:facetAvailable only an attribute of  xs:element? (Not an attribute of xs:simpleType?)
> 
> Is xs:facetAvailable and xs:facetUnavailable only an 
> attribute of xs:element? e.g.
> 
> <element name="start-time" vc:facetAvailable="xs:assert">
>    ...
> </element>

The vc: attributes are available on all elements in a schema document.
> 
> 
> The schema-for-schemas (Appendix A) doesn't seem to define 
> any of the VC stuff. Neither does the DTD-for-schemas (Appendix L)
> 

The requirement is that a schema document should be valid against the S4S
only AFTER applying the transformation implied by the vc: attributes. Before
that, all bets are off.

Michael Kay
http://www.saxonica.com/
Received on Thursday, 30 April 2009 15:44:25 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.