Transaction rollback fails using non qualified feature type name
----------------------------------------------------------------
Key: GEOS-1352
URL: http://jira.codehaus.org/browse/GEOS-1352
Project: GeoServer
Issue Type: Improvement
Components: WFS
Affects Versions: 1.6.0-beta3
Reporter: Andrea Aime
Assignee: Justin Deoliveira
Fix For: 1.6.0-beta4
Issuing the following wfs-v rollback request:
{code:xml}
<wfs:Transaction service="WFSV" version="1.1.0"
xmlns:topp="http://www.openplans.org/topp"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml"
xmlns:wfsv="http://www.opengis.net/wfsv"
xmlns:wfs="http://www.opengis.net/wfs"
xsi:schemaLocation="http://www.opengis.net/wfsv
http://localhost:8080/geoserver/schemas/wfs/1.1.0/wfsv.xsd"
handle="Rolling back previous changes">
<wfsv:Rollback safeToIgnore="false" vendorId="TOPP" typeName="archsites" toFeatureVersion="1"/>
</wfs:Transaction>
{code}
the rollback fails with a null pointer exception.
Investigation shows that XSQNameBinding parses "archsites" into a qname whose namespace is
"http://www.opengis.net/wfsv" instead of living it empty. The actual line of code doing that is
"DatatypeConverter.parseQName("archsites", namespaceContext).
That's really jaxb code, so I'm not sure how to handle this one. Yet no prefix has been declared,
thus none should be assumed... or not?
--
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