Opened 20 years ago
Closed 19 years ago
#646 closed defect (fixed)
Mapserver outputs invalid GML if layer name starts with number
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 4.4 release |
Component: | WFS Server | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | jmckenna@… |
Description
If a layer name starts with a number, the GML output from something like a getfeature request is invalid GML. Steps to reproduce: 1) Create a WFS layer called "123_test". 2) Execute a getfeature request and view the GML. 3) Look for tag entries of <123_test>. No errors occur, but it is against XML specifications to start a tag with a number.
Change History (5)
comment:1 by , 20 years ago
Cc: | added |
---|
comment:2 by , 20 years ago
Component: | MapServer CGI → WFS Server |
---|---|
Owner: | changed from | to
comment:4 by , 19 years ago
Cc: | added |
---|---|
Owner: | changed from | to
This is similar to bug 486. Send warning in the capabilities wms/wfs document for "invalid" layer names. There are also warning in the gml docuemtn for example for invalid xml tags. I think it should be enough. Valid layer names should be mentionned in the wms/wfs docs (layer names should not start with a digit or have spaces in them). Reassign to Jeff.
comment:5 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
wms and wfs server docs now include a warning about this layer name rule. comitted to cvs.
Note:
See TracTickets
for help on using tickets.