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

          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.

            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