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

        Simon Kitching created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 33895 12342099
        Henri Yandell made changes -
        Affects Version/s 1.6 Final [ 12311666 ]
        Component/s Digester [ 12311111 ]
        Key COM-1947 DIGESTER-90
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Project Commons [ 12310458 ] Commons Digester [ 12310471 ]
        Henri Yandell made changes -
        Affects Version/s 1.6 Final [ 12311712 ]
        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
        Simone Tripodi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Simone Tripodi [ simone.tripodi ]
        Fix Version/s 3.0 [ 12316679 ]
        Resolution Fixed [ 1 ]
        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
        Simone Tripodi made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2301d 3h 2m 1 Simone Tripodi 26/Jun/11 23:02
        Resolved Resolved Closed Closed
        9d 13h 51m 1 Simone Tripodi 06/Jul/11 12:53

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development