Hi,
I try to load a GML document in a model but I get the following two
errors in FireBug:
The expression is not a legal expression." code: "51
http://localhost/mapbuilder/lib/util/sarissa/sarissa_ieemu_xpath.js
Line 155
and:
[Exception... "'No namespace URI found for prefix: 'wfs'' when calling
method: [nsIDOMXPathNSResolver::lookupNamespaceURI]" nsresult:
"0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame ::
http://localhost/mapbuilder/lib/util/sarissa/sarissa_ieemu_xpath.js ::
anonymous :: line 155" data: no]
http://localhost/mapbuilder/lib/util/sarissa/sarissa_ieemu_xpath.js
Line 155
For what I understand, it seems to be related with namespaces
declarations in my GML documents. Here is the beginning:
<?xml version="1.0" encoding="utf-8"?>
<wfs:FeatureCollection xmlns="http://www.opengis.net/wfs"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:gml="http://www.opengis.net/gml" xmlns:local="http://localhost"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://localhost
http://localhost:8080/geoserver/wfs/DescribeFeatureType?typeName=local:dgi_bati,local:voipubli
http://www.opengis.net/wfs
http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd">
I'm not really aware of what this header mean, I just copied it from
another GML doc and replaced by localhost where it seemed to be
appropriate...
I also tried to put this namespace property in my model definition with
no success:
<namespace>xmlns:gml='http://www.opengis.net/gml'
xmlns:wfs='http://www.opengis.net/wfs'
xmlns:local='http://localhost'</namespace>
What should I put in this namespace declarations and the related property ?
Gilles
--
Gilles Bassiere
MAKINA CORPUS
30 rue des Jeuneurs
FR-75002 PARIS
+33 (0) 1 44 82 00 80
http://www.makina-corpus.com
begin:vcard
fn;quoted-printable:Gilles Bassi=C3=A8re
n;quoted-printable:Bassi=C3=A8re;Gilles
org:Makina Corpus;GIS
adr;quoted-printable:;;30 rue des Je=C3=BBneurs;Paris;;FR-75011;France
email;internet:[EMAIL PROTECTED]
title:Web GIS developper
tel;work:+33 (0) 1 44 82 00 80
x-mozilla-html:FALSE
url:http://www.makina-corpus.com
version:2.1
end:vcard
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users