XML Adapter - Parsing Operation

I want to use a XML schema with the XML Adapter 4.2 to parse a XML file. My XML schema is validated by a XML tool in the the “http://www.w3.org/2001/XMLSchema” namespace

When I want to use this schema in webMethods adapter, I have to change the namespace to
http://www.w3.org/2000/08/XMLSchema” for the adapter to accept it.

Then, when I choose some root elements, I have a java.lang.NullPointer exception.

Any clue, someone ?

Hi,

We faced another problem with XML adapter. We used DTD and the XML was getting validated thru XMLSpy, but the adapter was giving error that it is not valid. On analysing we realised that the xml was not really valid. Though according to dtd it has to have single instance of a node, it had 2 instances of a node. On correcting the xml as per the schema the adapter worked fine.
This need not necessarily be true in your case but I suggest you to manually verify the xml against schema even though it has been validated by any other tool.

Regards,
-Vandana.