Definition Type: ComplexType
Name: BagType
Namespace: http://www.opengis.net/gml
Type: gml:AbstractGMLType
Containing Schema: gmlBase.xsd
Abstract
Documentation:
A non-abstract generic collection type that can be used as a document element for a collection of any GML types - Geometries, Topologies, Features ... “FeatureCollections” may only contain Features. “GeometryCollections” may only contain Geometry’s. “Bags” are less constrained – they must contain objects that are substitutable for gml:_Object. This may mix several levels, including Features, Definitions, Dictionaries, Geometries etc. The content model would ideally be member 0..* members 0..1 member 0..* for maximum flexibility in building a collection from both homogeneous and distinct components: included "member" elements each contain a single Object an included "members" element contains a set of Objects However, this is non-deterministic, thus prohibited by XSD.
Collapse XSD Schema Diagram:
Drilldown into members in schema gmlbase_xsd Drilldown into member in schema gmlbase_xsd Drilldown into name in schema gmlbase_xsd Drilldown into description in schema gmlbase_xsd Drilldown into metaDataProperty in schema gmlbase_xsd Drilldown into id in schema gmlbase_xsd Drilldown into AbstractGMLType in schema gmlbase_xsdXSD Diagram of BagType in schema gmlbase_xsd (Geography Markup Language)
Collapse XSD Schema Code:
<complexType name="BagType">
    <annotation>
        <documentation>A non-abstract generic collection type that can be used as a document element for a collection of any GML types - Geometries, Topologies, Features ...

“FeatureCollections” may only contain Features.  “GeometryCollections” may only contain Geometry’s.  “Bags” are less constrained – they must contain objects that are substitutable for gml:_Object.  This may mix several levels, including Features, Definitions, Dictionaries, Geometries etc.  

The content model would ideally be 
   member 0..*
   members 0..1
   member 0..*
for maximum flexibility in building a collection from both homogeneous and distinct components: 
included "member" elements each contain a single Object
an included "members" element contains a set of Objects 

However, this is non-deterministic, thus prohibited by XSD.  

</documentation>
    </annotation>
    <complexContent>
        <extension base="gml:AbstractGMLType">
            <sequence>
                <element ref="gml:member" minOccurs="0" maxOccurs="unbounded" />
                <element ref="gml:members" minOccurs="0" />
            </sequence>
        </extension>
    </complexContent>
</complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
metaDataProperty gml:metaDataProperty 0 unbounded
description gml:description 0 (1)
name gml:name 0 unbounded
member gml:member 0 unbounded
members gml:members 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
id gml:id Optional
Collapse Derivation Tree:
Collapse References:
gml:Bag