Menu

#196 Cannot evaluate XPath

Bugs
closed
nobody
XPath (2)
3
2013-12-12
2013-03-19
colemar41
No

Load attached file in XML Copy Editor 1.2.0.9 (Windows) and 1.2.0.6 (Ubuntu).
Hit F9 or choose XML/Evaluate XPath, enter /productcatalog:ProductCatalog/Products/products/productNumber

Result: Cannot evaluate XPath.

Note: xml document is well formed and the particular XPath is legitimate (nothing fancy).

1 Attachments

Discussion

  • Bernhard Wagner

    Bernhard Wagner - 2013-09-20

    xpath expression needs to handle namespace properly, e.g.

    /*[local-name()="ProductCatalog"]/Products/products/productNumber

     
  • Zane U. Ji

    Zane U. Ji - 2013-10-23
    • status: open --> closed
     
  • Zane U. Ji

    Zane U. Ji - 2013-10-23

    Thanks for the workaround, Bernhard!

     

Log in to post a comment.