releaseAction parameter Parameter discussions .1 Locking

94 Copyright © 2010 Open Geospatial Consortium

15.2.4.2 Standard input parameters

See 7.6.5 for a description of the standard input parameters. 15.2.5 Update action 15.2.5.1 XML encoding The following XML Schema fragment declares the wfs:Update element: xsd:element name=Update type=wfs:UpdateType substitutionGroup=wfs:AbstractTransactionAction xsd:complexType name=UpdateType xsd:complexContent xsd:extension base=wfs:AbstractTransactionActionType xsd:sequence xsd:element ref=wfs:Property maxOccurs=unbounded xsd:element ref=fes:Filter minOccurs=0 xsd:sequence xsd:attribute name=typeName type=xsd:QName use=required xsd:attributeGroup ref=wfs:StandardInputParameters xsd:extension xsd:complexContent xsd:complexType xsd:element name=Property type=wfs:PropertyType xsd:complexType name=PropertyType xsd:sequence xsd:element name=ValueReference xsd:complexType xsd:simpleContent xsd:extension base=xsd:string xsd:attribute name=action type=wfs:UpdateActionType default=replace xsd:extension xsd:simpleContent xsd:complexType xsd:element xsd:element name=Value minOccurs=0 xsd:sequence xsd:complexType xsd:simpleType name=UpdateActionType xsd:restriction base=xsd:string xsd:enumeration value=insertBefore xsd:enumeration value=insertAfter xsd:enumeration value=remove xsd:enumeration value=replace xsd:restriction xsd:simpleType The wfs:Update element contains one or more wfs:Property elements that describe a value change to be made to one of the properties of the explicitly named feature type. Multiple wfs:Update elements may be contained in a single wfs:Transaction request so that multiple changes can be made to features of the same or different types. 15.2.5.2 Parameter discussions 15.2.5.2.1 Property element The wfs:Property element contains two child elements; the wfs:ValueReference element and the optional wfs:Value element. The wfs:Value element shall either contain the replacement value for the node pointed to by the wfs:ValueReference element or shall have no content indicating that the referenced node shall be assigned a NULL value. If, according to the schema of the feature type, the referenced node is not allowed to have a NULL value, the server shall raise an InvalidValue exception see 7.5. The wfs:ValueReference element shall contain a path expression that points to a feature property or a child node of a feature property to be modified. The first step of the path expression shall be a valid property name