CompositeValue Value objects schema

Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 189 gml:CompositeValue gml:valueComponents gml:Point srsName=urn:x-ogc:def:crs:EPSG:6.6:4326gml:pos-67.563 -13.834gml:posgml:Point gml:Quantity uom=km632.gml:Quantity gml:TimeInstantgml:timePosition1994-06-09T00:33:16.4gml:timePositiongml:TimeInstant gml:Quantity uom=mom-1.00gml:Quantity gml:Quantity uom=mom0.92gml:Quantity gml:Quantity uom=mom0.09gml:Quantity gml:Quantity uom=mom-1.69gml:Quantity gml:Quantity uom=mom-0.09gml:Quantity gml:Quantity uom=mom-0.37gml:Quantity gml:valueComponents gml:CompositeValue

16.4.11 ValueArray

A Value Array is used for homogeneous arrays of primitive and aggregate values. The member values may be scalars, composites, arrays or lists. This element uses the following schema declarations: element name=ValueArray type=gml:ValueArrayType substitutionGroup=gml:CompositeValue sch:schema xmlns:sch=http:purl.oclc.orgdsdlschematron xmlns:gml=http:www.opengis.netgml3.2 xmlns:xlink=http:www.w3.org1999xlink xml:lang=en sch:titleSchematron constraints for GML ISO 19136sch:title sch:ns prefix=sch uri=http:purl.oclc.orgdsdlschematron sch:ns prefix=gml uri=http:www.opengis.netgml3.2 sch:pattern sch:rule context=gml:ValueArray sch:assert test=notcodeSpace and uomValueArray may not carry both a reference to a codeSpace and a uomsch:assert sch:rule sch:pattern sch:pattern sch:rule context=gml:ValueArray sch:assert test=countgml:valueComponent = countgml:valueComponent[name = name....gml:valueComponent[1][1]]All components shall be of the same typesch:assert sch:assert test=countgml:valueComponents = countgml:valueComponents[name = name..[1]]All components shall be of the same typesch:assert sch:rule sch:pattern sch:schema complexType name=ValueArrayType complexContent extension base=gml:CompositeValueType attributeGroup ref=gml:referenceSystem extension complexContent complexType attributeGroup name=referenceSystem attribute name=codeSpace type=anyURI attribute name=uom type=gml:UomIdentifier attributeGroup ValueArray has the same content model as CompositeValue, but the member values shall be homogeneous. The element declaration contains a Schematron constraint which expresses this restriction precisely. Since the 190 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. members are homogeneous, the gml:referenceSystem uom, codeSpace may be specified on the gml:ValueArray itself and inherited by all the members if desired.