Error parsing XML capabilities
------------------------------
Key: GEOT-2028
URL: http://jira.codehaus.org/browse/GEOT-2028
Project: GeoTools
Issue Type: Bug
Components: data wfs
Affects Versions: 2.6-M0
Reporter: Amr A. Alam
The new code seems to be stumbling on many WFS capabilities documents. (looks
like 50/50 shot of working)
Here's a couple of example links:
http://excise.pyr.ec.gc.ca/cgi-bin/mapserv.exe?map=/LocalApps/Mapsurfer/PYRWQMP.map&service=WFS&version=1.0.0&request=GetCapabilities
http://map.ns.ec.gc.ca/MapServer/mapserv.exe?map=/mapserver/services/envdat/config.map&service=WFS&version=1.0.0&request=GetCapabilities
I'm thinking the Geotools parser needs to be more lenient perhaps?
[Fatal Error] :6:3: The element type "br" must be terminated by the matching
end-tag "</br>".
org.geotools.data.DataSourceException: Error parsing capabilities document
at
org.geotools.data.wfs.WFSDataStoreFactory.parseCapabilities(WFSDataStoreFactory.java:594)
at
org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:303)
at
net.refractions.udig.catalog.internal.wfs.WFSServiceImpl.getDS(Unknown Source)
at
net.refractions.udig.catalog.internal.wfs.WFSServiceImpl.resources(Unknown
Source)
at
net.refractions.udig.catalog.ui.workflow.EndConnectionState.run(Unknown Source)
at
net.refractions.udig.catalog.ui.workflow.Workflow.doNextInternal(Unknown Source)
at net.refractions.udig.catalog.ui.workflow.Workflow.access$6(Unknown
Source)
at net.refractions.udig.catalog.ui.workflow.Workflow$4.run(Unknown
Source)
at net.refractions.udig.catalog.ui.workflow.Workflow.run(Unknown Source)
at net.refractions.udig.catalog.ui.workflow.Workflow.next(Unknown
Source)
at
net.refractions.udig.catalog.ui.workflow.Workflow$WorkflowRunner.runInternal(Unknown
Source)
at
net.refractions.udig.catalog.ui.workflow.Workflow$WorkflowRunner.access$0(Unknown
Source)
at
net.refractions.udig.catalog.ui.workflow.Workflow$WorkflowRunner$1.run(Unknown
Source)
at net.refractions.udig.catalog.ui.workflow.Workflow$2.run(Unknown
Source)
at
net.refractions.udig.catalog.ui.workflow.Workflow$WorkflowThread.run(Unknown
Source)
Caused by: org.xml.sax.SAXParseException: The element type "br" must be
terminated by the matching end-tag "</br>".
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at
org.geotools.data.wfs.WFSDataStoreFactory.parseCapabilities(WFSDataStoreFactory.java:592)
... 14 more
--
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
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel