Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-1880

StackOverflowError on XPath expression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6
    • None
    • XPath
    • None
    • Operating System: Other
      Platform: Other
    • 29367

    Description

      I have a StackOverflowError when the XPath of my variable test = "aa | bb[not
      (cc/@t='V')]/pp"
      but not if the XPath = "bb[not(cc/@t='V')]/pp | aa"

      -----------------------------
      <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output method = "html" encoding="iso-8859-1" />
      <xsl:template match="/">
      <html>
      <title></title>
      <body>
      <xsl:variable name = "test" select = "aa | bb[not(cc/@t='V')]/pp" />
      </body>
      </html>
      </xsl:template>
      </xsl:stylesheet>
      -------------------
      <aa>
      <bb>
      </bb>
      </aa>
      -------------------

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              arn44fr@yahoo.fr arnaud
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: