"Seegrid will be due for a migration to confluence on the 1st of August. Any update on or after the 1st of August will NOT be migrated"

simpleContent and list types


Contents

Related pages


Schema documents

Components

A number of simple-content types to be used for elements representing data types are defined in the GML schema document XmmlCVS:gml/base/basicTypes.xsd. Some additional types are defined in the XMML schema document XmmlCVS:XMML/base.xsd.

Standard XML attributes

GML and XMML do not generally use XML attributes to carry "data", except to carry links to out-of-line values (see GmlProperty). However, certain XML attributes are used to carry specific pieces of "auxilliary" information in datasets, usually information that modifies or qualifies the semantics of simple-content values. These are :

  1. the property attribute of type="anyURI" is used to indicate the property or phenomenon being described (see StrongVsWeakTyping and RecordSchema)
  2. the codeSpace attribute of type="anyURI" is used to indicate the source of, or authority for, terms, codes or names (see CodeListsAndDictionaries)
  3. the uom attribute of type="gml:UomIdentifier" is used to indicate the scale or reference system for numeric values (see UnitsOfMeasure)
  4. the RS attribute of type="anyURI" is used to indicate the reference system for tuples, including both the property type and scale for each component, in the order in which they occur within the tuple (see StrongVsWeakTyping and RecordSchema)
  5. the dimension attribute of type="positiveInteger" is used to indicate the number of components in a tuple
  6. the count and tupleCount attributes of type="nonNegativeInteger" are used to indicate the number of member items or tuples in a list
  7. the nilReason attribute of type "gml:NullType" allows missing values to be explained, even on simpleContent types
  8. the metadata attribute of type="anyURI" provides a link to more detail concerning the value, while the metadataType indicates the kind of metadata provided (currently a choice of observationEvent, observationProcedure, observationResponsibleParty, intended to allow for situations where the simpleContent value has been obtained through observation)

Simple-content types for lists defined conforming to the W3C XML Schema list structure (i.e. a whitespace separated list of primitives) are named XXListType.

Simple-content types whose value is a W3C XML Schema union of the relevant types with gml:Null, or a list based on this, are named XXOrNullXX.

The value of the RS attribute identifies a description of the tuple. The description may be encoded in XML, for example as described in RecordSchema, or may use a more informal encoding. If it is XML, then the reference system definition may be found within the same document, in which case the reference will use the short form "#reference". The description of the reference system should identify each of the components, with their units of measure or (for textual values) the codeSpace, in the order in which they occur.

Exceptions and Nulls

gml:NullType
some named exceptions - unknown, missing, withheld, unavailable, template

Sign

gml:SignType
+ or -

Boolean values

A set of types based on the W3C XML Schema built-in type boolean (true/false, 1/0)

gml:booleanOrNull
gml:booleanOrNullList
list of boolean values
gml:booleanList
list of boolean values
xmml:SoftTypedBooleanType
carries property attribute
xmml:SoftTypedBooleanListType
list of boolean values, carries property, count attributes
xmml:SoftTypedBooleanOrNullListType
list of boolean values, carries property, count attributes

Character strings, codes, names

A set of types based on the W3C XML Schema built-in types string, Name (~character strings without spaces), NCName (~character strings without spaces or colons), QName (namespace-qualified names), token (~character strings without linefeeds)

gml:stringOrNull: gml:NameOrNull:
gml:NameOrNullList
list of Names
gml:NameList
list of Names
gml:NCNameList
list of NCNames
gml:QNameList
list of QNames
gml:CodeType
carries codeSpace attribute
gml:CodeListType
list of Names, carries codeSpace attribute gml:CodeOrNullListType : list of Names, carries codeSpace attribute
xmml:TokenWithAuthorityType
carries codeSpace attribute
xmml:TokenListWithAuthorityType
list of tokens, carries codeSpace attribute
xmml:SoftTypedCategoryType
carries codeSpace, property attributes
xmml:SoftTypedCategoryListType
list of tokens, carries codeSpace, property, count attributes
xmml:TupleType
list of tokens, carries RS, dimension attributes
xmml:TupleListType
list of tokens, carries RS, dimension, tupleCount attributes

Integers, counts

A set of types based on the W3C XML Schema built-in type integer or nonNegativeInteger

gml:integerOrNull
gml:integerOrNullList
list of numbers
gml:integerList
list of numbers
xmml:CountOrNullType
xmml:CountOrNullListType
list of numbers
xmml:CountListType
list of numbers
xmml:SoftTypedCountType
carries property attribute
xmml:SoftTypedCountListType
list of numbers, carries property, count attributes
xmml:SoftTypedCountOrNullListType
list of numbers, carries property, count attributes
xmml:SoftTypedCountIntervalType
two numbers, carries property attributes

Numeric values, measures

A set of types based on the W3C XML Schema built-in type double

gml:doubleOrNull
gml:doubleOrNullList
list of numbers
gml:doubleList
list of numbers
gml:MeasureType
carries uom attribute
gml:MeasureListType
list of numbers, carries uom attribute
gml:MeasureOrNullListType
list of numbers, carries uom attribute
xmml:SoftTypedMeasureType
carries uom, property attributes
xmml:SoftTypedMeasureListType
list of numbers, carries uom, property, count attributes
xmml:SoftTypedMeasureOrNullListType
list of numbers, carries uom, property, count attributes
xmml:SoftTypedMeasureIntervalType
two numbers, carries uom, property attributes
xmml:NumericTupleType
list of numbers, carries RS, dimension attributes
xmml:NumericOrNullTupleType
list of numbers, carries RS, dimension attributes
xmml:NumericTupleListType
list of numbers, carries RS, dimension, tupleCount attributes
xmml:NumericOrNullTupleListType
list of numbers, carries RS, dimension, tupleCount attributes
Topic revision: r10 - 15 Oct 2010, UnknownUser
 

Current license: All material on this collaboration platform is licensed under a Creative Commons Attribution 3.0 Australia Licence (CC BY 3.0).