Hi Michael,

Of course! I had forgotten about having to call setNamespaceAware. I've added the call and it works exactly as expected. Thanks for the help.

Peter


Michael Glavassevich wrote:

Hi Peter,

This is happening because the parser you created is not namespace aware. Try setting namespace awareness [1] to true on the factory and it should work.

Thanks.

[1] http://xml.apache.org/xerces2-j/javadocs/api/javax/xml/parsers/DocumentBuilderFactory.html#setNamespaceAware(boolean)


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

Reply via email to