Santuario
  1. Santuario
  2. SANTUARIO-263

Canonicalizer can't handle dynamical created DOM correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Java 1.4.4
    • Fix Version/s: Java 1.4.5, Java 1.5
    • Component/s: Java
    • Security Level: Public (Public issues, viewable by everyone)
    • Labels:
      None

      Description

      The current code expect, that each XML namespace is also stored as attribute - this is not true for elements created by createElementNS.

      For an example, see patch, which processes the same XML two times - one time loaded from a file and one time dynamically created.

      1. correct-dom-handlingV2.patch
        4 kB
        Martin Koegler
      2. correct-dom-handling.patch
        1 kB
        Martin Koegler
      3. demo-dom-ns.patch
        6 kB
        Martin Koegler

        Issue Links

          Activity

          Martin Koegler created issue -
          Martin Koegler made changes -
          Field Original Value New Value
          Attachment demo-dom-ns.patch [ 12468737 ]
          Martin Koegler made changes -
          Attachment correct-dom-handling.patch [ 12468738 ]
          Martin Koegler made changes -
          Attachment correct-dom-handlingV2.patch [ 12468899 ]
          Hide
          Martin Koegler added a comment -

          I missed,that other Canonicalizer also share the same code. The new patch fixes them too.

          Show
          Martin Koegler added a comment - I missed,that other Canonicalizer also share the same code. The new patch fixes them too.
          Mark Thomas made changes -
          Workflow jira [ 12542878 ] Default workflow, editable Closed status [ 12565526 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12565526 ] jira [ 12586434 ]
          Colm O hEigeartaigh made changes -
          Fix Version/s Java 1.4.5 [ 12315957 ]
          Fix Version/s Java 1.5 [ 12315958 ]
          Affects Version/s Java 1.4.4 [ 12315956 ]
          Affects Version/s Java 1.5 [ 12315958 ]
          Colm O hEigeartaigh made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Colm O hEigeartaigh made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Anli Shundi made changes -
          Link This issue is cloned as SANTUARIO-289 [ SANTUARIO-289 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          89d 4h 55m 1 Colm O hEigeartaigh 18/Apr/11 13:20
          Resolved Resolved Closed Closed
          35d 21h 1 Colm O hEigeartaigh 24/May/11 10:20

            People

            • Assignee:
              Colm O hEigeartaigh
              Reporter:
              Martin Koegler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development