| View previous topic :: View next topic |
| Author |
Message |
olivier
Joined: 16 Feb 2009 Posts: 4
|
Posted: Thu Oct 29, 2009 2:58 pm Post subject: Several spaces inside gml:pos and gml:posList allowed ? |
|
|
Hi,
I'm currently working on a GML Parser (for PostGIS), and i have this question:
"Is it allowed to use several spaces between coords inside gml:pos or gml:posList ?"
These example validate against GML 3.1.1 Schema (using xmllint)
but i did'nt find any additional information in GML 3.1.1 specification.
| Code: | <?xml version="1.0"?>
<gml:LineString xmlns:gml="http://www.opengis.net/gml">
<gml:posList srsDimension="2">1 2 3
4 </gml:posList>
</gml:LineString> |
Tks in advance, _________________ Olivier COURTIN
TinyOWS: http://www.tinyows.org |
|
| Back to top |
|
 |
creed
Joined: 06 Nov 2003 Posts: 579 Location: Colorado
|
Posted: Sun Nov 01, 2009 9:59 am Post subject: |
|
|
I believe that this is fine but I will double check.
Regards _________________ Carl Reed, PhD |
|
| Back to top |
|
 |
creed
Joined: 06 Nov 2003 Posts: 579 Location: Colorado
|
Posted: Mon Nov 09, 2009 12:12 pm Post subject: |
|
|
The clarification:
The requirement is for the items to be separated by whitespace.
According to the XML Schema specification for 'list' types, there is no
limit on how much whitespace - it is collapsed by a schema aware processor
to one whitespace during processing.
Regards
Carl _________________ Carl Reed, PhD |
|
| Back to top |
|
 |
|