Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#60 closed defect (fixed)

php setting "short_open_tag" avoids xml display

Reported by: christoph Owned by: christoph
Priority: minor Milestone: 2.4.2 and older releases
Component: wmc Version: 2.4
Keywords: None Cc: None

Description

in the module

/javascripts/mod_displayWmc.php

the wmc (xml) file is read from the database. It is echoed by PHP. If short_open_tag is on "on", the "<?" of the "<?xml ..." is interpreted as PHP and the files won't display.

Change History (4)

comment:1 by christoph, 17 years ago

Resolution: fixed
Status: newclosed

if short_open_tag is "on", the XML will be displayed as HTML. If "off", a regular XML is displayed. There may be a better solution to this problem.

download

http://trac.osgeo.org/mapbender/browser/trunk/mapbender/http/javascripts/mod_displayWmc.php?format=raw

comment:2 by anonymous, 17 years ago

Cc: None added
Component: coredigitizing
Keywords: None added
Milestone: Support usage of Styled Layer Descriptors (SLD)
Summary: php setting "short_open_tag" avoids xml displayNone
Type: defectrefactoring
Version: 2.4.2 rc12.2

comment:3 by christoph, 17 years ago

Component: digitizingwmc
Milestone: Support usage of Styled Layer Descriptors (SLD)
Summary: Nonephp setting "short_open_tag" avoids xml display
Type: refactoringdefect
Version: 2.22.4

comment:4 by christoph, 17 years ago

Milestone: 2.4.2 and older releases
Note: See TracTickets for help on using tickets.