Commons Digester
  1. Commons Digester
  2. DIGESTER-90

[digester] xmlrules does not support setNamespaceURI

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 3.0
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      It is not possible to set the namespace-uri associated with a Rule instance
      created via xmlrules. This means that it is not possible to process a document
      with namespaces using xmlrules. [well, it might be possible to set
      namespaceAware to false, then include the prefix in the pattern, but that's a
      nasty hack].

        Activity

        Hide
        Simone Tripodi added a comment -

        Fixed on Digester3 /trunk; namespaceURIs can be declared as attribute of digester-rules elements, i.e.

        <digester-rules namespaceURI="http://www.w3.org/2005/Atom">
          <pattern value="feed">
          ...
          </pattern>
        </digester-rules>
        

        see r1139948

        Show
        Simone Tripodi added a comment - Fixed on Digester3 /trunk; namespaceURIs can be declared as attribute of digester-rules elements, i.e. <digester-rules namespaceURI= "http: //www.w3.org/2005/Atom" > <pattern value= "feed" > ... </pattern> </digester-rules> see r1139948
        Hide
        Simone Tripodi added a comment -

        included in Apache Commons Digester 3.0 release

        Show
        Simone Tripodi added a comment - included in Apache Commons Digester 3.0 release

          People

          • Assignee:
            Simone Tripodi
            Reporter:
            Simon Kitching
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development