Ignore:
Timestamp:
09/06/06 15:57:23 (14 years ago)
Author:
domlowe
Message:

Added CSML security metadata: example.xml contains sample csml security tags (same as MOLES). Parser now parses security elements. CSML Schema has been revised and will be committed separately.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/parser/example.xml

    r925 r1147  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <Dataset xmlns="http://ndg.nerc.ac.uk/csml" xmlns:gml="http://www.opengis.net/gml" xmlns:om="http://www.opengis.net/om" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://ndg.nerc.ac.uk/csml 
     2<Dataset xmlns="http://ndg.nerc.ac.uk/csml" xmlns:gml="http://www.opengis.net/gml" xmlns:om="http://www.opengis.net/om" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:moles="http://ndg.nerc.ac.uk/moles" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://ndg.nerc.ac.uk/csml 
    33XMLSchemas/CSMLAppSchema.xsd" gml:id="TestDataset"> 
    44        <gml:metaDataProperty xlink:href="http://ndg.nerc.ac.uk/Metadata/TestDataset"/> 
    55        <gml:description>Test CSML Dataset.</gml:description> 
    66        <gml:name codeSpace="http://ndg.nerc.ac.uk/NDGData">DataEntity0000001</gml:name> 
    7         <!--===================================================================--> 
     7        <!--===================================================================--> 
     8        <!--===== NDG Security Access Control Policy. =====-->   
     9        <!--===================================================================--> 
     10        <AccessControlPolicy> 
     11            <!--  
     12                 also choice of: 
     13                 <moles:accessControlPolicyURL>http://test.security.url</moles:accessControlPolicyURL> 
     14                 <moles:accessControlPolicyText>test security text</moles:accessControlPolicyText> 
     15                 of moles:dgSecurityCondition(s) 
     16            --> 
     17            <moles:dgSecurityCondition> 
     18                <moles:effect>deny</moles:effect> 
     19                <moles:simpleCondition> 
     20                    <moles:dgAttributeAuthority>http://glue.badc.rl.ac.uk/attAuthority.wsdl</moles:dgAttributeAuthority> 
     21                    <moles:attrauthRole>acsoe</moles:attrauthRole> 
     22                </moles:simpleCondition> 
     23                <moles:conditionExplanationText> Dummy requirement for ACSOE group at BADC </moles:conditionExplanationText> 
     24            </moles:dgSecurityCondition> 
     25        </AccessControlPolicy> 
     26        <!--===================================================================--> 
    827        <!--===== Local unit definitions. =====--> 
    928        <!--===================================================================--> 
Note: See TracChangeset for help on using the changeset viewer.