org.apache.xpath.domapi.XPathStylesheetDOM3Exception: Prefix must resolve to a namespace: ff:kk

Stack Overflow | chris.shi | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    namespace and xpath

    Stack Overflow | 4 years ago | chris.shi
    org.apache.xpath.domapi.XPathStylesheetDOM3Exception: Prefix must resolve to a namespace: ff:kk

    Root Cause Analysis

    1. org.apache.xpath.domapi.XPathStylesheetDOM3Exception

      Prefix must resolve to a namespace: ff:kk

      at org.apache.xpath.compiler.XPathParser.errorForDOM3()
    2. Xalan Java
      XPath.<init>
      1. org.apache.xpath.compiler.XPathParser.errorForDOM3(XPathParser.java:655)
      2. org.apache.xpath.compiler.Lexer.mapNSTokens(Lexer.java:647)
      3. org.apache.xpath.compiler.Lexer.tokenize(Lexer.java:365)
      4. org.apache.xpath.compiler.Lexer.tokenize(Lexer.java:98)
      5. org.apache.xpath.compiler.XPathParser.initXPath(XPathParser.java:112)
      6. org.apache.xpath.XPath.<init>(XPath.java:178)
      6 frames
    3. Apache XML Security for Java
      Reference.getContentsAfterTransformation
      1. org.apache.xml.security.utils.XalanXPathAPI.createXPath(XalanXPathAPI.java:159)
      2. org.apache.xml.security.utils.XalanXPathAPI.eval(XalanXPathAPI.java:134)
      3. org.apache.xml.security.utils.XalanXPathAPI.selectNodeList(XalanXPathAPI.java:82)
      4. org.apache.xml.security.transforms.implementations.TransformXPath2Filter.enginePerformTransform(TransformXPath2Filter.java:117)
      5. org.apache.xml.security.transforms.implementations.TransformXPath2Filter.enginePerformTransform(TransformXPath2Filter.java:138)
      6. org.apache.xml.security.transforms.Transform.performTransform(Transform.java:304)
      7. org.apache.xml.security.transforms.Transforms.performTransforms(Transforms.java:277)
      8. org.apache.xml.security.signature.Reference.getContentsAfterTransformation(Reference.java:448)
      8 frames