Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2155

Failing test cases due to additional attributes from namespace declarations in a DOM from parser, but not from serializer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2
    • None
    • * Cocoon Core
    • None

    Description

      Quoting Joerg:
      "Just an explanation: A namespace declaration is not an attribute (even
      if it looks so) and that's why it should not end as such. The DOM
      produced by Cocoon is absolutely correct, the one by parsing expected
      document in the test case is not since it has both the namespace
      declaration AND an attribute xmlns:fi - which broke our test."
      (http://article.gmane.org/gmane.text.xml.cocoon.devel/75975)

      Also see this: http://article.gmane.org/gmane.text.xml.cocoon.devel/75974

      Attachments

        1. COCOON-2155-cocoon-core.patch
          1 kB
          Grzegorz Kossakowski
        2. COCOON-2155-cocoon-forms-impl.patch
          7 kB
          Grzegorz Kossakowski
        3. COCOON-2155-cocoon-template-impl.patch
          3 kB
          Grzegorz Kossakowski
        4. COCOON-2155-parent-pom.patch
          0.4 kB
          Grzegorz Kossakowski

        Issue Links

          Activity

            People

              Unassigned Unassigned
              grek Grzegorz Kossakowski
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: