Opened 8 years ago

Closed 8 years ago

#3147 closed defect (fixed)

d.wms entry in workspace file is not well formed

Reported by: kuszinger Owned by: grass-dev@…
Priority: normal Milestone: 7.0.5
Component: Default Version: svn-trunk
Keywords: workspace, xml Cc:
CPU: Unspecified Platform: Unspecified

Description

Workspace file are XML files and standalone & character is bad. With strict xml parsers it raises error.

In URL parameter, & should be & or ѐ

workspace file exmaple line:

[...]
<parameter name="url">
    <value>http://irs.gis-lab.info/?layers=landsat&</value>
</parameter>
[...]

xml parser error example:

xml.parsers.expat.ExpatError: not well-formed (invalid
token)

Change History (5)

comment:1 by martinl, 8 years ago

Milestone: 7.4.07.2.0

comment:2 by annakrat, 8 years ago

In 69445:

wxGUI: escape ampersand when writing d.wms into workspace, see #3147

comment:3 by annakrat, 8 years ago

In 69446:

wxGUI: escape ampersand when writing d.wms into workspace, see #3147 (merge from trunk, r69445)

comment:4 by annakrat, 8 years ago

In 69447:

wxGUI: escape ampersand when writing d.wms into workspace, see #3147 (merge from trunk, r69445)

comment:5 by annakrat, 8 years ago

Milestone: 7.2.07.0.5
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.