Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-877

Add yang-model-api model of an XPath expression

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 2.0.10
    • parser
    • None

    Description

      Current RevisionAwareXPath is quite deficient in expressing the XPath stored therein. More specifically it requires anyone attempting to use it infer the prefix/namespace mapping and then parse the expression itself.

      Instead of going through these hoops, we really should have an object model of the expression, similar to org.jaxen.expr.Expr, which would act as an intermediate representation format, where all prefixes would already be properly resolved so that we are dealing with QNames instead of prefix+localnames.

      The parser should also bind function invocations for YANG-defined functions, so that their arguments are resolved to proper types.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: