Uploaded image for project: 'Commons Digester'
  1. Commons Digester
  2. DIGESTER-90

[digester] xmlrules does not support setNamespaceURI

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6
    • 3.0
    • None
    • Operating System: All
      Platform: All

    • 33895

    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].

      Attachments

        Activity

          simone.tripodi 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

          simone.tripodi 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
          simone.tripodi Simone Tripodi added a comment -

          included in Apache Commons Digester 3.0 release

          simone.tripodi Simone Tripodi added a comment - included in Apache Commons Digester 3.0 release

          People

            simone.tripodi Simone Tripodi
            skitching Simon Kitching
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: