Bug in 2.3.0 ... or bug in SOAP schema? 2003-02-20 - By Jesus M. Salvo Jr.
Currently using 2.2.1 and trying out 2.3.0.
When I was validating a SOAP envelope using Xerces 2.3.0, it complained with the following:
Error: URI=file:///c:/workarea/schemas.xmlsoap.org.xsd Line=70: a-props-correct.2: Invalid value constraint value '0' in attribute 'mustUnderstand'.. Error: URI=file:///c:/workarea/schemas.xmlsoap.org.xsd Line=70: a-props-correct.2: Invalid value constraint value '0' in attribute 'mustUnderstand'..
It seems to be complaining about the SOAP schema definition from w3c ( available at http://schemas.xmlsoap.org/soap/envelope/ ), which has the following for "mustUnderstand" ( which is line 70 just like the above error says ):
<!-- Global Attributes. The following attributes are intended to be usable via qualified attribute names on any complex type referencing them. --> <xs:attribute name="mustUnderstand" default="0" > <xs:simpleType> <xs:restriction base='xs:boolean'> <xs:pattern value='0|1' /> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="actor" type="xs:anyURI" />
Xerces 2.2.1 was not complaining about the above
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|