Menu

#8 error loading config file with a wms layer

open
nobody
5
2005-06-12
2005-06-12
Anonymous
No

Hello,
first of all: greeeaaat software!!

using the current cvs version will throw an exception
when loading a config file containing a wms layer. This
is caused by the double item "DataSourceName" within
the Tag "OGCWebServiceDataSource". Here is an
example:

<OGCWebServiceDataSource
DataSourceName="OGC+Web+Service" Cached="true"
DataSourceName="OGC+Web+Service"
URLBase="http%3A%2F%2Flocalhost%2Fcgi-bin%
2Fmapserv.exe%3Fmap%3DI%3A%2FApache2%
2Fhtdocs%2Fndsmap%2Fexpedia201450.map%26">

An here is the execption of the sax-parser:
org.xml.sax.SAXParseException:
Attribut "DataSourceName" ist in diesem Tag bereits
aufgetreten.
at org.apache.crimson.parser.Parser2.fatal
(Parser2.java:3182)
at org.apache.crimson.parser.Parser2.fatal
(Parser2.java:3176)
at
org.apache.crimson.parser.Parser2.maybeElement
(Parser2.java:1387)....

As you can see, the wms-source is served by UMN-
Mapserver (is this the problem?).

Greetings!

Andreas von der Heide
vdheide@ngi.de

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.