GeoTools
  1. GeoTools
  2. GEOT-222

The old GML parser is not passing it's tests

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.M0
    • Fix Version/s: 2.1.1
    • Component/s: main
    • Labels:
      None
    • Environment:
      Fedora 1.0, (2.5ghtz + 1Gb Ram)

      Description

      Testcase: testGMLDataSource took 0.075 sec
      FAILED
      expected:<... infact so much that it goes over...> but was:<...
      infact so much that it goes over
      ...>
      junit.framework.ComparisonFailure: expected:<... infact so much that it goes over...> but was:<...
      infact so much that it goes over
      ...>
      at org.geotools.gml.GmlTest.testGMLDataSource(GmlTest.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      Appears to be the characters method is not logging whitespace correctly. Sax uses different buffering algorithms based on memory size / load ... so think I might have found another instance of this. Chris Holmes said he's fixed it once already, so assigning it to him.

        Activity

        Hide
        James Macgill added a comment -
        As all unit tests currently pass can I close this? Or were the offending tests removed/skipped?
        Show
        James Macgill added a comment - As all unit tests currently pass can I close this? Or were the offending tests removed/skipped?

          People

          • Assignee:
            Chris Holmes
            Reporter:
            David Zwiers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: