Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - >Thread Next - Re: Default and Fixed Attribute declarations Default and Fixed Attribute declarationsTo: xmlschema-dev@---.--- Date: 10/2/2006 2:10:00 AM
Hi All,
I am just looking for a clarification. Given:
<xs:element name="baz">
<xs:complexType>
<xs:attribute name="foo" type="xs:string" fixed="bar" />
</xs:complexType>
</xs:element>
What should happen when the validator encounters:
<baz foo=""/>
(a) Validity Error
(b) PSVI contains the foo attribute with the value "bar".
I am fairly positive it is (a)... but I have a note to myself saying the
opposite.
XSV, MXSML, .NET 1.1, .NET 2.0, Xerces2-J, Oracle agree
Xerces2-C++, XsdValid do not.
Thanks,
Jeff Rafter
From gandhi.mukul@g... Mon Oct 02 17:42:16 2006
Recei | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
