Is <attribute ... use="required"/> honored in XSV?

Hi,

(I'm not sure this is the right place for this kind of question. Please,
forward me to a more apt forum, if there is such.)

I just ran the web XSV to check my sample document against my sample schema.
XSV reported no errors, but I suspect there in fact was one.

The root element of the instance document is called 'schema' and should have
a mandatory 'version' attribute.
At least that's what I hope my XML Schema says:

<xs:element name="schema" type="schemaType"/>

<xs:complexType name="schemaType">
 <xs:sequence>
  <xs:element ref="entity" minOccurs="0" maxOccurs="unbounded"/>
 </xs:sequence>
 <xs:attribute name="version" type="xs:string" use="required"/>
</xs:complexType>

But my instance document did not have this attribute with its 'schema'
element
and XSV did not catch this.

Or is it work-in-progress?

Jan Dvorak
MathAn Praha, Ltd.

Received on Wednesday, 22 August 2001 11:09:55 UTC