org.dom4j.InvalidXPathException: Invalid XPath expression: /ns:s:Envelope/ns:s:Body/ns:CreateResponse/ns:CustomerId Unexpected ':'

Stack Overflow | Alter Hu | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    DOM4J xpath-select colon node with namespace

    Stack Overflow | 6 months ago | Alter Hu
    org.dom4j.InvalidXPathException: Invalid XPath expression: /ns:s:Envelope/ns:s:Body/ns:CreateResponse/ns:CustomerId Unexpected ':'
  2. 0

    Re: XTAGS Problems with node names that begin with a leading underscore

    tomcat-taglibs-user | 10 years ago | dean allen
    org.dom4j.InvalidXPathException: Invalid XPath expression: '//_page'. Caused by: org.jaxen.dom4j.DocumentNavigator.getInstance()Lorg/jaxen/Navigator;

    Root Cause Analysis

    1. org.dom4j.InvalidXPathException

      Invalid XPath expression: /ns:s:Envelope/ns:s:Body/ns:CreateResponse/ns:CustomerId Unexpected ':'

      at org.dom4j.xpath.DefaultXPath.parse()
    2. dom4j
      DefaultXPath.<init>
      1. org.dom4j.xpath.DefaultXPath.parse(DefaultXPath.java:360)
      2. org.dom4j.xpath.DefaultXPath.<init>(DefaultXPath.java:59)
      2 frames
    3. com.github.becauseQA
      DOM4JUtils.getNodes
      1. com.github.becauseQA.xml.DOM4JUtils.getNodes(DOM4JUtils.java:152)
      1 frame