File: 004.xml

package info (click to toggle)
pxp 1.2.9-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,788 kB
  • sloc: ml: 28,666; xml: 2,597; makefile: 822; sh: 691
file content (16 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0"?>

<!DOCTYPE x [
<!ENTITY % e1 SYSTEM "004.ent1">
%e1;
<!--<!ENTITY f SYSTEM "004.ent2">-->
<!ELEMENT x ANY>
]>

<!-- This test checks whether the entity f can be expanded although
     there is an XML declaration <?xml version="1.0"?> at the beginning
     of 004.ent2. In particular, the method replacement_text of
     external entities is tested.
  -->

<x>&f;</x>