W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2009

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>
> 
> 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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:11 GMT