Hi,
I can't create the following StoredQuery :
<wfs:CreateStoredQuery service="WFS" version="2.0.0"
xmlns:wfs="http://www.opengis.net/wfs/2.0"
xmlns:fes="http://www.opengis.net/fes/2.0"
xmlns:myNs="http://myNs/">
<wfs:StoredQueryDefinition id="mySQ">
<wfs:Title> </wfs:Title>
<wfs:Abstract> </wfs:Abstract>
<wfs:QueryExpressionText returnFeatureTypes="myNs:one myNs:two"
language="urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression">
<wfs:Query typeNames="myNs:one" />
<wfs:Query typeNames="myNs:two" />
</wfs:QueryExpressionText>
</wfs:StoredQueryDefinition>
</wfs:CreateStoredQuery>
The following error occurs :
<ows:ExceptionReport version="2.0.0"
xsi:schemaLocation="http://www.opengis.net/ows/1.1
http://127.0.0.1:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd"
xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<ows:Exception exceptionCode="OperationProcessingFailed"
locator="CreateStoredQuery">
<ows:ExceptionText>Error validating stored query
org.xml.sax.SAXParseException;...; The markup in the document following the
root element must be well-formed.
The markup in the document following the root element must be
well-formed.</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
However, if I try to create a StoredQuery with only one "<wfs:Query>"
element, it works.
So, how to create a StoredQuery with multiple "<wfs:Query>" elements ?
Kind regards,
RudyWI
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users