Ticket #2672 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Template output change in 5.2 beta 3

Reported by: jimk Assigned to: sdlime
Priority: normal Milestone: 5.2 release
Component: MapServer CGI Version: svn-trunk (development)
Severity: normal Keywords: Templates
Cc:

Description

I found another difference between 5.2 beta2 and 5.2 beta 3 that is causing me some heartburn.

It appears beta3 is inserting an extra newline at the begining of the responses from mode=nquery (and possibly other query modes). We are using this to return XML documents to the browser.

5.2 beta 2 returns:
<?xml version="1.0"?>
.......


5.2 beta 3 returns:

<?xml version="1.0"?>
..........

The latter is rejected as invalid XML by the browser.

Attachments

example.tar.gz (0.7 kB) - added by jimk on 07/01/08 14:57:20.
Minimal example files to reproduce problem.

Change History

07/01/08 14:17:37 changed by sdlime

  • status changed from new to assigned.
  • milestone set to 5.2 release.

What does your templating look like? (sample layer defn and template would help)

Steve

07/01/08 14:57:20 changed by jimk

  • attachment example.tar.gz added.

Minimal example files to reproduce problem.

07/02/08 01:02:15 changed by sdlime

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in r7767. Nice catch...

Steve