I did a quick check with XMLSpy 2006. It reports this as a validation error. So as you say, (a) is the answer. On 10/2/06, Jeff Rafter <lists@jeffrafter.com> wrote: > > 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 -- Regards, Mukul GandhiReceived on Monday, 2 October 2006 17:42:16 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:13:36 GMT