Changeset 1155


Ignore:
Timestamp:
12/06/06 14:46:24 (13 years ago)
Author:
domlowe
Message:

CSML Schema Version 1.1 commit. Added support for NDG security in the form of AccessControlPolicyType? which mirrors the MOLES AccesControlPolicy? element structure. Within this dgSecurityCondition references the dgSecurityConditionType in the MOLES schema. Additional change - ctlVariableName attribute added to GRIBExtract to enable cdunif reading of GRIB files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/XMLSchemas/CSMLAppSchema.xsd

    r19 r1155  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <schema targetNamespace="http://ndg.nerc.ac.uk/csml" xmlns:gml="http://www.opengis.net/gml" xmlns:om="http://www.opengis.net/om" xmlns:csml="http://ndg.nerc.ac.uk/csml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.1"> 
     2<schema targetNamespace="http://ndg.nerc.ac.uk/csml" xmlns:gml="http://www.opengis.net/gml" xmlns:om="http://www.opengis.net/om" xmlns:moles="http://ndg.nerc.ac.uk/moles" xmlns:csml="http://ndg.nerc.ac.uk/csml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.1"> 
    33        <annotation> 
    44                <documentation>CSML application schema</documentation> 
     
    77        <import namespace="http://www.opengis.net/gml" schemaLocation="GML-3.1.0/base/gml.xsd"/> 
    88        <import namespace="http://www.opengis.net/om" schemaLocation="phenomenon.xsd"/> 
     9        <import namespace="http://ndg.nerc.ac.uk/moles" schemaLocation="ndgmetadata1.2.4.xsd"/> 
    910        <!--====================================================================== --> 
    1011        <!--===== Root element for CSML dataset =====--> 
     
    2324                        <extension base="gml:AbstractGMLType"> 
    2425                                <sequence> 
     26                                        <element ref="csml:AccessControlPolicy" minOccurs="0" maxOccurs="1"/> 
    2527                                        <element ref="csml:UnitDefinitions" minOccurs="0" maxOccurs="unbounded"/> 
    2628                                        <element ref="csml:ReferenceSystemDefinitions" minOccurs="0" maxOccurs="unbounded"/> 
     
    3335        </complexType> 
    3436        <element name="Dataset" type="csml:DatasetType"/> 
     37        <!--====================================================================== --> 
     38        <!-- =======Security Conditions========== --> 
     39        <!--====================================================================== --> 
     40        <complexType name="AccessControlPolicyType"> 
     41                <annotation> 
     42                        <documentation>Contains either a text file giving the access control policy to the actual data granule, or a URL that points to such a document. In the long run, this is likely to be an XACML document. Note the assumption that there will be only one definitive source for such a policy.</documentation> 
     43                </annotation> 
     44                <choice> 
     45                                <element name="accessControlPolicyURL" type="anyURI"/> 
     46                                <element name="accessControlPolicyText" type="string"/> 
     47                                <element name="dgSecurityCondition" type="moles:dgSecurityConditionType" maxOccurs="unbounded"/> 
     48                </choice> 
     49        </complexType> 
     50        <element name="AccessControlPolicy" type="csml:AccessControlPolicyType"/> 
     51        <complexType name="AccessControlPolicyPropertyType"> 
     52                <sequence> 
     53                        <element ref="csml:AccessControlPolicy" minOccurs="0"/> 
     54                </sequence> 
     55        </complexType> 
    3556        <!--====================================================================== --> 
    3657        <!--===== Dictionary/definition elements =====--> 
     
    869890                                        <element name="recordNumber" type="int" minOccurs="0"/> 
    870891                                        <element name="fileOffset" type="int" minOccurs="0"/> 
     892                                        <element name="ctlVariableName" type="string" minOccurs="0"/> 
    871893                                </sequence> 
    872894                        </extension> 
Note: See TracChangeset for help on using the changeset viewer.