source: trunk/QA/xmlconf/sun/valid/sa04.xml @ 450

Last change on this file since 450 was 450, checked in by cameron, 9 years ago

Include xmlconf

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1<?xml version='1.0' standalone='yes'?>
2
3<!DOCTYPE attributes SYSTEM "sa.dtd" [
4    <!--
5        This one is standalone since the values are
6        pre-normalized in this document, except that
7        one defaulted attribute is (re)defined internally
8        and so is one normalized one.
9   
10        Similarly the entity refs are internal.  Unparsed
11        entities and notations are not listed among the
12        items that must not be externally declared in
13        standalone documents, even though processors must
14        in theory report their identifiers.
15
16    -->
17
18    <!ATTLIST attributes
19        token           (a|b|c)         "a"
20        notation        (nonce|foo|bar) #IMPLIED
21        >
22    <!ENTITY internal "internal&number;">
23    <!ENTITY number "42">
24]>
25
26<attributes
27    notation =  " nonce "
28    nmtoken =   "this-gets-normalized"
29    nmtokens =  "this also gets normalized"
30    id =        "&internal;"
31    idref =     "&internal;"
32    idrefs =    "&internal; &internal; &internal;"
33    entity =    "unparsed-1"
34    entities =  "unparsed-1 unparsed-2"
35    cdata =     "nothing happens to this one!"
36    />
37
38<?pi equals three?>
Note: See TracBrowser for help on using the repository browser.