Interesting. So yeah, i guess an identifier starting with numbers is not 
a valid WFS feature identifier unfortunately. You can file a report but 
all in all you may just be better off renaming the table (or use an 
alias for the feature type name if you are using geoserver or some wfs 
that allows you to alias).

-Justin

Raif S. Naffah wrote:
> hello there,
> 
> i'm using version 2.5.3 of the library to parse a WFS GetFeature 1.0
> response for a feature (from a PostGIS datastore) that has one of its
> columns named a numeric string; e.g. "2000".  when parsing the GML2
> returned (in this instance by GeoServer 1.6.4b) i get a cascade of
> exceptions at the origin of which is:
> 
> ... 26 more
> Caused by: org.xml.sax.SAXParseException: Element or attribute do not
> match QName production: QName::=(NCName':')?NCName.
>       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>       at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
>       at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
>       at 
> org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
>       at
> org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)
> 
> is this a known problem or should i create a JIRA issue?
> 
> 
> TIA + cheers;
> rsn
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Geotools-gt2-users mailing list
> Geotools-gt2-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to