Question related to the SOAP schema available at
http://schemas.xmlsoap.org/soap/envelope

 Essentially, I am having trouble parsing the SOAP envelope with the error
message:

----------------------------------------------------------------------------
----------------------------------------
org.xml.sax.SAXParseException: a-props-correct.2: Invalid value constraint
value '0' in attribute 'mustUnderstand'..
        at org.apache.xerces.parsers.DOMParser.parse(Unknown source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown source)

----------------------------------------------------------------------------
----------------------------------------

This is where the complaint seems to stem from in the SOAP schema file:

<xs:attribute name="mustUnderstand">
        <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" /> 

By the way, I am using Xerces 2.4.0

After going through various mailing lists it seems like the problem was with
the SOAP schema. However, there is no suggested fix for this - or at least I
could not find an appropriate fix.

Any suggestions, or possible workarounds ?

Reply via email to