Handle attribute Common XML attributes .1 Version

OpenGIS © Specification OGC 04-094 Copyright © Open Geospatial Consortium, Inc 2005 25 8.2 Request A DescribeFeatureType element contains zero or more TypeName elements that encode the names of feature types that are to be described. If the content of the DescribeFeatureType element is empty, then that shall be interpreted as requesting a description of all feature types that a WFS can service. The following XML Schema fragment defines the XML encoding of a DescribeFeatureType request: xsd:element name=DescribeFeatureType type=wfs:DescribeFeatureTypeType xsd:complexType name=DescribeFeatureTypeType xsd:complexContent xsd:extension base=wfs:BaseRequestType xsd:sequence xsd:element name=TypeName type=xsd:QName minOccurs=0 maxOccurs=unbounded xsd:sequence xsd:attribute name=outputFormat type=xsd:string use=optional default=textxml; subtype=gml3.1.1 xsd:extension xsd:complexContent xsd:complexType The outputFormat attribute is used to indicate the schema description language that should be used to generate the description of feature types. The default value of textxml; subtype=gml3.1.1 is used to indicate that a GML3 application schema, using XML Schema, should be generated. Other schema languages may also be used to describe feature types as long as the MIME type value for the outputFormat attribute is advertised in the capabilities document. Table 2a defines other values for the outputFormat attribute that may be specified for backward compatibility with version 1.0 of this specification: Table 2a – Values for the outputFormat attribute outputFormat Value Description XMLSCHEMA This value is kept for backward compatability and is used to indicate that a GML2 application schema should be generated in response to a DescribeFeatureType request. textxml; subtype=gml2.1.2 Same as XMLSCHEMA textxml; subtype=gml3.1.1 This values indicates that a GML3 application schema, using XML Schema, should be generated in response to a DescribeFeatureType request. This is the default values for the outputFormat attribute in the event that it is not specified. As specified by GML [2], the feature schema definition is entirely at the discretion of the particular WFS implementation that is describing its feature types. The only caveats are: 1. Feature geometry must be expressed using the GML geometry description. gml.xsd. 2. Spatial Reference Systems must be expressed as defined in the OpenGIS  Geography Markup Language GML Implementation Specification, version 3.1 [2].