Menu

#13 Single Quote is throwing error

2.0
wont-fix
None
2017-08-27
2017-03-27
Ramesh
No

Hi i am using auto pilot foe xquery but it is throwing error.can u look into that,
String str=;"abc' ";
selectXPath("/DATA/ROW[ORG_UOM_NAME='''+str+"');
because of single quote it is throwing error.how to resolve this?
I am waiting for reply

Discussion

  • jimmy zhang

    jimmy zhang - 2017-05-07

    you can't have single quote in an xpath expression...it is syntactically correct!

     
  • jimmy zhang

    jimmy zhang - 2017-08-27

    I am closing this issue... let me know if you need more assistance

     
  • jimmy zhang

    jimmy zhang - 2017-08-27
    • status: open --> wont-fix
    • assigned_to: jimmy zhang
     

Log in to post a comment.

MongoDB Logo MongoDB