Changeset 2426 for TI02-CSML/trunk


Ignore:
Timestamp:
23/04/07 09:26:58 (12 years ago)
Author:
domlowe
Message:

Adding security to CSML schema, also added local copy of moles schema for validation purposes

Location:
TI02-CSML/trunk/XMLSchemas
Files:
2 added
1 edited

Legend:

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

    r2425 r2426  
    11<?xml version="1.0" encoding="UTF-8"?> 
    22<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Andrew Woolf (CCLRC) --> 
    3 <schema targetNamespace="http://ndg.nerc.ac.uk/csml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:csml="http://ndg.nerc.ac.uk/csml" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.9"> 
     3<schema targetNamespace="http://ndg.nerc.ac.uk/csml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:moles="http://ndg.nerc.ac.uk/moles" xmlns:csml="http://ndg.nerc.ac.uk/csml" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.9"> 
    44        <annotation> 
    55                <documentation>CSML Dataset</documentation> 
     
    88        <include schemaLocation="csmlMain.xsd"/> 
    99        <include schemaLocation="csmlStorageDescriptor.xsd"/> 
     10        <import namespace="http://ndg.nerc.ac.uk/moles" schemaLocation="moles/ndgmetadata1.3xsd"/> 
     11        <!--====================================================================== --> 
     12        <!-- =======Security Conditions========== --> 
     13        <!--====================================================================== --> 
     14        <complexType name="AccessControlPolicyType"> 
     15                <annotation> 
     16                        <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> 
     17                </annotation> 
     18                <choice> 
     19                        <element name="accessControlPolicyURL" type="anyURI"/> 
     20                        <element name="accessControlPolicyText" type="string"/> 
     21                        <element name="dgSecurityCondition" type="moles:dgSecurityConditionType" maxOccurs="unbounded"/> 
     22                </choice> 
     23        </complexType> 
     24        <element name="AccessControlPolicy" type="csml:AccessControlPolicyType"/> 
     25        <complexType name="AccessControlPolicyPropertyType"> 
     26                <sequence> 
     27                        <element ref="csml:AccessControlPolicy" minOccurs="0"/> 
     28                </sequence> 
     29        </complexType>   
    1030        <!--====================================================================== --> 
    1131        <!--====================================================================== --> 
     
    1434        <complexType name="DatasetType"> 
    1535                <sequence> 
     36                        <element ref="csml:AccessControlPolicy" minOccurs="0" maxOccurs="1"/> 
    1637                        <element ref="csml:CSMLFeatureCollection" minOccurs="0"/> 
    1738                        <element ref="csml:CSMLStorageDescriptor" minOccurs="0"/> 
Note: See TracChangeset for help on using the changeset viewer.