Last change
on this file since 2572 was
6,
checked in by ymipsl, 16 years ago
|
Import des sources XMLF90
|
File size:
1.1 KB
|
Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | |
---|
3 | <!DOCTYPE public test> |
---|
4 | |
---|
5 | <!-- A Comment: Illustration of Allowable Constructs --> |
---|
6 | |
---|
7 | <!-- Test of XML parsing |
---|
8 | Alberto Garcia, May-June 2003 --> |
---|
9 | |
---|
10 | |
---|
11 | <test version = "0.1"> |
---|
12 | <preamble>A small file exercising all the features |
---|
13 | in the parser... |
---|
14 | </preamble> |
---|
15 | |
---|
16 | <title>Mary had a <little> lamb who liked standard entities</title> |
---|
17 | |
---|
18 | <text>This is some text, with character references (O W) |
---|
19 | and some cdata sections inside to make it more interesting. How about this |
---|
20 | <![CDATA[ |
---|
21 | <begin> |
---|
22 | pepe |
---|
23 | </end> ]]> ? |
---|
24 | </text> |
---|
25 | |
---|
26 | <single what="An 'empty' tag" /> |
---|
27 | |
---|
28 | <misc disposition="throw_away" |
---|
29 | other_att = 'single quotes to enclose "Oh!"...' > |
---|
30 | In the next pcdata chunk there is an unknown entity |
---|
31 | 1.24 ¬known;3.45 |
---|
32 | (It was flagged, but the parser continued) |
---|
33 | |
---|
34 | In the following chunk there is a character reference out of range of the |
---|
35 | char() intrinsic... remove it from test.xml if it gives you trouble. |
---|
36 | |
---|
37 | Offending reference: ඀ |
---|
38 | |
---|
39 | 2.454 9.455 |
---|
40 | <![CDATA[ <<<<< some hairy cdata!>>>]]]<<<>!? ]]> |
---|
41 | </misc> |
---|
42 | </test> |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | |
---|
Note: See
TracBrowser
for help on using the repository browser.