File: internal_dtd.xml

package info (click to toggle)
libnanoxml2-java 2.2.3.dfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 988 kB
  • sloc: java: 5,085; xml: 150; makefile: 86; sh: 59
file content (16 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE FOO [
    <!ENTITY % extParamEntity SYSTEM "include.ent">
    <!ENTITY value "%extParamEntity;">
    <!ENTITY % name "FOO">
    <!ELEMENT %name; (#PCDATA)>
    <!ENTITY % arg "x CDATA #REQUIRED y CDATA #FIXED 'fixedValue'">
    <!ATTLIST %name;
        %arg;
        z CDATA "defaultValue">
    <!ENTITY tab "&#9;">
    <!ENTITY lf "&#10;">
    <!ENTITY cr "&#13;">
]>

<FOO x='1'>&value;&tab;&lf;&#13;&cr;</FOO>