Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8285081

Improve XPath operators count accuracy

    XMLWordPrintable

Details

    • b26
    • Verified

    Backports

      Description

        The JDK impl for the XPath API and XSLT imposes limits on certain operations. It was observed that the operator count appeared to be inaccurate in certain cases, such as the relational operators, a result of the parsers and compilers for XPath and XSLT XPath being different. The process currently counts an axis and node test once on double colon, however, it needs to be re-examined with the consideration of the abbreviated syntax as a node test can be used alone without the double colon. In most cases, counting once with the double colon would be okay as its one location step and consistent with the abbreviated syntax, but the node tests needs to be checked to see they are preceded with an axis. Also, several other symbols such as double slash need to be in the operator list to be counted as one step.

        Attachments

          Issue Links

            Activity

              People

                joehw Joe Wang
                joehw Joe Wang
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: