New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
test.xml in vendors/XMLF90/current/doc/Examples/dom – NEMO

source: vendors/XMLF90/current/doc/Examples/dom/test.xml @ 1960

Last change on this file since 1960 was 1960, checked in by flavoni, 14 years ago

importing XMLF90 r_53 vendor

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 &lt;little&gt; lamb who liked standard entities</title>
17
18<text>This is some text, with character references (&#x4F; &#87;)
19and 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!"...'  >
30In the next pcdata chunk there is an unknown entity
311.24 &notknown;3.45
32(It was flagged, but the parser continued)
33
34In the following chunk there is a character reference out of range of the
35char() intrinsic... remove it from test.xml if it gives you trouble.
36
37Offending reference: &#3456; 
38
392.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.