Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-15
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GEOS-15
Summary: TransactionFeatureHandler treats xsi:schemaLocation attributes as feature attributes
Type: Bug
Status: Open
Priority: Minor
Original Estimate: 30 minutes
Time Spent: Unknown
Remaining: 30 minutes
Project: GeoServer
Components:
WFS
Assignee: Chris Holmes
Reporter: Simon Räss
Created: Thu, 11 Dec 2003 10:02 AM
Updated: Thu, 11 Dec 2003 10:02 AM
Environment: does not apply
Description:
A TransactionFeatureHandler treats the xsi:schemaLocation attribute as an attribute of the feature, that is a feature will have an attribute of name schemaLocation (in namespace xsi). The following fragment shows the problem:
<tb:RQS_POINT xsi:schemaLocation="http://www.someserver.com/tb
http://www.someserver.com/wfs/cwwfs.cgi?request=DESCRIBEFEATURETYPE
http://www.opengis.net/wfs
http:///schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd">
<tb:GEOM>
<gml:Point xmlns:gml="http://www.opengis.net/gml">
<gml:coordinates>202238.869,604600.558,578.672</gml:coordinates>
</gml:Point>
</tb:GEOM>
</tb:RQS_POINT>
This is a bit special, because these attributes are not usually found on a feature element. Most often xsi:schemaLocation is added on the root element. But according to xml schema specification (XML Schema Specification Part 1, section 4.3.2) it may occur on any element, not just the root element.
In TransactionFeatureHandler only xml attributes of certain namespaces should be added as attributes to the feature.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira