Details

      Description

      The XMLEqualityChecker is too strict wrt to whitespace checking. For example, this 2 documents are considered different:

      <date xsi:type="xs:date">
      2003-11-24
      </date>

      <date xsi:type="xs:date">2003-11-24</date>

      when, from the validation point of view, they are the same.

        Activity

        Show
        Kelvin Goodson added a comment - An alternative to using another tool is the approach adopted in commit http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/test/java/org/apache/tuscany/sdo/test/DupElementTestCase.java?view=markup&pathrev=586476
        Hide
        Lionel Villard added a comment -

        FYI, it exists an open source tool for comparing XML files: http://xmlunit.sourceforge.net/

        I haven't tried it.

        Show
        Lionel Villard added a comment - FYI, it exists an open source tool for comparing XML files: http://xmlunit.sourceforge.net/ I haven't tried it.

          People

          • Assignee:
            Unassigned
            Reporter:
            Lionel Villard
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development