crossley 01/10/23 04:49:43 Modified: documentation/xdocs catalog-test.xml Log: Clarify that this document tests the entity resolver by declaring some external entity sets and using some character entities from them Shows the actual DOCTYPE declaration Revision Changes Path 1.2 +23 -13 xml-cocoon2/documentation/xdocs/catalog-test.xml Index: catalog-test.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/documentation/xdocs/catalog-test.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- catalog-test.xml 2001/10/11 09:51:17 1.1 +++ catalog-test.xml 2001/10/23 11:49:43 1.2 @@ -9,9 +9,9 @@ <document> <header> - <title>Testing: Entity resolution with catalogs</title> + <title>Testing: Entity resolver</title> <subtitle>Test document to ensure external entity resolution</subtitle> - <version>0.1</version> + <version>1.0</version> <type>Technical document</type> <authors> <person name="David Crossley" email="[EMAIL PROTECTED]"/> @@ -21,7 +21,8 @@ <body> <s1 title="Introduction"> <p> - Testing the entity catalogs and the resolution of entities. + This document <code>catalog-test.xml</code> facilitates the testing of + the entity catalogs and the resolution of entities. </p> <p> @@ -35,24 +36,33 @@ </p> <ul> - <li>document-v10.dtd ... - "-//APACHE//DTD Documentation V1.0//EN" - (and hence characters.ent) - </li> - <li>ISOnum.pen ... - "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" - </li> + <li>document-v10.dtd (and hence characters.ent)</li> + <li>ISOnum.pen</li> </ul> + + <p>Here is the actual declaration ...</p> + +<source><![CDATA[ +<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.0//EN" "dtd/document-v10.dtd" +[ + <!ENTITY % ISOnum PUBLIC + "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" + "ISOnum.pen"> + %ISOnum; +]> +]]></source> </s1> <s1 title="Tests"> <p> - The following entity references should be properly resolved ... + The following entity references should be properly resolved. + Watch the build messages from "<code>build docs</code>" and see + the result presented below. </p> <ul> - <li>ISOnum.pen ... &half;... ½</li> - <li>characters.ent ... Jörg</li> + <li>ISOnum.pen ... &half; ... ½</li> + <li>characters.ent ... &ouml; ... Jörg</li> </ul> </s1>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]