Opened 16 years ago

Closed 16 years ago

#2672 closed defect (fixed)

Template output change in 5.2 beta 3

Reported by: jimk Owned by: 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 (1)

example.tar.gz (725 bytes ) - added by jimk 16 years ago.
Minimal example files to reproduce problem.

Download all attachments as: .zip

Change History (3)

comment:1 by sdlime, 16 years ago

Milestone: 5.2 release
Status: newassigned

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

Steve

by jimk, 16 years ago

Attachment: example.tar.gz added

Minimal example files to reproduce problem.

comment:2 by sdlime, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r7767. Nice catch...

Steve

Note: See TracTickets for help on using tickets.