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

[digester] [PATCH] NodeCreateRule does not correctly handle namespaced attributes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      36773

      Description

      Attributes within namespaces do not have their prefix preserved within the
      NodeCreateRule when Digester is namespace aware. This is because
      element.setAttributeNS is called with the incorrect parameters. Fixed by
      passing in URI, QualifiedName and Value instead of URI, LocalName and Value.

      -Changed NodeCreateRule.begin to call setAttributeNS with qualified name
      -added junit test NodeCreateRuleTestCase.testNamespacedAttribute
      -added test xml file: Test10.xml

      Attachment patch in cvs universal diff format.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kzettel@spheris.com Kurt Zettel II
            • Votes:
              3 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: