1 <!-- $Id: catalog.dtd,v 1.1 2005-03-13 18:02:52 david Exp $ -->
3 <!ENTITY % pubIdChars
"CDATA">
4 <!ENTITY % publicIdentifier
"%pubIdChars;">
5 <!ENTITY % partialPublicIdentifier
"%pubIdChars;">
6 <!ENTITY % uriReference
"CDATA">
7 <!ENTITY % string
"CDATA">
8 <!ENTITY % systemOrPublic
"(system|public)">
12 <!ENTITY % nsdecl
"xmlns%s;">
14 <!ENTITY % catalog
"%p;catalog">
15 <!ENTITY % public
"%p;public">
16 <!ENTITY % system
"%p;system">
17 <!ENTITY % uri
"%p;uri">
18 <!ENTITY % rewriteSystem
"%p;rewriteSystem">
19 <!ENTITY % rewriteURI
"%p;rewriteURI">
20 <!ENTITY % delegatePublic
"%p;delegatePublic">
21 <!ENTITY % delegateSystem
"%p;delegateSystem">
22 <!ENTITY % delegateURI
"%p;delegateURI">
23 <!ENTITY % nextCatalog
"%p;nextCatalog">
24 <!ENTITY % group
"%p;group">
26 <!ENTITY % local.catalog.mix
"">
27 <!ENTITY % local.catalog.attribs
"">
29 <!ELEMENT %catalog; (%public;|%system;|%uri;
30 |%rewriteSystem;|%rewriteURI;
31 |%delegatePublic;|%delegateSystem;|%delegateURI;
32 |%nextCatalog;|%group; %local.catalog.mix;)+
>
34 %nsdecl; %uriReference; #FIXED
35 'urn:oasis:names:tc:entity:xmlns:xml:catalog'
36 prefer %systemOrPublic; #IMPLIED
37 xml:base %uriReference; #IMPLIED
38 %local.catalog.attribs;
41 <!ENTITY % local.public.attribs
"">
43 <!ELEMENT %public; EMPTY
>
46 publicId %publicIdentifier; #REQUIRED
47 uri %uriReference; #REQUIRED
48 xml:base %uriReference; #IMPLIED
49 %local.public.attribs;
52 <!ENTITY % local.system.attribs
"">
54 <!ELEMENT %system; EMPTY
>
57 systemId %string; #REQUIRED
58 uri %uriReference; #REQUIRED
59 xml:base %uriReference; #IMPLIED
60 %local.system.attribs;
63 <!ENTITY % local.uri.attribs
"">
65 <!ELEMENT %uri; EMPTY
>
68 name %string; #REQUIRED
69 uri %uriReference; #REQUIRED
70 xml:base %uriReference; #IMPLIED
74 <!ENTITY % local.rewriteSystem.attribs
"">
76 <!ELEMENT %rewriteSystem; EMPTY
>
77 <!ATTLIST %rewriteSystem;
79 systemIdStartString %string; #REQUIRED
80 rewritePrefix %string; #REQUIRED
81 %local.rewriteSystem.attribs;
84 <!ENTITY % local.rewriteURI.attribs
"">
86 <!ELEMENT %rewriteURI; EMPTY
>
87 <!ATTLIST %rewriteURI;
89 uriStartString %string; #REQUIRED
90 rewritePrefix %string; #REQUIRED
91 %local.rewriteURI.attribs;
94 <!ENTITY % local.delegatePublic.attribs
"">
96 <!ELEMENT %delegatePublic; EMPTY
>
97 <!ATTLIST %delegatePublic;
99 publicIdStartString %partialPublicIdentifier; #REQUIRED
100 catalog %uriReference; #REQUIRED
101 xml:base %uriReference; #IMPLIED
102 %local.delegatePublic.attribs;
105 <!ENTITY % local.delegateSystem.attribs
"">
107 <!ELEMENT %delegateSystem; EMPTY
>
108 <!ATTLIST %delegateSystem;
110 systemIdStartString %string; #REQUIRED
111 catalog %uriReference; #REQUIRED
112 xml:base %uriReference; #IMPLIED
113 %local.delegateSystem.attribs;
116 <!ENTITY % local.delegateURI.attribs
"">
118 <!ELEMENT %delegateURI; EMPTY
>
119 <!ATTLIST %delegateURI;
121 uriStartString %string; #REQUIRED
122 catalog %uriReference; #REQUIRED
123 xml:base %uriReference; #IMPLIED
124 %local.delegateURI.attribs;
127 <!ENTITY % local.nextCatalog.attribs
"">
129 <!ELEMENT %nextCatalog; EMPTY
>
130 <!ATTLIST %nextCatalog;
132 catalog %uriReference; #REQUIRED
133 xml:base %uriReference; #IMPLIED
134 %local.nextCatalog.attribs;
137 <!ENTITY % local.group.mix
"">
138 <!ENTITY % local.group.attribs
"">
140 <!ELEMENT %group; (%public;|%system;|%uri;
141 |%rewriteSystem;|%rewriteURI;
142 |%delegatePublic;|%delegateSystem;|%delegateURI;
143 |%nextCatalog; %local.group.mix;)+
>
146 prefer %systemOrPublic; #IMPLIED
147 xml:base %uriReference; #IMPLIED
148 %local.group.attribs;