Ticket #4117 (closed defect: fixed)
GML Driver writes illegal control characters but can't read them.
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | normal | Keywords: | gml xml |
| Cc: | chaitanya, rouault |
Description
The GML driver will write control characters like 0xB (vertical scroll) but it cannot read them - at least with Xerces due to an error like:
ERROR 1: XML Parsing Error: invalid character 0xB
A review of the XML specification http://www.w3.org/TR/2008/REC-xml-20081126/#charsets seems to support the contention of the Xerces library FAQ that most control characters are not legal in XML. In particular the only characters allowed below 0x20 are 0x9, 0xA and 0xD.
Change History
Note: See
TracTickets for help on using
tickets.
