source: TI12-security/trunk/python/Tests/foursuite_c14n/test1.xml @ 5056

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/Tests/foursuite_c14n/test1.xml@5056
Revision 5056, 6.9 KB checked in by pjkersha, 11 years ago (diff)

Testing 4Suite-XML's C14N implementation. This package contains an adapted version of the unit tests used to validate the ElementTree C14N. The 4Suite version fails on three tests but none of these are important for the requirement to support WS-Security: one test is using a complicated XPath, the other two tests fail because of undefined URNs in DOCTYPE elements. The 4Suite implementation should be suitable then for use with a ZSI based WS-Security signature handler. It should give better performance than the DOM based version and avoid PyXML incompatibilities for future Python 2.6 migration.

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<Dataset xmlns="http://ndg.nerc.ac.uk/csml" xmlns:gml="http://www.opengis.net/gml"
3xmlns:om="http://www.opengis.net/om" xmlns:xlink="http://www.w3.org/1999/xlink"
4xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://ndg.nerc.ac.uk/csml
5XMLSchemas/CSMLAppSchema.xsd" gml:id="Test001">
6
7<!--
8======================================================================================
9======================================================================================
10auteur MILHE Aurelien
11fichier test afin de tester la possibilite et la validite du passage
12en format Marine XML
13Marine XML derive du CSML qui derive de XML et GML
14date creation 27/04/06
15======================================================================================
16======================================================================================
17
18
19======================================================================================
20pour l instant represente une observation de 78h, toute les heures dans deux stations
21a adapter en fonction des data donnees
22======================================================================================
23-->
24
25
26
27<!--header-->
28
29<gml:metaDataProperty>
30    <text>Data (c) 2006 Oslo Meteorologisk &amp; _ / ° ' Institutt Norwegian: ÊÞå. French: êÚé // www.met.no</text>
31</gml:metaDataProperty>
32
33<gml:metaDataProperty>
34<text>Test for Oslo Meteorolgisk Institutt</text>
35</gml:metaDataProperty>
36<gml:metaDataProperty>
37<text>tester MILHE Aurelien contact at aurelien.mihle@met.no</text>
38<text>data are from /opdata/sea/vannstand.dat</text>
39</gml:metaDataProperty>
40
41<gml:description>This is a test Water level for åÞOslo Metorolgikk Institute.Period 26/04/06 06h -> 29/04/06 12h</gml:description>
42
43
44<!--Reference System definition-->
45
46<ReferenceSystemDefinitions gml:id="refsysdefs01">
47<gml:name codeSpace="http://donar.rws.minvenw.nl/">PredictionPeriodTCS01</gml:name>
48
49<gml:definitionMember>
50<TimeCoordinateSystem gml:id="pred20060427001">
51<gml:description>Temporal Reference for prediction period 001</gml:description>
52<gml:name>pred20060427001</gml:name>
53<gml:originPosition>2006-04-27T00:00:00+01:00:00</gml:originPosition>
54<gml:interval unit="hour">1</gml:interval>
55</TimeCoordinateSystem>
56</gml:definitionMember>
57
58<!--
59<gml:definitionMember>
60<TimeCoordinateSystem gml:id="pred20040101002">
61<gml:description>Temporal Reference for prediction period 001</gml:description>
62<gml:name>pred20040101001</gml:name>
63<gml:originPosition>2004-01-01T15:30:00+01:00:00</gml:originPosition>
64<gml:interval unit="minute">60</gml:interval>
65</TimeCoordinateSystem>
66</gml:definitionMember>
67-->
68
69</ReferenceSystemDefinitions>
70
71
72<!--Donnees temporelles, spatiales et observations-->
73
74<!--===================================================================-->
75<!--===== Feature instances =====-->
76<!--===================================================================-->
77
78<gml:FeatureCollection>
79
80<gml:boundedBy>
81<gml:EnvelopeWithTimePeriod srsName="urn:EPSG:geographicCRS:4326">
82<gml:lowerCorner uomLabels="lat lon" axisLabels="deg deg">42 12</gml:lowerCorner> <!--valeurs tests non reelles-->
83<gml:upperCorner uomLabels="lat lon" axisLabels="deg deg">42 26</gml:upperCorner> <!--valeurs tests non reelles-->
84<gml:timePosition>2006-04-26T06:00:00+01</gml:timePosition>
85<gml:timePosition>2006-04-29T012:00:00+01</gml:timePosition>
86</gml:EnvelopeWithTimePeriod>
87</gml:boundedBy>
88
89<!--
90==========================================================================
911ere station ESBJERG
92==========================================================================
93-->
94
95<gml:featureMember>
96
97<PointSeriesFeature gml:id="testbed270401">
98
99<gml:metaDataProperty>
100<dgSimulation/>
101</gml:metaDataProperty>
102
103<gml:description>Station ESBJERG</gml:description>
104
105<PointSeriesDomain>
106
107<domainReference>
108<Trajectory srsName="urn:EPSG:geographicCRS:4326">
109<locations axisLabels="lat lon" uomLabels="deg deg">51.999422 3.277742</locations> <!--valeurs tests non reelles-->
110<times frame="#pred20060427001">-18
111-17
112-16
113-15
114-14
115-13
116-12
117-11
118-10
119-9
120-8
121-7
122-6
123-5
124-4
125-3
126-2
127-1
1280
1291
1302
1313
1324
1335
1346
1357
1368
1379
13810
13911
14012
14113
14214
14315
14416
14517
14618
14719
14820
14921
15022
15123
15224
15325
15426
15527
15628
15729
15830
15931
16032
16133
16234
16335
16436
16537
16638
16739
16840
16941
17042
17143
17244
17345
17446
17547
17648
17749
17850
17951
18052
18153
18254
18355
18456
18557
18658
18759
18860
189</times>
190</Trajectory>
191</domainReference>
192</PointSeriesDomain>
193
194<gml:rangeSet>
195<gml:QuantityList uom="MLUnits.xml#m">0.27
1960.25
1970.25
1980.23
1990.22
2000.22
2010.21
2020.17
2030.17
2040.14
2050.14
2060.12
2070.10
2080.08
2090.08
2100.08
2110.11
2120.13
2130.11
2140.11
2150.13
2160.10
2170.06
2180.06
2190.06
2200.01
221-0.03
222-0.06
223-0.09
224-0.11
225-0.11
226-0.13
227-0.16
228-0.18
229-0.17
230-0.16
231-0.18
232-0.16
233-0.12
234-0.09
235-0.08
236-0.07
237-0.06
238-0.05
239-0.04
240-0.03
241-0.03
242-0.04
243-0.02
244-0.01
245-0.02
246-0.02
247-0.02
248-0.03
249-0.03
250-0.02
251-0.01
252-0.01
253-0.02
254-0.02
255-0.03
256-0.04
257-0.04
258-0.05
259-0.04
260-0.05
261-0.08
262-0.09
263-0.11
264-0.12
265-0.12
266-0.12
267-0.12
268-0.12
269-0.13
270-0.14
271-0.15
272</gml:QuantityList>
273</gml:rangeSet>
274<parameter xlink:href="MLStandardNames.xml#sea_surface_height_above_sea_level"/>
275
276</PointSeriesFeature>
277
278</gml:featureMember>
279
280
281<!--
282==========================================================================
2832ere station HIRTSHALS
284==========================================================================
285-->
286
287<gml:featureMember>
288
289<PointSeriesFeature gml:id="testbed270402">
290
291<gml:metaDataProperty>
292<dgSimulation/>
293</gml:metaDataProperty>
294
295<gml:description>Station HIRTSHALS</gml:description>
296
297<PointSeriesDomain>
298
299<domainReference>
300<Trajectory srsName="urn:EPSG:geographicCRS:4326">
301<locations axisLabels="lat lon" uomLabels="deg deg">12.9254422 23.277742</locations> <!--valeurs tests non reelles-->
302<times frame="#pred20060427002">-18
303-17
304-16
305-15
306-14
307-13
308-12
309-11
310-10
311-9
312-8
313-7
314-6
315-5
316-4
317-3
318-2
319-1
3200
3211
3222
3233
3244
3255
3266
3277
3288
3299
33010
33111
33212
33313
33414
33515
33616
33717
33818
33919
34020
34121
34222
34323
34424
34525
34626
34727
34828
34929
35030
35131
35232
35333
35434
35535
35636
35737
35838
35939
36040
36141
36242
36343
36444
36545
36646
36747
36848
36949
37050
37151
37252
37353
37454
37555
37656
37757
37858
37959
38060
381</times>
382</Trajectory>
383</domainReference>
384</PointSeriesDomain>
385
386<gml:rangeSet>
387<gml:QuantityList uom="MLUnits.xml#m">0.27
3880.25
3890.10
3900.10
3910.11
3920.12
3930.12
3940.11
3950.11
3960.11
3970.11
3980.11
3990.12
4000.12
4010.11
4020.10
4030.10
4040.10
4050.10
4060.10
4070.10
4080.09
4090.09
4100.09
4110.09
4120.08
4130.08
4140.07
4150.06
4160.04
4170.02
4180.01
419-0.02
420-0.03
421-0.03
422-0.03
423-0.03
424-0.03
425-0.02
426-0.02
427-0.02
428-0.01
429-0.01
4300.00
4310.01
4320.01
4330.02
4340.02
4350.01
4360.00
437-0.01
438-0.03
439-0.03
440-0.04
441-0.05
442-0.05
443-0.05
444-0.05
445-0.05
446-0.03
447-0.03
448-0.02
449-0.01
450-0.01
4510.00
4520.00
4530.00
4540.01
4550.01
4560.02
4570.01
4580.01
4590.00
460-0.01
461-0.02
462-0.03
463-0.03
464-0.04
465</gml:QuantityList>
466</gml:rangeSet>
467<parameter xlink:href="MLStandardNames.xml#sea_surface_height_above_sea_level"/>
468
469</PointSeriesFeature>
470
471</gml:featureMember>
472
473
474</gml:FeatureCollection>
475</Dataset>
Note: See TracBrowser for help on using the repository browser.