Opened 16 years ago

Closed 16 years ago

#2776 closed defect (fixed)

SOS GetCapabilities output differs

Reported by: tomkralidis Owned by: tomkralidis
Priority: normal Milestone: 5.4 release
Component: msautotest Version: svn-trunk (development)
Severity: normal Keywords: sos getcapabilities
Cc: nsavard

Description

Running msautotest on sos.map yields different results on different platforms.

On fc7, all GetCapabilities tests are successful on Ubuntu 8.04.1, all GetCapabilities tests fail.

The main difference is that the ows:ServiceIdentification tag appears on the same line as the root element, which causes error (in msautotest/wxs/expected/ sos XML, the sos:ServiceIdentication tag appears on a newline after the root element).

The latter is expected. Thus it fails the diff and results are inconsistent.

Change History (1)

comment:1 by tomkralidis, 16 years ago

Keywords: sos getcapabilities added
Resolution: fixed
Status: newclosed

(Norm: please provide details as you wish).

Norm and I tested this back and forth on our various systems.

Deeper testing on Ubuntu showed that the issue was libxml2 related, not an OS platform thing.

Successful tests were run against MapServer built with libxml2 2.6.31.

Unsuccessful tests were resulting from MapServer (in fgs) built with libxml2 2.6.19.

When upgrading the build to 2.6.31, the issue has gone away.

So it's a libxml2 thing.

This issue will only occur when msautotest runs against MapServer built with an older libxml2. This issue does not affect output, XML well-formedness or validity, or performance.

I'm going to mark this solved, and recommend Norm file an fgs ticket to update the package with libxml2 2.6.31.

We solved this issue before filing this ticket, however wanted to have this on file.

Thanks much to Norm for access to a Ubuntu for for quick testing.

Note: See TracTickets for help on using tickets.