100
Copyright © 2010 Open Geospatial Consortium
7.11 that shall include the rid attribute whose value is the feature identifier of the newly created version of the feature and the oldRid attribute whose value shall be the identifier of previous version.
In addition, the wfs:Feature elements shall be presented in the order in which the update actions were encountered in the wfs:Transaction element.
Additionally, wfs:Feature elements may be correlated to update actions using the handle attribute. If a value was specified for the handle attribute on an wfs:Update element that updated a feature, that same handle
value may be specified as the value of the handle attribute on the wfs:Feature element to indicate which update action change which feature.
15.3.6 ReplaceResults element
If a transaction request contains replace actions and the server supports versioning, then the wfs:ReplaceResults element shall be specified in the transaction response to report which features have been
replaced and what their new identifiers are.
The wfs:ReplaceResults element contains one or more wfs:Feature elements that indicate the new feature identifiers of the replaced feature instances. One wfs:Feature element shall be reported for each replaced
feature instance. Each wfs:Feature element shall contain a fes:ResourceId element see ISO 19143:2010, 7.11 that shall include the rid attribute whose value is the feature identifier of the newly created version of the
feature and the oldRid attribute whose value shall be the identifier of previous version.
In addition, the wfs:Feature elements shall be presented in the order in which the replace actions were encountered in the wfs:Transaction element.
Additionally, wfs:Feature elements may be correlated to replace actions using the handle attribute. If a value was specified for the handle attribute on a wfs:Replace element that replaced a feature, that same handle
value may be specified as the value of the handle attribute on the wfs:Feature element to indicate which replace action replaced which feature instance.
15.4 Exceptions
In the event that a web feature service encounters an error parsing a Transaction request, it shall raise a OperationParsingFailed exception as described in 7.5.
If a web feature service encounters an error while processing a particular action contained in a Transaction request, then the service shall raise an OperationProcessingFailed exception as described in 7.5.
Copyright © 2010 Open Geospatial Consortium
101
Annex A normative
Conformance testing
A.1 Conformance classes
A.1.1 Simple WFS
a Test Purpose: Verify that the server implements the Simple WFS conformance class. b Test Method: Submit requests to the server and verify the following: the capabilities document that the
server generates includes the operations GetCapabilities, DescribeFeatureType, ListStoredQueries, DescribeStoredQueries and GetFeature operation with the stored query GetFeatureById; verify that the
response to a DescribeFeatureType request is always a complete application schema; verify A.2.22.4; verify that the service supports at least one service binding see Annex B. Verify the following list of
conformance tests: A.2.2, A.2.3, A.2.4, A.2.5, A.2.6.1 andor A.2.6.2, A.2.7.1 andor A.2.7.2, A.2.8.1, A.2.9, A.2.14, A.2.15, A.2.16, A.2.17, A.2.19.1, A.2.19.2.1, A.2.21, A.2.22.4. Verify that conformance test
ISO19143:2010, A.1 is satisfied. Verify that conformance tests ISO 19136:2007 A.1.1, A.1.4, A.1.5, A.1.7, B.3, B.5 and B.2.3 are satisfied.
c References: 7.9.3.6, Clauses 8, 9, 10 and 11 wfs:StoredQuery action only, 14.3, 14.4 d Test Type: Capability
A.1.2 Basic WFS
a Test Purpose: Verify that the server implements the Basic WFS conformance class. b Test Method: Verify that the server implements the Simple WFS conformance class. Verify in the
capabilities document that the server includes the operations GetPropertyValue and GetFeature. Verify the operation of the GetPropertyValue and GetFeature operation with the stored query action. Verify that
the server implements at least the Minimum Spatial Filter conformance class for ISO 19143. Verify the following list of conformance tests: A.2.2, A.2.7, A.2.8.1, A.2.11.2, A.2.12, A.2.13, A.2.19, A.2.20.1,
A.2.20.2, A.2.22. For test A.2.23 verify that the value of the constraint ImplementsBasicWFS is set to TRUE. Verify that conformance tests ISO 19143:2001, A.2, A,4, A.5, A.6, A.7, A.12 and A.14 are satisfied.
Verify that conformance test ISO 19136:2007, B.4 is satisfied.
c References: Clauses 10 and 11 wfs:Query and wfs:StoredQuery actions d Test Type: Capability
A.1.3 Transactional WFS
a Test Purpose: Verify that the server implements the Transactional WFS conformance class. b Test Method: Verify that the server implements the Basic WFS conformance class. Verify in the
capabilities document that the server includes the Transaction operation. Verify the operation of the Transaction operation. Verify the following list of conformance tests: A.2.2, A.2.8.2, A.2.10, A.2.11.1,
A.2.18. For test A.2.23 verify that the value of the constraint ImplementsTransactionalWFS is set to TRUE.
c References: Clause 15