Project

General

Profile

Bug #5273 ยป inline.xml

ben leinfelder, 10/27/2011 06:58 PM

 
1
<?xml version="1.0"?>
2
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.1.0"
3
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packageId="eml.1.1"
4
	system="knb" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.0 eml.xsd"
5
	scope="system">
6
	<dataset scope="document">
7
		<title>InlineDataAccessTest: Doing insert</title>
8
		<creator scope="document">
9
			<individualName>
10
				<surName>Smith</surName>
11
			</individualName>
12
		</creator>
13
		<contact scope="document">
14
			<individualName>
15
				<surName>Jackson</surName>
16
			</individualName>
17
		</contact>
18
		<dataTable>
19
			<entityName>Test Data</entityName>
20
			<physical>
21
				<objectName>2.1.0 test physical</objectName>
22
				<size unit="bytes">1</size>
23
				<characterEncoding>ASCII</characterEncoding>
24
				<dataFormat>
25
					<textFormat>
26
						<numHeaderLines>1</numHeaderLines>
27
						<attributeOrientation>column</attributeOrientation>
28
						<simpleDelimited>
29
							<fieldDelimiter>,</fieldDelimiter>
30
						</simpleDelimited>
31
					</textFormat>
32
				</dataFormat>
33
				<distribution>
34
					<inline>
35
						bad inline data & stuff
36
					</inline>
37
					<access
38
						authSystem="ldap://ldap.ecoinformatics.org:389/dc=ecoinformatics,dc=org"
39
						order="allowFirst" scope="document">
40
						<allow>
41
							<principal>uid=test,o=NCEAS,dc=ecoinformatics,dc=org</principal>
42
							<permission>read</permission>
43
						</allow>
44
					</access>
45
				</distribution>
46
			</physical>
47
			<attributeList>
48
				<attribute>
49
					<attributeName>rain</attributeName>
50
					<attributeLabel>Surface Rainfall</attributeLabel>
51
					<attributeDefinition>The amount of rainfall on the sampling
52
						unit. </attributeDefinition>
53
					<storageType>float</storageType>
54
					<storageType
55
						typeSystem="http://java.sun.com/docs/books/jls/second_edition/html">double</storageType>
56
					<measurementScale>
57
						<interval>
58
							<unit>
59
								<standardUnit>millimeter</standardUnit>
60
							</unit>
61
							<precision>0.5</precision>
62
							<numericDomain id="nd.1">
63
								<numberType>real</numberType>
64
								<bounds>
65
									<minimum exclusive="false">0</minimum>
66
								</bounds>
67
							</numericDomain>
68
						</interval>
69
					</measurementScale>
70
				</attribute>
71
			</attributeList>
72
		</dataTable>
73
	</dataset>
74
</eml:eml>
    (1-1/1)