php setting "short_open_tag" avoids xml display
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)
Resolution: |
→ fixed
|
Status: |
new → closed
|
Cc: |
None added
|
Component: |
core → digitizing
|
Keywords: |
None added
|
Milestone: |
→ Support usage of Styled Layer Descriptors (SLD)
|
Summary: |
php setting "short_open_tag" avoids xml display → None
|
Type: |
defect → refactoring
|
Version: |
2.4.2 rc1 → 2.2
|
Component: |
digitizing → wmc
|
Milestone: |
Support usage of Styled Layer Descriptors (SLD)
|
Summary: |
None → php setting "short_open_tag" avoids xml display
|
Type: |
refactoring → defect
|
Version: |
2.2 → 2.4
|
Milestone: |
→ 2.4.2 and older releases
|
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