I have an xml file that has the this schema, reference:


When I enable Xpath in a 3.0 xmldoc with:

xmlDoc.setProperty("SelectionLanguage", "XPath")

or if using a 4.0 xmldoc, which uses Xpath by default ??, methods using Xpath references fail.

When the xdr schema reference is deleted from the xml file, methods using Xpath work as expected.

What is going on? Is there a resolution other than deleting the xdr reference?