You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by cr...@apache.org on 2002/12/24 07:15:54 UTC

cvs commit: xml-forrest/src/resources/schema/dtd catalog-v10.dtd

crossley    2002/12/23 22:15:54

  Modified:    src/resources/schema catalog
  Added:       src/resources/schema/dtd catalog-v10.dtd
  Log:
  The OASIS XML Catalog DTD needs to be loaded early by Cocoon, so that
  xmlcatalog files (e.g. for DocBook) can be later used by entity-resolver.
  Solve Catch-22 when xmlcatalog files declare their DTD.
  Obtained from: http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd
  Their CVS Id: catalog.dtd,v 1.10 2002/10/18 23:54:58 ndw
  
  Revision  Changes    Path
  1.10      +2 -0      xml-forrest/src/resources/schema/catalog
  
  Index: catalog
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/schema/catalog,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- catalog	22 Jun 2002 01:35:17 -0000	1.9
  +++ catalog	24 Dec 2002 06:15:53 -0000	1.10
  @@ -27,6 +27,8 @@
          "dtd/contributors-v10.dtd"
   PUBLIC "-//Outerthought//DTD Libre Configuration V0.1//EN"
          "dtd/libre-v01.dtd"
  +PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
  +       "dtd/catalog-v10.dtd"
   
   -- Reusable modules --
   PUBLIC "-//APACHE//ENTITIES Documentation V1.1//EN"
  
  
  
  1.1                  xml-forrest/src/resources/schema/dtd/catalog-v10.dtd
  
  Index: catalog-v10.dtd
  ===================================================================
  <!-- Id: catalog.dtd,v 1.10 2002/10/18 23:54:58 ndw Exp -->
  <!-- http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd -->
  
  <!ENTITY % pubIdChars "CDATA">
  <!ENTITY % publicIdentifier "%pubIdChars;">
  <!ENTITY % partialPublicIdentifier "%pubIdChars;">
  <!ENTITY % uriReference "CDATA">
  <!ENTITY % string "CDATA">
  <!ENTITY % systemOrPublic "(system|public)">
  
  <!ENTITY % p "">
  <!ENTITY % s "">
  <!ENTITY % nsdecl "xmlns%s;">
  
  <!ENTITY % catalog "%p;catalog">
  <!ENTITY % public "%p;public">
  <!ENTITY % system "%p;system">
  <!ENTITY % uri "%p;uri">
  <!ENTITY % rewriteSystem "%p;rewriteSystem">
  <!ENTITY % rewriteURI "%p;rewriteURI">
  <!ENTITY % delegatePublic "%p;delegatePublic">
  <!ENTITY % delegateSystem "%p;delegateSystem">
  <!ENTITY % delegateURI "%p;delegateURI">
  <!ENTITY % nextCatalog "%p;nextCatalog">
  <!ENTITY % group "%p;group">
  
  <!ENTITY % local.catalog.mix "">
  <!ENTITY % local.catalog.attribs "">
  
  <!ELEMENT %catalog; (%public;|%system;|%uri;
                       |%rewriteSystem;|%rewriteURI;
                       |%delegatePublic;|%delegateSystem;|%delegateURI;
                       |%nextCatalog;|%group; %local.catalog.mix;)+>
  <!ATTLIST %catalog;
  	%nsdecl;	%uriReference;		#FIXED
  		'urn:oasis:names:tc:entity:xmlns:xml:catalog'
  	prefer		%systemOrPublic;	#IMPLIED
  	xml:base	%uriReference;		#IMPLIED
  	%local.catalog.attribs;
  >
  
  <!ENTITY % local.public.attribs "">
  
  <!ELEMENT %public; EMPTY>
  <!ATTLIST %public;
  	id		ID			#IMPLIED
  	publicId	%publicIdentifier;	#REQUIRED
  	uri		%uriReference;		#REQUIRED
  	xml:base	%uriReference;		#IMPLIED
          %local.public.attribs;
  >
  
  <!ENTITY % local.system.attribs "">
  
  <!ELEMENT %system; EMPTY>
  <!ATTLIST %system;
  	id		ID			#IMPLIED
  	systemId	%string;		#REQUIRED
  	uri		%uriReference;		#REQUIRED
  	xml:base	%uriReference;		#IMPLIED
          %local.system.attribs;
  >
  
  <!ENTITY % local.uri.attribs "">
  
  <!ELEMENT %uri; EMPTY>
  <!ATTLIST %uri;
  	id		ID			#IMPLIED
  	name		%string;		#REQUIRED
  	uri		%uriReference;		#REQUIRED
  	xml:base	%uriReference;		#IMPLIED
          %local.uri.attribs;
  >
  
  <!ENTITY % local.rewriteSystem.attribs "">
  
  <!ELEMENT %rewriteSystem; EMPTY>
  <!ATTLIST %rewriteSystem;
  	id		ID			#IMPLIED
  	systemIdStartString	%string;	#REQUIRED
  	rewritePrefix		%string;		#REQUIRED
          %local.rewriteSystem.attribs;
  >
  
  <!ENTITY % local.rewriteURI.attribs "">
  
  <!ELEMENT %rewriteURI; EMPTY>
  <!ATTLIST %rewriteURI;
  	id		ID			#IMPLIED
  	uriStartString	%string;		#REQUIRED
  	rewritePrefix	%string;		#REQUIRED
          %local.rewriteURI.attribs;
  >
  
  <!ENTITY % local.delegatePublic.attribs "">
  
  <!ELEMENT %delegatePublic; EMPTY>
  <!ATTLIST %delegatePublic;
  	id		ID			#IMPLIED
  	publicIdStartString	%partialPublicIdentifier;	#REQUIRED
  	catalog		%uriReference;		#REQUIRED
  	xml:base	%uriReference;		#IMPLIED
          %local.delegatePublic.attribs;
  >
  
  <!ENTITY % local.delegateSystem.attribs "">
  
  <!ELEMENT %delegateSystem; EMPTY>
  <!ATTLIST %delegateSystem;
  	id		ID			#IMPLIED
  	systemIdStartString	%string;	#REQUIRED
  	catalog		%uriReference;		#REQUIRED
  	xml:base	%uriReference;		#IMPLIED
          %local.delegateSystem.attribs;
  >
  
  <!ENTITY % local.delegateURI.attribs "">
  
  <!ELEMENT %delegateURI; EMPTY>
  <!ATTLIST %delegateURI;
  	id		ID			#IMPLIED
  	uriStartString	%string;		#REQUIRED
  	catalog		%uriReference;		#REQUIRED
  	xml:base	%uriReference;		#IMPLIED
          %local.delegateURI.attribs;
  >
  
  <!ENTITY % local.nextCatalog.attribs "">
  
  <!ELEMENT %nextCatalog; EMPTY>
  <!ATTLIST %nextCatalog;
  	id		ID			#IMPLIED
  	catalog		%uriReference;		#REQUIRED
  	xml:base	%uriReference;		#IMPLIED
          %local.nextCatalog.attribs;
  >
  
  <!ENTITY % local.group.mix "">
  <!ENTITY % local.group.attribs "">
  
  <!ELEMENT %group; (%public;|%system;|%uri;
                     |%rewriteSystem;|%rewriteURI;
                     |%delegatePublic;|%delegateSystem;|%delegateURI;
                     |%nextCatalog; %local.group.mix;)+>
  <!ATTLIST %group;
  	id		ID			#IMPLIED
  	prefer		%systemOrPublic;	#IMPLIED
  	xml:base	%uriReference;		#IMPLIED
          %local.group.attribs;
  >