WFSClient throws "Element or attribute do not match QName production: 
QName::=(NCName':')?NCName." for some layers.
-------------------------------------------------------------------------------------------------------------------

                 Key: GEOT-3305
                 URL: http://jira.codehaus.org/browse/GEOT-3305
             Project: GeoTools
          Issue Type: Bug
          Components: data wfs
    Affects Versions: 2.7-M3, 2.6.5
            Reporter: Stefan Alfons Tzeggai


A layer that can be viewed without problems in the openlayers preview, 
"116_wgs84_abomey"

http://geonetwork.impetus.uni-koeln.de/geoserver/wms?bbox=1.5663788172453659,6.948981132434544,2.856810581854581,8.049934546995344&styles=&Format=application/openlayers&request=GetMap&layers=gn:116_wgs84_abomey&width=800&height=640&srs=EPSG:4326

Throws an Exception when accessing it with the geotools wfs client. This occurs 
in uDig 1.2.0 as well as AtlasStyler 1.6

The Geoserver is 1.5.3 and I can not change that (not even for testing). Has 
anyone seen this error with newer Geoservers? With other WFS?

Other layers - like "gn:wgs_rivers" - can be imported in uDig and AtlasStyler 
without problems.

Caused by: org.xml.sax.SAXParseException: Element or attribute do not match 
QName production: QName::=(NCName':')?NCName. 
        at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLEntityScanner.scanQName(Unknown Source)
        at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at 
org.geotools.xml.DocumentFactory.getInstance(DocumentFactory.java:140)
        at 
org.geotools.data.wfs.v1_0_0.WFSFeatureReader.run(WFSFeatureReader.java:125)

Any ideas?!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to