PageRenderTime 163ms CodeModel.GetById 158ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/XML/xml/dtds/oasis-catalog.dtd

#
Document Type Definition | 149 lines | 124 code | 25 blank | 0 comment | 0 complexity | 3df56117f92f6befc4d4bf312262cc14 MD5 | raw file
  1<!-- $Id: oasis-catalog.dtd 217 2003-10-29 00:11:01Z spestov $ -->
  2
  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)">
  9
 10<!ENTITY % p "">
 11<!ENTITY % s "">
 12<!ENTITY % nsdecl "xmlns%s;">
 13
 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">
 25
 26<!ENTITY % local.catalog.mix "">
 27<!ENTITY % local.catalog.attribs "">
 28
 29<!ELEMENT %catalog; (%public;|%system;|%uri;
 30                     |%rewriteSystem;|%rewriteURI;
 31                     |%delegatePublic;|%delegateSystem;|%delegateURI;
 32                     |%nextCatalog;|%group; %local.catalog.mix;)+>
 33<!ATTLIST %catalog;
 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;
 39>
 40
 41<!ENTITY % local.public.attribs "">
 42
 43<!ELEMENT %public; EMPTY>
 44<!ATTLIST %public;
 45	id		ID			#IMPLIED
 46	publicId	%publicIdentifier;	#REQUIRED
 47	uri		%uriReference;		#REQUIRED
 48	xml:base	%uriReference;		#IMPLIED
 49        %local.public.attribs;
 50>
 51
 52<!ENTITY % local.system.attribs "">
 53
 54<!ELEMENT %system; EMPTY>
 55<!ATTLIST %system;
 56	id		ID			#IMPLIED
 57	systemId	%string;		#REQUIRED
 58	uri		%uriReference;		#REQUIRED
 59	xml:base	%uriReference;		#IMPLIED
 60        %local.system.attribs;
 61>
 62
 63<!ENTITY % local.uri.attribs "">
 64
 65<!ELEMENT %uri; EMPTY>
 66<!ATTLIST %uri;
 67	id		ID			#IMPLIED
 68	name		%string;		#REQUIRED
 69	uri		%uriReference;		#REQUIRED
 70	xml:base	%uriReference;		#IMPLIED
 71        %local.uri.attribs;
 72>
 73
 74<!ENTITY % local.rewriteSystem.attribs "">
 75
 76<!ELEMENT %rewriteSystem; EMPTY>
 77<!ATTLIST %rewriteSystem;
 78	id		ID			#IMPLIED
 79	systemIdStartString	%string;	#REQUIRED
 80	rewritePrefix		%string;		#REQUIRED
 81        %local.rewriteSystem.attribs;
 82>
 83
 84<!ENTITY % local.rewriteURI.attribs "">
 85
 86<!ELEMENT %rewriteURI; EMPTY>
 87<!ATTLIST %rewriteURI;
 88	id		ID			#IMPLIED
 89	uriStartString	%string;		#REQUIRED
 90	rewritePrefix	%string;		#REQUIRED
 91        %local.rewriteURI.attribs;
 92>
 93
 94<!ENTITY % local.delegatePublic.attribs "">
 95
 96<!ELEMENT %delegatePublic; EMPTY>
 97<!ATTLIST %delegatePublic;
 98	id		ID			#IMPLIED
 99	publicIdStartString	%partialPublicIdentifier;	#REQUIRED
100	catalog		%uriReference;		#REQUIRED
101	xml:base	%uriReference;		#IMPLIED
102        %local.delegatePublic.attribs;
103>
104
105<!ENTITY % local.delegateSystem.attribs "">
106
107<!ELEMENT %delegateSystem; EMPTY>
108<!ATTLIST %delegateSystem;
109	id		ID			#IMPLIED
110	systemIdStartString	%string;	#REQUIRED
111	catalog		%uriReference;		#REQUIRED
112	xml:base	%uriReference;		#IMPLIED
113        %local.delegateSystem.attribs;
114>
115
116<!ENTITY % local.delegateURI.attribs "">
117
118<!ELEMENT %delegateURI; EMPTY>
119<!ATTLIST %delegateURI;
120	id		ID			#IMPLIED
121	uriStartString	%string;		#REQUIRED
122	catalog		%uriReference;		#REQUIRED
123	xml:base	%uriReference;		#IMPLIED
124        %local.delegateURI.attribs;
125>
126
127<!ENTITY % local.nextCatalog.attribs "">
128
129<!ELEMENT %nextCatalog; EMPTY>
130<!ATTLIST %nextCatalog;
131	id		ID			#IMPLIED
132	catalog		%uriReference;		#REQUIRED
133	xml:base	%uriReference;		#IMPLIED
134        %local.nextCatalog.attribs;
135>
136
137<!ENTITY % local.group.mix "">
138<!ENTITY % local.group.attribs "">
139
140<!ELEMENT %group; (%public;|%system;|%uri;
141                   |%rewriteSystem;|%rewriteURI;
142                   |%delegatePublic;|%delegateSystem;|%delegateURI;
143                   |%nextCatalog; %local.group.mix;)+>
144<!ATTLIST %group;
145	id		ID			#IMPLIED
146	prefer		%systemOrPublic;	#IMPLIED
147	xml:base	%uriReference;		#IMPLIED
148        %local.group.attribs;
149>