Opened 3 years ago

Closed 3 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 Changed 3 years ago by martinl

Milestone: 7.4.07.2.0

comment:2 Changed 3 years ago by annakrat

In 69445:

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

comment:3 Changed 3 years ago by annakrat

In 69446:

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

comment:4 Changed 3 years ago by annakrat

In 69447:

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

comment:5 Changed 3 years ago by annakrat

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