XPath in Oxygen will not parse a document with a shema
Posted: Mon Sep 10, 2007 10:37 pm
In my XML document the parser for XPath version 1.0 i.e. Sax6.5.5 works fine if your root document has this type of format:
<odva_cip_output_root>
However as soon as you add a schema and a namespace to this the XPath ceases to parse or find correct XML tags at all!
<odva_cip_output_root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.odva.org/schemas/ODVAcip.xsd"
xsi:schemaLocation="http://www.odva.org/schemas/ODVAcip ODVAoutput.xsd">
I need XPath and the parser for transformations to work with a schema and name space defined. Any ideas what is going on?
Regards,
Freemon
<odva_cip_output_root>
However as soon as you add a schema and a namespace to this the XPath ceases to parse or find correct XML tags at all!
<odva_cip_output_root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.odva.org/schemas/ODVAcip.xsd"
xsi:schemaLocation="http://www.odva.org/schemas/ODVAcip ODVAoutput.xsd">
I need XPath and the parser for transformations to work with a schema and name space defined. Any ideas what is going on?
Regards,
Freemon