Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 86769 invoked from network); 8 Oct 2008 22:55:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Oct 2008 22:55:52 -0000 Received: (qmail 87838 invoked by uid 500); 8 Oct 2008 22:55:51 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 87798 invoked by uid 500); 8 Oct 2008 22:55:51 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" List-Id: Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 87789 invoked by uid 99); 8 Oct 2008 22:55:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2008 15:55:51 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2008 22:54:55 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5F4BE23888F4; Wed, 8 Oct 2008 15:55:01 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r703014 - /forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml Date: Wed, 08 Oct 2008 22:55:01 -0000 To: svn@forrest.apache.org From: crossley@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081008225501.5F4BE23888F4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: crossley Date: Wed Oct 8 15:55:00 2008 New Revision: 703014 URL: http://svn.apache.org/viewvc?rev=703014&view=rev Log: Replace mentions of document-v13 with document-v20 Contributed by: Carlos Tejo Issue: FOR-1124 Modified: forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml Modified: forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml?rev=703014&r1=703013&r2=703014&view=diff ============================================================================== --- forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml (original) +++ forrest/trunk/site-author/content/xdocs/docs_0_90/validation.xml Wed Oct 8 15:55:00 2008 @@ -44,7 +44,7 @@ Forrest also uses the XML Document Type Declaration to effect the Content Aware Pipelines. Remember that you are not required to use DTDs (for example Forrest can also respond to a - namespace) so RELAX NG or W3c XML Schema can be used. + namespace) so RELAX NG or W3C XML Schema can be used.

If you do use DTDs, then forrest is automatically configured to do XML @@ -136,7 +136,7 @@ from Forrest. This is what we'll demonstrate here, using our earlier download format as an example. Our download format adds a group of new elements to the - standard 'documentv13' format. Our new elements are described by the + standard 'documentv20' format. Our new elements are described by the following DTD:

@@ -154,14 +154,14 @@ size CDATA #IMPLIED>

- The document-v13 entities are defined in a reusable 'module': - forrest/main/webapp/resources/schema/dtd/document-v13.mod + The document-v20 entities are defined in a reusable 'module': + forrest/main/webapp/resources/schema/dtd/document-v20.mod The - forrest/main/webapp/resources/schema/dtd/document-v13.dtd + forrest/main/webapp/resources/schema/dtd/document-v20.dtd file provides a full description and basic example of how to pull in modules. In our example, our DTD reuses modules common-charents-v10.mod and - document-v13.mod. Here is the full DTD, with explanation + document-v20.mod. Here is the full DTD, with explanation to follow.

@@ -194,8 +194,8 @@ <!-- Document --> <!-- =============================================================== --> -<!ENTITY % document PUBLIC "-//APACHE//ENTITIES Documentation V1.3//EN" -"document-v13.mod"> +<!ENTITY % document PUBLIC "-//APACHE//ENTITIES Documentation V2.0//EN" +"document-v20.mod"> <!-- Override this entity so that 'release' is allowed below 'section' --> <!ENTITY % local.sections "|release"> @@ -235,10 +235,10 @@ defines character symbol sets. We then define the 'document' entity. However, before the %document; PE reference, we first override the 'local.section' entity. This is a hook into - document-v13.mod. By setting its value to '|release', we declare that + document-v20.mod. By setting its value to '|release', we declare that our <release> element is to be allowed wherever "local sections" are used. There are five or so such hooks for different areas of the - document; see document-v13.dtd for more details. We then import the + document; see document-v20.dtd for more details. We then import the %document; contents, and declare the rest of our DTD elements.