Project

General

Profile

Bug #3508 ยป eml-datasetWithAccessOverride.xml

Margaret O'Brien, 10/15/2008 04:56 PM

 
1
<?xml version="1.0" encoding="UTF-8"?>
2
<eml:eml packageId="eml.2111.1" system="knb" xmlns:eml="eml://ecoinformatics.org/eml-2.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.0 ../eml.xsd">
3
  <access authSystem="knb" order="allowFirst" id="brooke.124.1" scope="document">
4
    <allow>
5
      <principal>uid=brooke,o=NCEAS,dc=ecoinformatics,dc=org</principal>
6
      <permission>all</permission>
7
    </allow>
8
    <allow>
9
      <principal>public</principal>
10
      <permission>read</permission>
11
    </allow>
12
    <deny>
13
      <principal>uid=berkley,o=NCEAS,dc=ecoinformatics,dc=org</principal>
14
      <permission>read</permission>
15
      <permission>write</permission>
16
      <permission>all</permission>
17
    </deny>
18
  </access>
19
  <dataset>
20
    <title>Sample datset Description</title>
21
    <creator id="23445" scope="document">
22
      <individualName>
23
        <surName>Smith</surName>
24
      </individualName>
25
    </creator>
26
    <additionalInfo>
27
      <para>My comments go here.</para>
28
    </additionalInfo>
29
    <intellectualRights>
30
      <section>
31
        <para>Anyone can use it.</para>
32
      </section>
33
    </intellectualRights>
34
    <distribution>
35
      <online>
36
        <connectionDefinition id="def.1" scope="document">
37
          <schemeName system="CAP">sde</schemeName>
38
          <description>
39
            <para>The SDE scheme used at CAP LTER</para>
40
          </description>
41
          <parameterDefinition>
42
            <name>hostname</name>
43
            <definition>The host</definition>
44
            <defaultValue>mohave.asu.edu</defaultValue>
45
          </parameterDefinition>
46
          <parameterDefinition>
47
            <name>databaseName</name>
48
            <definition>The name of the database or catalog</definition>
49
          </parameterDefinition>
50
          <parameterDefinition>
51
            <name>owner</name>
52
            <definition>The owner catalog</definition>
53
            <defaultValue>dbo</defaultValue>
54
          </parameterDefinition>
55
        </connectionDefinition>
56
      </online>
57
    </distribution>
58
    <distribution id="data_table_1">
59
              <inline>line, of, data 
60
more, data, data,
61
  and, more, data
62
</inline>
63
    </distribution>
64
    <purpose>
65
      <para>Provide data to the whole world.</para>
66
    </purpose>
67
    <contact>
68
      <individualName>
69
        <surName>Johnson</surName>
70
      </individualName>
71
    </contact>
72
    <contact>
73
      <references>23445</references>
74
    </contact>
75
    <otherEntity>
76
      <entityName>my data table</entityName>
77
      <entityDescription>my table is stuck into an inline tree elsewhere in this doc</entityDescription>
78
      <physical>
79
        <objectName>my data table</objectName>
80
        <dataFormat>
81
          <textFormat>
82
            <attributeOrientation>row</attributeOrientation>
83
            <simpleDelimited>
84
              <fieldDelimiter>comma</fieldDelimiter>
85
            </simpleDelimited>
86
          </textFormat>
87
        </dataFormat>
88
        <distribution>
89
<references>data_table_1</references>
90
          <access authSystem="knb" order="allowFirst" id="brooke.124.1" scope="document">
91
            <allow>
92
              <principal>uid=brooke,o=NCEAS,dc=ecoinformatics,dc=org</principal>
93
              <permission>all</permission>
94
            </allow>
95
            <deny>
96
              <principal>public</principal>
97
              <permission>read</permission>
98
            </deny>
99
          </access>
100
        </distribution>
101
      </physical>
102
      <entityType>my data</entityType>
103
    </otherEntity>
104
  </dataset>
105
</eml:eml>
    (1-1/1)