soaptst0.xml is a sample soap message which has nothing special but standard soap envelope. I was validating it against SOAP1.1 Schema document I got from soap submission to w3c. I was using the sample program came with xerces-1_4_1. i copied the dos window below. If I need to supply soaptst0.xml and SOAP Schema document as well, please let me know. Thanks for looking into this. C:\API_work\xerces-1_4_1\samples>java sax.SAX2Count soaptst0.xml -v -f [Error] soaptst0.xml:7:90: Schema error: ComplexType 'Envelope': Invalid child 'element' in the complex type. [Error] soaptst0.xml:7:90: Schema error: ComplexType 'Header': Invalid child 'any' in the complex type. [Error] soaptst0.xml:7:90: Schema error: ComplexType 'Body': Invalid child 'any' in the complex type. [Error] soaptst0.xml:7:90: Schema error: Attribute 'base' cannot appear in 'simpleType'. [Error] soaptst0.xml:7:90: pattern is unsupported [Error] soaptst0.xml:7:90: No validator for datatype [Error] soaptst0.xml:7:90: Schema error: attribute actor has a type (uri-reference) which is not recognized as one of the predefined schema datatypes. [Error] soaptst0.xml:7:90: Schema error: Attribute 'base' cannot appear in 'simpleType'. [Error] soaptst0.xml:7:90: Schema error: Attribute 'derivedBy' cannot appear in 'simpleType'. [Error] soaptst0.xml:7:90: Content (annotation?,..) is incorrect for type encodingStyle [Error] soaptst0.xml:7:90: Content (annotation?,..) is incorrect for type encodingStyle [Error] soaptst0.xml:7:90: Schema error: attribute encodingStyle has an unrecognized type tns:encodi ngStyle. [Error] soaptst0.xml:7:90: Schema error: ComplexType 'Fault': Invalid child 'element' in the complex type. [Error] soaptst0.xml:7:90: Schema error: ComplexType 'detail': Invalid child 'any' in the complex type. [Error] soaptst0.xml:7:90: Attribute "SOAP-ENV:encodingStyle" must be declared for element type "SOAP-ENV:Envelope". soaptst0.xml: 1722 ms (3 elems, 2 attrs, 0 spaces, 15 chars)