Hi all,

in a SOAP-message validation I set the parser feature
"honour-all-schemaLocations" of Xerces parser as follows:
...
   <xmlvalidate failonerror="no" warn="yes"
classname="org.apache.xerces.parsers.SAXParser"
file="D:\TestsRoot\AAGC\Reports\s1.xml">
        <classpath path="D:\JavaTools\xerces-2_8_1" location="xercesImpl.jar"
/>
        <attribute name="http://xml.org/sax/features/validation";
value="true"/>
      <attribute name="http://apache.org/xml/features/validation/schema";
value="true"/>
        <attribute name="http://xml.org/sax/features/namespaces"; value="true"/>
        <attribute
name="http://apache.org/xml/features/honour-all-schemaLocations";
value="true"/>
                        <property
name="http://apache.org/xml/properties/schema/external-schemaLocation";
value="http://schemas.xmlsoap.org/soap/envelope/ filepath...\envelope.xsd
http://www.mynamespace.sgnaus filepath...\mySchema.xsd" />
    </xmlvalidate>
...
but I got the message:

BUILD FAILED
D:\CanooWebTest\JobScripts\BLD_ValidaXML.xml:6: Parser
org.apache.xerces.parsers.SAXParser doesn't recognize feature
http://apache.org/xml/features/honour-all-schemaLocations

Total time: 0 seconds

So, the question that pops up: is a my mistake or some problem in Xerces ?

Please, can anyone help me?
Thanks in advance for any suggestion,
Vito


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to