XML Schema "basicTypes.xsd"
Target Namespace:
Version:
3.2.1.2
Defined Components:
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
http://schemas.opengis.net/gml/3.2.1/basicTypes.xsd; see XML source
Includes Schemas (1):
Included in Schemas (1):
Annotation
See ISO/DIS 19136 8.2. W3C XML Schema provides a set of built-in "simple" types which define methods for representing values as literals without internal markup. These are described in W3C XML Schema Part 2:2001. Because GML is an XML encoding in which instances are described using XML Schema, these simple types shall be used as far as possible and practical for the representation of data types. W3C XML Schema also provides methods for defining - new simple types by restriction and combination of the built-in types, and - complex types, with simple content, but which also have XML attributes. In many places where a suitable built-in simple type is not available, simple content types derived using the XML Schema mechanisms are used for the representation of data types in GML. A set of these simple content types that are required by several GML components are defined in the basicTypes schema, as well as some elements based on them. These are primarily based around components needed to record amounts, counts, flags and terms, together with support for exceptions or null values. GML is an OGC Standard. Copyright (c) 2007,2010 Open Geospatial Consortium. To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
Complex Type Summary
gml:CodeListType provides for lists of terms.
Content:
simple, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
never
gml:CodeOrNilReasonListType provides for lists of terms.
Content:
simple, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
gml:CodeType is a generalized type to be used for a term, keyword or name.
Content:
simple, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
at 19 locations
gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance.
Content:
simple, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
This type is deprecated for tuples with ordinate values that are numbers.
Content:
simple, 3 attributes
Defined:
globally; see XML source
Includes:
definitions of 3 attributes
Used:
gml:MeasureListType provides for a list of quantities.
Content:
simple, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
gml:MeasureOrNilReasonListType provides for a list of quantities.
Content:
simple, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
gml:MeasureType supports recording an amount encoded as a value of XML Schema double, together with a units of measure indicated by an attribute uom, short for "units Of measure".
Content:
simple, 1 attribute
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
at 23 locations
Simple Type Summary
A type for a list of values of the respective simple type.
Defined:
globally; see XML source
Used:
never
Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.
Defined:
globally; see XML source
Used:
A type for a list of values of the respective simple type.
Defined:
globally; see XML source
Used:
A type for a list of values of the respective simple type.
Defined:
globally; see XML source
Used:
Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.
Defined:
globally; see XML source
Used:
A type for a list of values of the respective simple type.
Defined:
globally; see XML source
Used:
A type for a list of values of the respective simple type.
Defined:
globally; see XML source
Used:
Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.
Defined:
globally; see XML source
Used:
A type for a list of values of the respective simple type.
Defined:
globally; see XML source
Used:
A type for a list of values of the respective simple type.
Defined:
globally; see XML source
Used:
Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.
Defined:
globally; see XML source
Used:
A type for a list of values of the respective simple type.
Defined:
globally; see XML source
Used:
A type for a list of values of the respective simple type.
Defined:
globally; see XML source
Used:
Defined:
globally; see XML source
Used:
gml:NilReasonType defines a content model that allows recording of an explanation for a void value or other exception. gml:NilReasonType is a union of the following enumerated values: - inapplicable there is no value - missing the correct value is not readily available to the sender of this data.
Defined:
globally; see XML source
Used:
A type for a list of values of the respective simple type.
Defined:
globally; see XML source
Used:
never
gml:SignType is a convenience type with values "+" (plus) and "-" (minus).
Defined:
globally; see XML source
Used:
Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.
Defined:
globally; see XML source
Used:
never
The simple type gml:UomIdentifer defines the syntax and value space of the unit of measure identifier.
Defined:
globally; see XML source
Used:
This type specifies a character string of length at least one, and restricted such that it must not contain any of the following characters: ":" (colon), " " (space), (newline), (carriage return), (tab).
Defined:
globally; see XML source
Used:
This type specifies a URI, restricted such that it must start with one of the following sequences: "#", "./", "../", or a string of characters followed by a ":".
Defined:
globally; see XML source
Used:
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<schema elementFormDefault="qualified" targetNamespace="http://www.opengis.net/gml/3.2" version="3.2.1.2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink">
<annotation>
<appinfo source="urn:x-ogc:specification:gml:schema-xsd:basicTypes:3.2.1">basicTypes.xsd</appinfo>
<documentation>
See ISO/DIS 19136 8.2.
W3C XML Schema provides a set of built-in "simple" types which define methods for representing values as literals without internal markup. These are described in W3C XML Schema Part 2:2001. Because GML is an XML encoding in which instances are described using XML Schema, these simple types shall be used as far as possible and practical for the representation of data types. W3C XML Schema also provides methods for defining
- new simple types by restriction and combination of the built-in types, and
- complex types, with simple content, but which also have XML attributes.
In many places where a suitable built-in simple type is not available, simple content types derived using the XML Schema mechanisms are used for the representation of data types in GML.
A set of these simple content types that are required by several GML components are defined in the basicTypes schema, as well as some elements based on them. These are primarily based around components needed to record amounts, counts, flags and terms, together with support for exceptions or null values.

GML is an OGC Standard.
Copyright (c) 2007,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</documentation>
</annotation>
<include schemaLocation="gml.xsd"/>
<simpleType name="NilReasonType">
<annotation>
<documentation>
gml:NilReasonType defines a content model that allows recording of an explanation for a void value or other exception.
gml:NilReasonType is a union of the following enumerated values:
- inapplicable there is no value
- missing the correct value is not readily available to the sender of this data. Furthermore, a correct value may not exist
- template the value will be available later
- unknown the correct value is not known to, and not computable by, the sender of this data. However, a correct value probably exists
- withheld the value is not divulged
- other:text other brief explanation, where text is a string of two or more characters with no included spaces
and
- anyURI which should refer to a resource which describes the reason for the exception
A particular community may choose to assign more detailed semantics to the standard values provided. Alternatively, the URI method enables a specific or more complete explanation for the absence of a value to be provided elsewhere and indicated by-reference in an instance document.
gml:NilReasonType is used as a member of a union in a number of simple content types where it is necessary to permit a value from the NilReasonType union as an alternative to the primary type.
</documentation>
</annotation>
<union memberTypes="gml:NilReasonEnumeration anyURI"/>
</simpleType>
<simpleType name="NilReasonEnumeration">
<union>
<simpleType>
<restriction base="string">
<enumeration value="inapplicable"/>
<enumeration value="missing"/>
<enumeration value="template"/>
<enumeration value="unknown"/>
<enumeration value="withheld"/>
</restriction>
</simpleType>
<simpleType>
<restriction base="string">
<pattern value="other:\w{2,}"/>
</restriction>
</simpleType>
</union>
</simpleType>
<simpleType name="SignType">
<annotation>
<documentation>
gml:SignType is a convenience type with values "+" (plus) and "-" (minus).
</documentation>
</annotation>
<restriction base="string">
<enumeration value="-"/>
<enumeration value="+"/>
</restriction>
</simpleType>
<simpleType name="booleanOrNilReason">
<annotation>
<documentation>
Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.
</documentation>
</annotation>
<union memberTypes="gml:NilReasonEnumeration boolean anyURI"/>
</simpleType>
<simpleType name="doubleOrNilReason">
<annotation>
<documentation>
Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.
</documentation>
</annotation>
<union memberTypes="gml:NilReasonEnumeration double anyURI"/>
</simpleType>
<simpleType name="integerOrNilReason">
<annotation>
<documentation>
Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.
</documentation>
</annotation>
<union memberTypes="gml:NilReasonEnumeration integer anyURI"/>
</simpleType>
<simpleType name="NameOrNilReason">
<annotation>
<documentation>
Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.
</documentation>
</annotation>
<union memberTypes="gml:NilReasonEnumeration Name anyURI"/>
</simpleType>
<simpleType name="stringOrNilReason">
<annotation>
<documentation>
Extension to the respective XML Schema built-in simple type to allow a choice of either a value of the built-in simple type or a reason for a nil value.
</documentation>
</annotation>
<union memberTypes="gml:NilReasonEnumeration string anyURI"/>
</simpleType>
<complexType name="CodeType">
<annotation>
<documentation>
gml:CodeType is a generalized type to be used for a term, keyword or name.
It adds a XML attribute codeSpace to a term, where the value of the codeSpace attribute (if present) shall indicate a dictionary, thesaurus, classification scheme, authority, or pattern for the term.
</documentation>
</annotation>
<simpleContent>
<extension base="string">
<attribute name="codeSpace" type="anyURI"/>
</extension>
</simpleContent>
</complexType>
<complexType name="CodeWithAuthorityType">
<annotation>
<documentation>
gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance.
</documentation>
</annotation>
<simpleContent>
<restriction base="gml:CodeType">
<attribute name="codeSpace" type="anyURI" use="required"/>
</restriction>
</simpleContent>
</complexType>
<complexType name="MeasureType">
<annotation>
<documentation>
gml:MeasureType supports recording an amount encoded as a value of XML Schema double, together with a units of measure indicated by an attribute uom, short for "units Of measure". The value of the uom attribute identifies a reference system for the amount, usually a ratio or interval scale.
</documentation>
</annotation>
<simpleContent>
<extension base="double">
<attribute name="uom" type="gml:UomIdentifier" use="required"/>
</extension>
</simpleContent>
</complexType>
<simpleType name="UomIdentifier">
<annotation>
<documentation>
The simple type gml:UomIdentifer defines the syntax and value space of the unit of measure identifier.
</documentation>
</annotation>
<union memberTypes="gml:UomSymbol gml:UomURI"/>
</simpleType>
<simpleType name="UomSymbol">
<annotation>
<documentation>
This type specifies a character string of length at least one, and restricted such that it must not contain any of the following characters: ":" (colon), " " (space), (newline), (carriage return), (tab). This allows values corresponding to familiar abbreviations, such as "kg", "m/s", etc.
It is recommended that the symbol be an identifier for a unit of measure as specified in the "Unified Code of Units of Measure" (UCUM) (http://aurora.regenstrief.org/UCUM). This provides a set of symbols and a grammar for constructing identifiers for units of measure that are unique, and may be easily entered with a keyboard supporting the limited character set known as 7-bit ASCII. ISO 2955 formerly provided a specification with this scope, but was withdrawn in 2001. UCUM largely follows ISO 2955 with modifications to remove ambiguities and other problems.
</documentation>
</annotation>
<restriction base="string">
<pattern value="[^: \n\r\t]+"/>
</restriction>
</simpleType>
<simpleType name="UomURI">
<annotation>
<documentation>
This type specifies a URI, restricted such that it must start with one of the following sequences: "#", "./", "../", or a string of characters followed by a ":". These patterns ensure that the most common URI forms are supported, including absolute and relative URIs and URIs that are simple fragment identifiers, but prohibits certain forms of relative URI that could be mistaken for unit of measure symbol .
NOTE It is possible to re-write such a relative URI to conform to the restriction (e.g. "./m/s").
In an instance document, on elements of type gml:MeasureType the mandatory uom attribute shall carry a value corresponding to either
- a conventional unit of measure symbol,
- a link to a definition of a unit of measure that does not have a conventional symbol, or when it is desired to indicate a precise or variant definition.
</documentation>
</annotation>
<restriction base="anyURI">
<pattern value="([a-zA-Z][a-zA-Z0-9\-\+\.]*:|\.\./|\./|#).*"/>
</restriction>
</simpleType>
<complexType name="CoordinatesType">
<annotation>
<documentation>
This type is deprecated for tuples with ordinate values that are numbers.
CoordinatesType is a text string, intended to be used to record an array of tuples or coordinates.
While it is not possible to enforce the internal structure of the string through schema validation, some optional attributes have been provided in previous versions of GML to support a description of the internal structure. These attributes are deprecated. The attributes were intended to be used as follows:
Decimal symbol used for a decimal point (default="." a stop or period)
cs symbol used to separate components within a tuple or coordinate string (default="," a comma)
ts symbol used to separate tuples or coordinate strings (default=" " a space)
Since it is based on the XML Schema string type, CoordinatesType may be used in the construction of tables of tuples or arrays of tuples, including ones that contain mixed text and numeric values.
</documentation>
</annotation>
<simpleContent>
<extension base="string">
<attribute default="." name="decimal" type="string"/>
<attribute default="," name="cs" type="string"/>
<attribute default=" " name="ts" type="string"/>
</extension>
</simpleContent>
</complexType>
<simpleType name="booleanList">
<annotation>
<documentation>
A type for a list of values of the respective simple type.
</documentation>
</annotation>
<list itemType="boolean"/>
</simpleType>
<simpleType name="doubleList">
<annotation>
<documentation>
A type for a list of values of the respective simple type.
</documentation>
</annotation>
<list itemType="double"/>
</simpleType>
<simpleType name="integerList">
<annotation>
<documentation>
A type for a list of values of the respective simple type.
</documentation>
</annotation>
<list itemType="integer"/>
</simpleType>
<simpleType name="NameList">
<annotation>
<documentation>
A type for a list of values of the respective simple type.
</documentation>
</annotation>
<list itemType="Name"/>
</simpleType>
<simpleType name="NCNameList">
<annotation>
<documentation>
A type for a list of values of the respective simple type.
</documentation>
</annotation>
<list itemType="NCName"/>
</simpleType>
<simpleType name="QNameList">
<annotation>
<documentation>
A type for a list of values of the respective simple type.
</documentation>
</annotation>
<list itemType="QName"/>
</simpleType>
<simpleType name="booleanOrNilReasonList">
<annotation>
<documentation>
A type for a list of values of the respective simple type.
</documentation>
</annotation>
<list itemType="gml:booleanOrNilReason"/>
</simpleType>
<simpleType name="NameOrNilReasonList">
<annotation>
<documentation>
A type for a list of values of the respective simple type.
</documentation>
</annotation>
<list itemType="gml:NameOrNilReason"/>
</simpleType>
<simpleType name="doubleOrNilReasonList">
<annotation>
<documentation>
A type for a list of values of the respective simple type.
</documentation>
</annotation>
<list itemType="gml:doubleOrNilReason"/>
</simpleType>
<simpleType name="integerOrNilReasonList">
<annotation>
<documentation>
A type for a list of values of the respective simple type.
</documentation>
</annotation>
<list itemType="gml:integerOrNilReason"/>
</simpleType>
<complexType name="CodeListType">
<annotation>
<documentation>
gml:CodeListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute.
</documentation>
</annotation>
<simpleContent>
<extension base="gml:NameList">
<attribute name="codeSpace" type="anyURI"/>
</extension>
</simpleContent>
</complexType>
<complexType name="CodeOrNilReasonListType">
<annotation>
<documentation>
gml:CodeOrNilReasonListType provides for lists of terms. The values in an instance element shall all be valid according to the rules of the dictionary, classification scheme, or authority identified by the value of its codeSpace attribute. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a term or classification is expected, but the value may be absent for some reason.
</documentation>
</annotation>
<simpleContent>
<extension base="gml:NameOrNilReasonList">
<attribute name="codeSpace" type="anyURI"/>
</extension>
</simpleContent>
</complexType>
<complexType name="MeasureListType">
<annotation>
<documentation>
gml:MeasureListType provides for a list of quantities.
</documentation>
</annotation>
<simpleContent>
<extension base="gml:doubleList">
<attribute name="uom" type="gml:UomIdentifier" use="required"/>
</extension>
</simpleContent>
</complexType>
<complexType name="MeasureOrNilReasonListType">
<annotation>
<documentation>
gml:MeasureOrNilReasonListType provides for a list of quantities. An instance element may also include embedded values from NilReasonType. It is intended to be used in situations where a value is expected, but the value may be absent for some reason.
</documentation>
</annotation>
<simpleContent>
<extension base="gml:doubleOrNilReasonList">
<attribute name="uom" type="gml:UomIdentifier" use="required"/>
</extension>
</simpleContent>
</complexType>
</schema>

This XML schema documentation has been generated with DocFlex/XML 1.11 using DocFlex/XML XSDDoc 2.8.3 template set.
DocFlex/XML is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high-quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-quality XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support > 400 template parameters, which work the same as "options" of ordinary doc-generators. The parameters are organized in nested groups, which form a parameter tree. Most of them have their default values calculated dynamically from a few primary parameters. So, you'll never need to specify all of them. That will give you swift and effective control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To select only the initial, imported, included, redefined XML schemas to be documented or only those directly specified by name.
  • To include only XML schema components specified by name.
  • To document local element components both globally and locally (similar to attributes).
  • To allow/suppress unification of local elements by type.
  • To enable/disable reproducing of namespace prefixes.
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in a signle-file form as both HTML and incredible quality RTF output.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To remove this very advertisement text!
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML (Full Edition) and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for "DocFlex/XML SDK" will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note that by purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the results of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To purchase a license, please follow this link: http://www.filigris.com/shop/