forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 23140 - in forrest/trunk: . src/core/context src/core/context/resources/schema src/core/context/resources/schema/dtd src/core/context/resources/schema/dtd/v20 src/core/context/resources/stylesheets src/core/context/skins/common/xslt/fo src/core/fresh-site/src/documentation src/core/fresh-site/src/documentation/content/xdocs src/core/fresh-site/src/documentation/content/xdocs/samples src/core/fresh-site/src/documentation/content/xdocs/samples/subdir
Date Thu, 22 Jul 2004 08:03:30 GMT
Author: crossley
Date: Thu Jul 22 01:03:28 2004
New Revision: 23140

Added:
   forrest/trunk/src/core/context/resources/schema/dtd/changes-v13.dtd   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/document-v13.dtd   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/document-v13.mod   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/faq-v13.dtd   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/howto-v13.dtd   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/todo-v13.dtd   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/v20/
   forrest/trunk/src/core/context/resources/schema/dtd/v20/changes-v20.dtd   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/v20/changes-v20.mod   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/v20/document-v20.dtd   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/v20/document-v20.mod   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/v20/faq-v20.dtd   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/v20/faq-v20.mod   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/v20/howto-v20.dtd   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/v20/todo-v20.dtd   (contents, props changed)
   forrest/trunk/src/core/context/resources/schema/dtd/v20/todo-v20.mod   (contents, props changed)
Modified:
   forrest/trunk/build.xml
   forrest/trunk/src/core/context/faq.xmap
   forrest/trunk/src/core/context/forrest.xmap
   forrest/trunk/src/core/context/resources/schema/catalog
   forrest/trunk/src/core/context/resources/schema/catalog.xcat
   forrest/trunk/src/core/context/resources/stylesheets/html2document.xsl
   forrest/trunk/src/core/context/resources/stylesheets/openoffice-writer2forrest.xsl
   forrest/trunk/src/core/context/sitemap.xmap
   forrest/trunk/src/core/context/skins/common/xslt/fo/document2fo.xsl
   forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/index.xml
   forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/ascii-art.xml
   forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/faq.xml
   forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/index.xml
   forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample.xml
   forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample2.xml
   forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/subdir/index.xml
   forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
   forrest/trunk/status.xml
Log:
Have @class attribute in DTD for every tag, which enables the "extra-css"
section in the skinconf to be put to good use.
Updated all v1.2 DTDs to become v1.3 DTDs
and updated the v2.0a DTDs to become v2.0 DTDs.
Added demo of extra-css to the seed site and updated some sample docs to
use new v1.3 DTDs.
Issue: FOR-174
Submitted by: Rick Tessner


Modified: forrest/trunk/build.xml
==============================================================================
--- forrest/trunk/build.xml	(original)
+++ forrest/trunk/build.xml	Thu Jul 22 01:03:28 2004
@@ -325,13 +325,23 @@
 	<dtd2xml classpathref="classpath" outputDir="${dtdx.dir}" preserveDirs="yes" extension=".dtdx">
 		<fileset dir="./src/core/context/resources/schema/dtd">
 			<include name="changes-v12.dtd"/>
+			<include name="changes-v13.dtd"/>
 			<include name="document-v11.dtd"/>
 			<include name="document-v12.dtd"/>
+			<include name="document-v13.dtd"/>
 			<include name="faq-v12.dtd"/>
+			<include name="faq-v13.dtd"/>
 			<include name="howto-v12.dtd"/>
+			<include name="howto-v13.dtd"/>
 			<include name="todo-v12.dtd"/>
+			<include name="todo-v13.dtd"/>
 			<include name="v20a/document-v20.dtd"/>
 			<include name="v20a/faq-v20.dtd"/>
+                        <include name="v20/document-v20.dtd"/>
+                        <include name="v20/changes-v20.dtd"/>
+                        <include name="v20/faq-v20.dtd"/>
+                        <include name="v20/howto-v20.dtd"/>
+                        <include name="v20/todo-v20.dtd"/>
 		</fileset>
 	</dtd2xml>
 

Modified: forrest/trunk/src/core/context/faq.xmap
==============================================================================
--- forrest/trunk/src/core/context/faq.xmap	(original)
+++ forrest/trunk/src/core/context/faq.xmap	Thu Jul 22 01:03:28 2004
@@ -48,9 +48,15 @@
         <sourcetype name="faq-v12">
           <document-declaration public-id="-//APACHE//DTD FAQ V1.2//EN" />
         </sourcetype>
+        <sourcetype name="faq-v13">
+          <document-declaration public-id="-//APACHE//DTD FAQ V1.3//EN" />
+        </sourcetype>
         <sourcetype name="faq-v20a">
           <document-declaration public-id="-//APACHE//DTD FAQ V2.0a//EN" />
         </sourcetype>
+        <sourcetype name="faq-v20">
+          <document-declaration public-id="-//APACHE//DTD FAQ V2.0//EN" />
+        </sourcetype>
       </map:action>
     </map:actions>
 
@@ -74,8 +80,15 @@
           <map:when test="faq-v12">
             <map:transform src="{forrest:stylesheets}/faq2document.xsl" />
           </map:when>
+          <map:when test="faq-v13">
+            <map:transform src="{forrest:stylesheets}/faq2document.xsl" />
+          </map:when>
           <map:when test="faq-v20a">
             <map:transform src="{forrest:stylesheets}/faqv20tofaqv12.xsl" />
+            <map:transform src="{forrest:stylesheets}/faq2document.xsl" />
+          </map:when>
+          <map:when test="faq-v20">
+            <map:transform src="{forrest:stylesheets}/faqv20tofaqv13.xsl" />
             <map:transform src="{forrest:stylesheets}/faq2document.xsl" />
           </map:when>
           <map:otherwise />

Modified: forrest/trunk/src/core/context/forrest.xmap
==============================================================================
--- forrest/trunk/src/core/context/forrest.xmap	(original)
+++ forrest/trunk/src/core/context/forrest.xmap	Thu Jul 22 01:03:28 2004
@@ -110,9 +110,30 @@
         <sourcetype name="howto-v12">
           <document-declaration public-id="-//APACHE//DTD How-to V1.2//EN" />
         </sourcetype>
+        <sourcetype name="todo-v13">
+          <document-declaration public-id="-//APACHE//DTD Todo V1.3//EN" />
+        </sourcetype>
+        <sourcetype name="changes-v13">
+          <document-declaration public-id="-//APACHE//DTD Changes V1.3//EN" />
+        </sourcetype>
+        <sourcetype name="howto-v13">
+          <document-declaration public-id="-//APACHE//DTD How-to V1.3//EN" />
+        </sourcetype>
         <sourcetype name="document-v20a">
           <document-declaration public-id="-//APACHE//DTD Documentation V2.0a//EN" />
         </sourcetype>
+        <sourcetype name="document-v20">
+          <document-declaration public-id="-//APACHE//DTD Documentation V2.0//EN" />
+        </sourcetype>
+        <sourcetype name="todo-v20">
+          <document-declaration public-id="-//APACHE//DTD Todo V2.0//EN" />
+        </sourcetype>
+        <sourcetype name="changes-v20">
+          <document-declaration public-id="-//APACHE//DTD Changes V2.0//EN" />
+        </sourcetype>
+        <sourcetype name="howto-v20">
+          <document-declaration public-id="-//APACHE//DTD How-to V2.0//EN" />
+        </sourcetype>
         <sourcetype name="docbook-v4.2">
           <document-declaration public-id="-//OASIS//DTD DocBook XML V4.2//EN" />
         </sourcetype>
@@ -152,6 +173,10 @@
             <map:transform src="{forrest:stylesheets}/docv20todocv12.xsl" />
           </map:when>
 
+          <map:when test="document-v20">
+            <map:transform src="{forrest:stylesheets}/docv20todocv13.xsl" />
+          </map:when>
+
           <map:when test="howto-v10">
             <map:transform src="{forrest:stylesheets}/howto2document.xsl" />
           </map:when>
@@ -162,6 +187,12 @@
           <map:when test="howto-v12">
             <map:transform src="{forrest:stylesheets}/howto2document.xsl" />
           </map:when>
+          <map:when test="howto-v13">
+            <map:transform src="{forrest:stylesheets}/howto2document.xsl" />
+          </map:when>
+          <map:when test="howto-v20">
+            <map:transform src="{forrest:stylesheets}/howto2document.xsl" />
+          </map:when>
 
           <map:when test="todo-v10">
             <map:transform src="{forrest:stylesheets}/todo2document.xsl" />
@@ -175,6 +206,14 @@
             <map:transform src="{forrest:stylesheets}/todo2document.xsl" />
           </map:when>
 
+          <map:when test="todo-v13">
+            <map:transform src="{forrest:stylesheets}/todo2document.xsl" />
+          </map:when>
+
+          <map:when test="todo-v20">
+            <map:transform src="{forrest:stylesheets}/todo2document.xsl" />
+          </map:when>
+
           <map:when test="changes-v10">
             <map:transform src="{forrest:stylesheets}/changesv10tochangesv11.xsl" />
             <map:transform src="{forrest:stylesheets}/changes2document.xsl" />
@@ -185,6 +224,14 @@
           </map:when>
 
           <map:when test="changes-v12">
+            <map:transform src="{forrest:stylesheets}/changes2document.xsl" />
+          </map:when>
+
+          <map:when test="changes-v13">
+            <map:transform src="{forrest:stylesheets}/changes2document.xsl" />
+          </map:when>
+
+          <map:when test="changes-v20">
             <map:transform src="{forrest:stylesheets}/changes2document.xsl" />
           </map:when>
 

Modified: forrest/trunk/src/core/context/resources/schema/catalog
==============================================================================
--- forrest/trunk/src/core/context/resources/schema/catalog	(original)
+++ forrest/trunk/src/core/context/resources/schema/catalog	Thu Jul 22 01:03:28 2004
@@ -22,16 +22,26 @@
 OVERRIDE YES
 
 -- Document Type Definitions --
-PUBLIC "-//APACHE//DTD Documentation V1.2//EN"
-       "dtd/document-v12.dtd"
-PUBLIC "-//APACHE//DTD FAQ V1.2//EN"
-       "dtd/faq-v12.dtd"
-PUBLIC "-//APACHE//DTD Changes V1.2//EN"
-       "dtd/changes-v12.dtd"
-PUBLIC "-//APACHE//DTD Todo V1.2//EN"
-       "dtd/todo-v12.dtd"
-PUBLIC "-//APACHE//DTD How-to V1.2//EN"
-       "dtd/howto-v12.dtd"
+PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
+       "dtd/v20/document-v20.dtd"
+PUBLIC "-//APACHE//DTD FAQ V2.0//EN"
+       "dtd/v20/faq-v20.dtd"
+PUBLIC "-//APACHE//DTD Changes V2.0//EN"
+       "dtd/v20/changes-v20.dtd"
+PUBLIC "-//APACHE//DTD Todo V2.0//EN"
+       "dtd/v20/todo-v20.dtd"
+PUBLIC "-//APACHE//DTD How-to V2.0//EN"
+       "dtd/v20/howto-v20.dtd"
+PUBLIC "-//APACHE//DTD Documentation V1.3//EN"
+       "dtd/document-v13.dtd"
+PUBLIC "-//APACHE//DTD FAQ V1.3//EN"
+       "dtd/faq-v13.dtd"
+PUBLIC "-//APACHE//DTD Changes V1.3//EN"
+       "dtd/changes-v13.dtd"
+PUBLIC "-//APACHE//DTD Todo V1.3//EN"
+       "dtd/todo-v13.dtd"
+PUBLIC "-//APACHE//DTD How-to V1.3//EN"
+       "dtd/howto-v13.dtd"
 PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN"
        "dtd/book-cocoon-v10.dtd"
 PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN"
@@ -56,6 +66,16 @@
        "dtd/v20a/faq-v20.mod"
 
 -- Old DTDs --
+PUBLIC "-//APACHE//DTD Documentation V1.2//EN"
+       "dtd/document-v12.dtd"
+PUBLIC "-//APACHE//DTD FAQ V1.2//EN"
+       "dtd/faq-v12.dtd"
+PUBLIC "-//APACHE//DTD Changes V1.2//EN"
+       "dtd/changes-v12.dtd"
+PUBLIC "-//APACHE//DTD Todo V1.2//EN"
+       "dtd/todo-v12.dtd"
+PUBLIC "-//APACHE//DTD How-to V1.2//EN"
+       "dtd/howto-v12.dtd"
 PUBLIC "-//APACHE//DTD Documentation V1.1//EN"
        "dtd/document-v11.dtd"
 PUBLIC "-//APACHE//DTD Specification V1.1//EN"
@@ -84,6 +104,16 @@
        "dtd/v10/todo-v10.dtd"
 
 -- Reusable modules --
+PUBLIC "-//APACHE//ENTITIES Documentation V2.0//EN"
+       "dtd/v20/document-v20.mod"
+PUBLIC "-//APACHE//ENTITIES Changes V2.0//EN"
+       "dtd/v20/changes-v20.mod"
+PUBLIC "-//APACHE//ENTITIES FAQ V2.0//EN"
+       "dtd/v20/faq-v20.mod"
+PUBLIC "-//APACHE//ENTITIES Todo V2.0//EN"
+       "dtd/v20/todo-v20.mod"
+PUBLIC "-//APACHE//ENTITIES Documentation V1.3//EN"
+       "dtd/document-v13.mod"
 PUBLIC "-//APACHE//ENTITIES Documentation V1.2//EN"
        "dtd/document-v12.mod"
 PUBLIC "-//APACHE//ENTITIES Documentation V1.1//EN"

Modified: forrest/trunk/src/core/context/resources/schema/catalog.xcat
==============================================================================
--- forrest/trunk/src/core/context/resources/schema/catalog.xcat	(original)
+++ forrest/trunk/src/core/context/resources/schema/catalog.xcat	Thu Jul 22 01:03:28 2004
@@ -21,16 +21,26 @@
          prefer="public">
 
 <!-- Document Type Definitions (current) -->
-<public publicId="-//APACHE//DTD Documentation V1.2//EN"
-        uri="dtd/document-v12.dtd"/>
-<public publicId="-//APACHE//DTD FAQ V1.2//EN"
-        uri="dtd/faq-v12.dtd"/>
-<public publicId="-//APACHE//DTD Changes V1.2//EN"
-        uri="dtd/changes-v12.dtd"/>
-<public publicId="-//APACHE//DTD Todo V1.2//EN"
-        uri="dtd/todo-v12.dtd"/>
-<public publicId="-//APACHE//DTD How-to V1.2//EN"
-        uri="dtd/howto-v12.dtd"/>
+<public publicId="-//APACHE//DTD Documentation V2.0//EN"
+        uri="dtd/v20/document-v20.dtd"/>
+<public publicId="-//APACHE//DTD FAQ V2.0//EN"
+        uri="dtd/v20/faq-v20.dtd"/>
+<public publicId="-//APACHE//DTD Changes V2.0//EN"
+        uri="dtd/v20/changes-v20.dtd"/>
+<public publicId="-//APACHE//DTD Todo V2.0//EN"
+        uri="dtd/v20/todo-v20.dtd"/>
+<public publicId="-//APACHE//DTD How-to V2.0//EN"
+        uri="dtd/v20/howto-v20.dtd"/>
+<public publicId="-//APACHE//DTD Documentation V1.3//EN"
+        uri="dtd/document-v13.dtd"/>
+<public publicId="-//APACHE//DTD FAQ V1.3//EN"
+        uri="dtd/faq-v13.dtd"/>
+<public publicId="-//APACHE//DTD Changes V1.3//EN"
+        uri="dtd/changes-v13.dtd"/>
+<public publicId="-//APACHE//DTD Todo V1.3//EN"
+        uri="dtd/todo-v13.dtd"/>
+<public publicId="-//APACHE//DTD How-to V1.3//EN"
+        uri="dtd/howto-v13.dtd"/>
 <public publicId="-//APACHE//DTD Cocoon Documentation Book V1.0//EN"
         uri="dtd/book-cocoon-v10.dtd"/>
 <public publicId="-//APACHE//DTD Cocoon Documentation Tab V1.0//EN"
@@ -55,6 +65,16 @@
         uri="dtd/v20a/faq-v20.mod"/>
 
 <!-- Old DTDs -->
+<public publicId="-//APACHE//DTD Documentation V1.2//EN"
+        uri="dtd/document-v12.dtd"/>
+<public publicId="-//APACHE//DTD FAQ V1.2//EN"
+        uri="dtd/faq-v12.dtd"/>
+<public publicId="-//APACHE//DTD Changes V1.2//EN"
+        uri="dtd/changes-v12.dtd"/>
+<public publicId="-//APACHE//DTD Todo V1.2//EN"
+        uri="dtd/todo-v12.dtd"/>
+<public publicId="-//APACHE//DTD How-to V1.2//EN"
+        uri="dtd/howto-v12.dtd"/>
 <public publicId="-//APACHE//DTD Documentation V1.1//EN"
         uri="dtd/document-v11.dtd"/>
 <public publicId="-//APACHE//DTD Specification V1.1//EN"
@@ -83,6 +103,16 @@
         uri="dtd/v10/todo-v10.dtd"/>
 
 <!-- Reusable modules -->
+<public publicId="-//APACHE//ENTITIES Documentation V2.0//EN"
+        uri="dtd/v20/document-v20.mod"/>
+<public publicId="-//APACHE//ENTITIES Changes V2.0//EN"
+        uri="dtd/v20/changes-v20.mod"/>
+<public publicId="-//APACHE//ENTITIES FAQ V2.0//EN"
+        uri="dtd/v20/faq-v20.mod"/>
+<public publicId="-//APACHE//ENTITIES Todo V2.0//EN"
+        uri="dtd/v20/todo-v20.mod"/>
+<public publicId="-//APACHE//ENTITIES Documentation V1.3//EN"
+        uri="dtd/document-v13.mod"/>
 <public publicId="-//APACHE//ENTITIES Documentation V1.2//EN"
         uri="dtd/document-v12.mod"/>
 <public publicId="-//APACHE//ENTITIES Documentation V1.1//EN"
@@ -91,6 +121,8 @@
         uri="dtd/faq-v11.mod"/>
 <public publicId="-//APACHE//ENTITIES FAQ V1.2//EN"
         uri="dtd/faq-v12.mod"/>
+<public publicId="-//APACHE//ENTITIES FAQ V2.0//EN"
+        uri="dtd/v20/faq-v20.mod"/>
 <public publicId="-//APACHE//ENTITIES Todo V1.1//EN"
         uri="dtd/todo-v11.mod"/>
 <public publicId="-//APACHE//ENTITIES Common Elements V1.0//EN"

Added: forrest/trunk/src/core/context/resources/schema/dtd/changes-v13.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/changes-v13.dtd	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,95 @@
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Changes DTD (Version 1.2)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software development changes for use with the Apache projects.
+  It is an XML-compliant DTD and it's maintained by the Apache XML
+  project.
+
+TYPICAL INVOCATION:
+
+  <!DOCTYPE document PUBLIC
+       "-//APACHE//DTD Changes Vx.y//EN"
+       "changes-vxy.dtd">
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  It is important, expecially in open developped software projects, to keep
+  track of software changes both to give users indications of bugs that might
+  have been resolved, as well, and not less important, to provide credits
+  for the support given to the project. It is considered vital to provide
+  adequate payback using recognition and credits to let users and developers
+  feel part of the community, thus increasing development power.
+
+FIXME:
+
+CHANGE HISTORY:
+[Version 1.0]
+  20020611 Initial version. (SN)
+  20020613 Include the module of ISO character entity sets (DC)
+[Version 1.2]
+  20030424 Adopt the loosened content model from document-v12 (JT)
+  20040614 Stay current with latest document-v13 (class attribute)
+
+==================================================================== -->
+
+<!-- =============================================================== -->
+<!-- Include the Documentation DTD -->
+<!-- =============================================================== -->
+
+<!ENTITY % document PUBLIC
+    "-//APACHE//ENTITIES Documentation V1.3//EN"
+    "document-v13.mod">
+%document;
+
+<!-- =============================================================== -->
+<!-- Include the Common ISO Character Entity Sets -->
+<!-- =============================================================== -->
+
+<!ENTITY % common-charents PUBLIC
+    "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
+    "common-charents-v10.mod">
+%common-charents;
+
+<!-- =============================================================== -->
+<!-- Include the Common elements -->
+<!-- =============================================================== -->
+
+<!ENTITY % common PUBLIC
+    "-//APACHE//ENTITIES Common Elements V1.0//EN"
+    "common-elems-v10.mod">
+%common;
+
+<!-- =============================================================== -->
+<!-- Include the Changes module -->
+<!-- =============================================================== -->
+
+<!ENTITY % changes PUBLIC
+    "-//APACHE//ENTITIES Changes V1.1//EN"
+    "changes-v11.mod">
+%changes;
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/document-v13.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/document-v13.dtd	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,145 @@
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Documentation DTD (Version 1.2)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software documentation for use with the Apache projects.
+  It is an XML-compliant DTD and it's maintained by the Apache XML
+  project.
+
+TYPICAL INVOCATION:
+
+  <!DOCTYPE document PUBLIC
+       "-//APACHE//DTD Documentation Vx.y//EN"
+       "document-vxy.dtd">
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  Many of the design patterns used in this DTD were take from the
+  W3C XML Specification DTD edited by Eve Maler <elm@arbortext.com>.
+
+  Where possible, great care has been used to reuse HTML tag
+  names to reduce learning efforts and to allow HTML editors to be
+  used for complex authorings like tables and lists.
+
+EXTENSIBILITY:
+  This DTD includes several empty placeholders that can be used to
+  extend it. These placeholders are implemented with empty entities. Here
+  is the list of those empty entities and what they are used for:
+
+    - local.inline: this entity should contain extended definitions of
+                    elements that can be used 'inline', or directly inside
+                    the content. An example for this entity could be
+
+                        <!ENTITY % local.inline "|citation">
+
+    - local.blocks: this entity should contain extended definitions of
+                    elements that behave as 'blocks', thus can be visually
+                    rendered as areas on the canvas. An example for this
+                    entity could be:
+
+                        <!ENTITY % local.blocks "|poem">
+
+    - local.sections: this entity should contain extended definitions of
+                      elements that behave as 'sections', thus can be considered
+                      containers of block-level elements. An example for
+                      this entity could be:
+
+                        <!ENTITY % local.sections "|chapter">
+
+    - local.headers: this entity should contain extended definitions of
+                     elements that behave as parts of the document header.
+                     An example for this header could be:
+
+                        <!ENTITY % local.headers ", notes?">
+
+    - local.footers: this entity should contain extended definitions of
+                     elements that behave as parts of the document footer.
+                     An example for this header could be:
+
+                        <!ENTITY % local.footers ", annotations*">
+
+FIXME:
+  - should "form" tags be included?
+
+CHANGE HISTORY:
+[Version 1.0]
+  19991121 Initial version. (SM)
+  19991123 Replaced "res" with more standard "strong" for emphasis. (SM)
+  19991124 Added "fork" element for window forking behavior. (SM)
+  19991124 Added "img-inline" element to separate from "img". (SM)
+  19991129 Removed "affiliation" from "author". (SM)
+  19991129 Made "author" empty and moved "name|email" as attributes. (SM)
+  19991215 Simplified table section. (SM)
+  19991215 Changed "img-block" in more friendly "figure". (SM)
+  20000125 Added the "icon" image. (SM)
+  20000126 Allowed "anchor" in all levels. (SM)
+  20000404 Removed the "role" attribute from common-xxx.att. (SM)
+  20000815 Allowed "code" inside "strong" and "em". (SM)
+[Version 1.1]
+  20011212 Used public identifiers for external entities. (SM)
+  20011212 Removed xlink attributes since not used. (SM)
+  20011212 Removed "connect" since not required at this level. (SM)
+  20011218 Added "warning" as a block level object. (SM)
+  20011218 Removed explicitly numbered sections ("s1|s2|s3|s4"). (SM)
+  20011218 Added "section" element. (SM)
+  20011218 Allowed "body" to have blocks without a section. (SM)
+  20011218 Removed "sl" since not really different from "ul". (SM)
+  20020214 Moved empty placeholder entity declarations up front (SNS)
+  20020214 Corrected content model of content.mix parameter entity (SNS)
+  20020519 The DTDs are now modular so various parts can be re-used (SNS)
+  20020606 Made title into an child element of its parent instead of an attribute (SNS)
+  20020613 Move the declarations of ISO character entity sets to module (DC)
+[Version 1.2]
+  20030320 Make @href required for link elements. (SNS)
+  20030320 Allow links (link|jump|fork) and inline elements (br|img|icon|acronym) inside title. (SNS)
+  20030419 Allow inline content (strong|em|code|sub|sup|br|img|icon|acronym|link|jump|fork) in strong and em. (JT)
+  20030419 Allow paragraphs (p|source|note|warning|fixme), table and figure|anchor inside li. (JT)
+  20030419 Allow paragraphs (p|source|note|warning|fixme), lists (ol|ul|dl), table, figure|anchor inside dd. (JT)
+  20030419 Allow paragraphs (p|source|note|warning|fixme), lists (ol|ul|dl), table, figure|anchor inside tables (td|dh). (JT)
+  20040614 The attribute "class" is now defined on every element. (RT)
+
+==================================================================== -->
+
+
+<!-- =============================================================== -->
+<!-- Include the Common ISO Character Entity Sets -->
+<!-- =============================================================== -->
+
+<!ENTITY % common-charents PUBLIC
+    "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
+    "common-charents-v10.mod">
+%common-charents;
+
+<!-- =============================================================== -->
+<!-- Document -->
+<!-- =============================================================== -->
+
+<!ENTITY % document PUBLIC
+    "-//APACHE//ENTITIES Documentation V1.3//EN"
+    "document-v13.mod">
+%document;
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/document-v13.mod
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/document-v13.mod	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,432 @@
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Common Documentation elements (Version 1.2)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software documentation for use with the Apache projects.
+
+TYPICAL INVOCATION:
+
+  <!ENTITY % document PUBLIC
+      "-//APACHE//ENTITIES Documentation Vxy//EN"
+      "document-vxy.mod">
+  %document;
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+
+FIXME:
+
+CHANGE HISTORY:
+[Version 1.0]
+  20020608 Initial version. (SN)
+
+==================================================================== -->
+<!-- =============================================================== -->
+<!-- Useful entities for increased DTD readability -->
+<!-- =============================================================== -->
+<!ENTITY % text "#PCDATA">
+<!-- Entities referred to later on are defined up front -->
+<!ENTITY % markup "strong|em|code|sub|sup">
+<!ENTITY % special-inline "br|img|icon|acronym">
+<!ENTITY % links "link|jump|fork">
+<!ENTITY % paragraphs "p|source|note|warning|fixme">
+<!ENTITY % tables "table">
+<!ENTITY % lists "ol|ul|dl">
+<!ENTITY % special-blocks "figure|anchor">
+<!-- =============================================================== -->
+<!-- Entities for general XML compliance -->
+<!-- =============================================================== -->
+<!-- Common attributes
+        Every element has an ID attribute (sometimes required,
+        but usually optional) for links. %common.att;
+        is for common attributes where the ID is optional, and
+        %common-idreq.att; is for common attributes where the
+        ID is required.
+-->
+<!ENTITY % common.att 'id                     ID              #IMPLIED
+         class                  NMTOKEN         #IMPLIED
+         xml:lang               NMTOKEN         #IMPLIED'>
+<!ENTITY % common-idreq.att 'id                     ID              #REQUIRED
+         class                  NMTOKEN         #IMPLIED
+         xml:lang               NMTOKEN         #IMPLIED'>
+<!-- xml:space attribute ===============================================
+        Indicates that the element contains white space
+        that the formatter or other application should retain,
+        as appropriate to its function.
+==================================================================== -->
+<!ENTITY % xmlspace.att 'xml:space (default|preserve) #FIXED "preserve"'>
+<!-- def attribute =====================================================
+        Points to the element where the relevant definition can be
+        found, using the IDREF mechanism.  %def.att; is for optional
+        def attributes, and %def-req.att; is for required def
+        attributes.
+==================================================================== -->
+<!ENTITY % def.att 'def                    IDREF           #IMPLIED'>
+<!ENTITY % def-req.att 'def                    IDREF           #REQUIRED'>
+<!-- ref attribute =====================================================
+        Points to the element where more information can be found,
+        using the IDREF mechanism.  %ref.att; is for optional
+        ref attributes, and %ref-req.att; is for required ref
+        attributes.
+================================================================== -->
+<!ENTITY % ref.att 'ref                    IDREF           #IMPLIED'>
+<!ENTITY % ref-req.att 'ref                    IDREF           #REQUIRED'>
+<!-- =============================================================== -->
+<!-- Entities for general usage -->
+<!-- =============================================================== -->
+<!-- Key attribute =====================================================
+        Optionally provides a sorting or indexing key, for cases when
+        the element content is inappropriate for this purpose.
+==================================================================== -->
+<!ENTITY % key.att 'key                    CDATA           #IMPLIED'>
+<!-- Title attributes ==================================================
+        Indicates that the element requires to have a title attribute.
+==================================================================== -->
+<!ENTITY % title.att 'title                  CDATA           #REQUIRED'>
+<!-- Name attributes ==================================================
+        Indicates that the element requires to have a name attribute.
+==================================================================== -->
+<!ENTITY % name.att 'name                   CDATA           #REQUIRED'>
+<!-- Email attributes ==================================================
+        Indicates that the element requires to have an email attribute.
+==================================================================== -->
+<!ENTITY % email.att 'email                  CDATA           #REQUIRED'>
+<!-- Link attributes ===================================================
+        Indicates that the element requires to have hyperlink attributes.
+==================================================================== -->
+<!ENTITY % link.att 'href      CDATA             #REQUIRED
+         role      CDATA                         #IMPLIED
+         title     CDATA                         #IMPLIED '>
+<!-- =============================================================== -->
+<!-- General definitions -->
+<!-- =============================================================== -->
+<!-- A person is a general unparsed human entity -->
+<!ELEMENT person EMPTY>
+<!ATTLIST person
+  %common.att; 
+  %name.att; 
+  %email.att; 
+>
+<!-- =============================================================== -->
+<!-- Content definitions -->
+<!-- =============================================================== -->
+<!ENTITY % local.inline "">
+<!ENTITY % link-content.mix "%text;|%markup;|%special-inline; %local.inline;">
+<!ENTITY % content.mix "%link-content.mix;|%links;">
+<!-- ==================================================== -->
+<!-- Phrase Markup -->
+<!-- ==================================================== -->
+<!-- Strong (typically bold) -->
+<!ELEMENT strong (%content.mix;)*>
+<!ATTLIST strong
+  %common.att; 
+>
+<!-- Emphasis (typically italic) -->
+<!ELEMENT em (%content.mix;)*>
+<!ATTLIST em
+  %common.att; 
+>
+<!-- Code (typically monospaced) -->
+<!ELEMENT code (%text;)>
+<!ATTLIST code
+  %common.att; 
+>
+<!-- Superscript (typically smaller and higher) -->
+<!ELEMENT sup (%text;)>
+<!ATTLIST sup
+  %common.att; 
+>
+<!-- Subscript (typically smaller and lower) -->
+<!ELEMENT sub (%text;)>
+<!ATTLIST sub
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Hypertextual Links -->
+<!-- ==================================================== -->
+<!-- hyperlink (equivalent of <a ...>) -->
+<!ELEMENT link (%link-content.mix;)*>
+<!ATTLIST link
+  %common.att; 
+  %link.att; 
+>
+<!-- windows-replacing link (equivalent of <a ... target="_top">) -->
+<!ELEMENT jump (%link-content.mix;)*>
+<!ATTLIST jump
+  %common.att; 
+  %link.att; 
+>
+<!-- window-forking link (equivalent of <a ... target="_blank">) -->
+<!ELEMENT fork (%link-content.mix;)*>
+<!ATTLIST fork
+  %common.att; 
+  %link.att; 
+>
+
+<!-- ==================================================== -->
+<!-- Specials -->
+<!-- ==================================================== -->
+<!-- Breakline Object (typically forces line break) -->
+<!ELEMENT br EMPTY>
+<!ATTLIST br
+  %common.att; 
+>
+<!-- Image Object (typically an inlined image) -->
+<!ELEMENT img EMPTY>
+<!ATTLIST img
+  src CDATA #REQUIRED
+  alt CDATA #REQUIRED
+  height CDATA #IMPLIED
+  width CDATA #IMPLIED
+  usemap CDATA #IMPLIED
+  ismap (ismap) #IMPLIED
+  %common.att; 
+>
+<!-- Image Icon (typically an inlined image placed as graphical item) -->
+<!ELEMENT icon EMPTY>
+<!ATTLIST icon
+  src CDATA #REQUIRED
+  alt CDATA #REQUIRED
+  height CDATA #IMPLIED
+  width CDATA #IMPLIED
+  %common.att; 
+>
+<!-- Acronym (in modern browsers, will have rollover text) -->
+<!ELEMENT acronym (%text;)*>
+<!ATTLIST acronym
+  title CDATA #REQUIRED
+  %common.att; 
+>
+
+<!-- =============================================================== -->
+<!-- Blocks definitions -->
+<!-- =============================================================== -->
+<!ENTITY % local.blocks "">
+<!ENTITY % blocks "%paragraphs;|%tables;|%lists;|%special-blocks; %local.blocks;">
+
+<!-- Flow mixes block and inline -->
+<!ENTITY % flow "%content.mix;|%blocks;">
+
+<!-- ==================================================== -->
+<!-- Paragraphs -->
+<!-- ==================================================== -->
+<!-- Text Paragraph (normally vertically space delimited. Space can be preserved.) -->
+<!ELEMENT p (%content.mix;)*>
+<!ATTLIST p
+  %common.att; 
+  xml:space (default|preserve) #IMPLIED
+>
+<!-- Source Paragraph (normally space is preserved) -->
+<!ELEMENT source (%content.mix;)*>
+<!ATTLIST source
+  %common.att; 
+  %xmlspace.att; 
+>
+<!-- Note Paragraph (normally shown encapsulated) -->
+<!ELEMENT note (%content.mix;)*>
+<!ATTLIST note
+  label CDATA #IMPLIED
+  %common.att; 
+>
+<!-- Warning Paragraph (normally shown with eye-catching colors) -->
+<!ELEMENT warning (%content.mix;)*>
+<!ATTLIST warning
+  label CDATA #IMPLIED
+  %common.att; 
+>
+<!-- Fixme Paragraph (normally not shown) -->
+<!ELEMENT fixme (%content.mix;)*>
+<!ATTLIST fixme
+  author CDATA #REQUIRED
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Tables -->
+<!-- ==================================================== -->
+<!-- Attributes that indicate the spanning of the table cell -->
+<!ENTITY % cell.span 'colspan CDATA "1"
+         rowspan CDATA "1"'>
+<!-- Table element -->
+<!ELEMENT table (caption?, tr+)>
+<!ATTLIST table
+  %common.att; 
+>
+<!-- The table title -->
+<!ELEMENT caption (%content.mix;)*>
+<!ATTLIST caption
+  %common.att; 
+>
+<!-- The table row element -->
+<!ELEMENT tr (th | td)+>
+<!ATTLIST tr
+  %common.att; 
+>
+<!-- The table row header element -->
+<!ELEMENT th (%flow;)*>
+<!ATTLIST th
+  %common.att; 
+  %cell.span; 
+>
+<!-- The table row description element -->
+<!ELEMENT td (%flow;)*>
+<!ATTLIST td
+  %common.att; 
+  %cell.span; 
+>
+<!-- ==================================================== -->
+<!-- Lists -->
+<!-- ==================================================== -->
+<!-- List item -->
+<!ELEMENT li (%flow;)*>
+<!ATTLIST li
+  %common.att; 
+>
+<!-- Unordered list (typically bulleted) -->
+<!ELEMENT ul (li | %lists;)+>
+<!--    spacing attribute:
+            Use "normal" to get normal vertical spacing for items;
+            use "compact" to get less spacing.  The default is dependent
+            on the stylesheet. -->
+<!ATTLIST ul
+  %common.att; 
+  spacing (normal | compact) #IMPLIED
+>
+<!-- Ordered list (typically numbered) -->
+<!ELEMENT ol (li | %lists;)+>
+<!--    spacing attribute:
+            Use "normal" to get normal vertical spacing for items;
+            use "compact" to get less spacing.  The default is dependent
+            on the stylesheet. -->
+<!ATTLIST ol
+  %common.att; 
+  spacing (normal | compact) #IMPLIED
+>
+<!-- Definition list (typically two-column) -->
+<!ELEMENT dl (dt, dd)+>
+<!ATTLIST dl
+  %common.att; 
+>
+<!-- Definition term -->
+<!ELEMENT dt (%content.mix;)*>
+<!ATTLIST dt
+  %common.att; 
+>
+<!-- Definition description -->
+<!ELEMENT dd (%flow; )*>
+<!ATTLIST dd
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Special Blocks -->
+<!-- ==================================================== -->
+<!-- Image Block (typically a separated and centered image) -->
+<!ELEMENT figure EMPTY>
+<!ATTLIST figure
+  src CDATA #REQUIRED
+  alt CDATA #REQUIRED
+  height CDATA #IMPLIED
+  width CDATA #IMPLIED
+  usemap CDATA #IMPLIED
+  ismap (ismap) #IMPLIED
+  align CDATA #IMPLIED
+  %common.att; 
+>
+<!-- anchor point (equivalent of <a name="...">, typically not rendered) -->
+<!ELEMENT anchor EMPTY>
+<!ATTLIST anchor
+  %common-idreq.att; 
+>
+<!-- =============================================================== -->
+<!-- Document -->
+<!-- =============================================================== -->
+<!ELEMENT document (header, body, footer?)>
+<!ATTLIST document
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Header -->
+<!-- ==================================================== -->
+<!ENTITY % local.headers "">
+<!ELEMENT header (title, subtitle?, version?, type?, authors?,
+                      notice*, abstract? %local.headers;)>
+<!ATTLIST header
+  %common.att; 
+>
+<!ELEMENT title (%text; | %markup; | %links; | %special-inline;)*>
+<!ATTLIST title
+  %common.att; 
+>
+<!ELEMENT subtitle (%text; | %markup;)*>
+<!ATTLIST subtitle
+  %common.att; 
+>
+<!ELEMENT version (%text;)>
+<!ATTLIST version
+  %common.att;
+  major CDATA #IMPLIED
+  minor CDATA #IMPLIED
+  fix CDATA #IMPLIED
+  tag CDATA #IMPLIED
+>
+<!ELEMENT type (%text;)>
+<!ATTLIST type
+  %common.att; 
+>
+<!ELEMENT authors (person+)>
+<!ATTLIST authors
+  %common.att; 
+>
+<!ELEMENT notice (%content.mix;)*>
+<!ATTLIST notice
+  %common.att; 
+>
+<!ELEMENT abstract (%content.mix;)*>
+<!ATTLIST abstract
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Body -->
+<!-- ==================================================== -->
+<!ENTITY % local.sections "">
+<!ENTITY % sections "section %local.sections;">
+<!ELEMENT body (%sections; | %blocks;)+>
+<!ATTLIST body
+  %common.att; 
+>
+<!ELEMENT section (title, (%sections; | %blocks;)*)>
+<!ATTLIST section
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Footer -->
+<!-- ==================================================== -->
+<!ENTITY % local.footers "">
+<!ELEMENT footer (legal %local.footers;)>
+<!ELEMENT legal (%content.mix;)*>
+<!ATTLIST legal
+  %common.att; 
+>
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/faq-v13.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/faq-v13.dtd	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,86 @@
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache FAQ DTD (Version 1.2)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software FAQ's for use with the Apache projects.
+  It is an XML-compliant DTD and it's maintained by the Apache XML
+  project.
+
+TYPICAL INVOCATION:
+
+  <!DOCTYPE faqs PUBLIC
+       "-//APACHE//DTD FAQ Vx.y//EN"
+       "faq-vxy.dtd">
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  FAQs represent a powerful knowledge base and a very good way of solving
+  common user problems reducing messages on mail lists and reducing the effort
+  required for software installation and usage. Thid DTD want to be a common
+  format for FAQ interchange to allow FAQ-O-Matic-type workgroup services to
+  be published in other formats as well as enhancing data interchange.
+
+FIXME:
+
+CHANGE HISTORY:
+  19991129 Initial version. (SM)
+  20011212 Used public identifiers for external entities (SM)
+  20020418 Added an (optional) 'part' element to create sections in a faq (SN)
+  20020613 Include the module of ISO character entity sets (DC)
+[Version 1.2]
+  20030424 Adopt the loosened content model from document-v12 (JT)
+  20040614 Stay current with latest document-v13 (class attribute)
+
+==================================================================== -->
+
+<!-- =============================================================== -->
+<!-- Include the Documentation DTD -->
+<!-- =============================================================== -->
+
+<!ENTITY % document PUBLIC
+    "-//APACHE//ENTITIES Documentation V1.3//EN"
+    "document-v13.mod">
+%document;
+
+<!-- =============================================================== -->
+<!-- Include the Common ISO Character Entity Sets -->
+<!-- =============================================================== -->
+
+<!ENTITY % common-charents PUBLIC
+    "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
+    "common-charents-v10.mod">
+%common-charents;
+
+<!-- =============================================================== -->
+<!-- Document Type Definition -->
+<!-- =============================================================== -->
+
+<!ENTITY % faq PUBLIC
+    "-//APACHE//ENTITIES FAQ V1.1//EN"
+    "faq-v12.mod">
+%faq;
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/howto-v13.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/howto-v13.dtd	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,118 @@
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache How-To DTD (Version 1.2)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software How-Tos for use with the Apache projects.
+  It is an XML-compliant DTD and is maintained by the Apache XML project.
+
+TYPICAL INVOCATION:
+
+  <!DOCTYPE document PUBLIC
+       "-//APACHE//DTD How-To Vx.y//EN"
+       "howto-vxy.dtd">
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  How-Tos help software users accomplish a specific task with clear
+  and consise instructions.
+
+FIXME:
+
+CHANGE HISTORY:
+  20020515 Initial version. (DS)
+  20020521 Added feedback element. (DS)
+  20020613 Include the module of ISO character entity sets (DC)
+[Version 1.2]
+  20030424 Adopt the loosened content model from document-v12 (JT)
+  20040614 Stay current with latest document-v13 (class attribute)
+
+==================================================================== -->
+
+<!-- =============================================================== -->
+<!-- Local entities -->
+<!-- =============================================================== -->
+
+<!ENTITY % local.headers ", last-modified-content-date">
+
+<!-- =============================================================== -->
+<!-- Include other DTD modules and entity sets -->
+<!-- =============================================================== -->
+
+<!ENTITY % document PUBLIC
+    "-//APACHE//ENTITIES Documentation V1.3//EN"
+    "document-v13.mod">
+%document;
+
+<!ENTITY % faq PUBLIC
+    "-//APACHE//ENTITIES FAQ V1.1//EN"
+    "faq-v11.mod">
+%faq;
+
+<!ENTITY % common-charents PUBLIC
+    "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
+    "common-charents-v10.mod">
+%common-charents;
+
+<!-- =============================================================== -->
+<!-- Document Type Definition -->
+<!-- =============================================================== -->
+
+<!ELEMENT howto (header, audience?, purpose?, prerequisites?, steps,
+    extension?, faqs?, tips?, references?, feedback? )>
+<!ATTLIST howto %common.att;>
+
+
+    <!ELEMENT overview (%blocks;)* >
+    <!ATTLIST overview %title.att; %common.att;>
+
+    <!ELEMENT purpose (%blocks;)* >
+    <!ATTLIST purpose %title.att; %common.att;>
+
+    <!ELEMENT prerequisites (section | %blocks;)* >
+    <!ATTLIST prerequisites %title.att; %common.att;>
+
+    <!ELEMENT audience (%blocks;)* >
+    <!ATTLIST audience %title.att; %common.att;>
+
+    <!ELEMENT steps (section | %blocks;)* >
+    <!ATTLIST steps %title.att; %common.att;>
+
+    <!ELEMENT extension (%blocks;)* >
+    <!ATTLIST extension %title.att; %common.att;>
+
+    <!ELEMENT tips (section | %blocks;)* >
+    <!ATTLIST tips %title.att; %common.att;>
+
+    <!ELEMENT references (section | %blocks;)* >
+    <!ATTLIST references %title.att; %common.att;>
+
+    <!ELEMENT feedback (%blocks;)* >
+    <!ATTLIST feedback %title.att; %common.att;>
+
+    <!ELEMENT last-modified-content-date EMPTY >
+    <!ATTLIST last-modified-content-date date CDATA #REQUIRED>
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/todo-v13.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/todo-v13.dtd	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,99 @@
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Todos DTD (Version 1.2)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software development todo lists for use with the Apache projects.
+  It is an XML-compliant DTD and it's maintained by the Apache XML
+  project.
+
+TYPICAL INVOCATION:
+
+  <!DOCTYPE todo PUBLIC
+       "-//APACHE//DTD Todo Vx.y//EN"
+       "todo-vxy.dtd">
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  It is important, expecially in open developped software projects, to keep
+  track of software changes that need to be done, planned features, development
+  assignment, etc. in order to allow better work parallelization and create
+  an entry point for people that want to help. This DTD wants to provide
+  a solid foundation to provide such information and to allow it to be
+  published as well as distributed in a common format.
+
+FIXME:
+  - do we need anymore working contexts? (SM)
+
+CHANGE HISTORY:
+[Version 1.0]
+  19991129 Initial version. (SM)
+  19991225 Added actions element for better structure (SM)
+[Version 1.1]
+  20011212 Used public identifiers for external entities (SM)
+  20020613 Include the module of ISO character entity sets (DC)
+[Version 1.2]
+  20030424 Adopt the loosened content model from document-v12 (JT)
+  20040614 Stay current with latest document-v13 (class attribute)
+
+==================================================================== -->
+
+<!-- =============================================================== -->
+<!-- Include the Documentation DTD -->
+<!-- =============================================================== -->
+
+<!ENTITY % document PUBLIC
+    "-//APACHE//ENTITIES Documentation V1.3//EN"
+    "document-v13.mod">
+%document;
+
+<!-- =============================================================== -->
+<!-- Include the Common ISO Character Entity Sets -->
+<!-- =============================================================== -->
+
+<!ENTITY % common-charents PUBLIC
+    "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
+    "common-charents-v10.mod">
+%common-charents;
+
+<!-- =============================================================== -->
+<!-- Include the Common elements -->
+<!-- =============================================================== -->
+
+<!ENTITY % common PUBLIC
+    "-//APACHE//ENTITIES Common Elements V1.0//EN"
+    "common-elems-v10.mod">
+%common;
+
+<!-- =============================================================== -->
+<!-- Include the Todo module -->
+<!-- =============================================================== -->
+
+<!ENTITY % todo PUBLIC
+    "-//APACHE//ENTITIES Todo V1.1//EN"
+    "todo-v11.mod">
+%todo;
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/v20/changes-v20.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/v20/changes-v20.dtd	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,97 @@
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Changes DTD (Version 1.2)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software development changes for use with the Apache projects.
+  It is an XML-compliant DTD and it's maintained by the Apache XML
+  project.
+
+TYPICAL INVOCATION:
+
+  <!DOCTYPE document PUBLIC
+       "-//APACHE//DTD Changes Vx.y//EN"
+       "changes-vxy.dtd">
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  It is important, expecially in open developped software projects, to keep
+  track of software changes both to give users indications of bugs that might
+  have been resolved, as well, and not less important, to provide credits
+  for the support given to the project. It is considered vital to provide
+  adequate payback using recognition and credits to let users and developers
+  feel part of the community, thus increasing development power.
+
+FIXME:
+
+CHANGE HISTORY:
+[Version 1.0]
+  20020611 Initial version. (SN)
+  20020613 Include the module of ISO character entity sets (DC)
+[Version 1.2]
+  20030424 Adopt the loosened content model from document-v12 (JT)
+  20040614 Stay current with latest document-v13 (class attribute) (RT)
+[Version 2.0]
+  20040626 Stay current with latest document-v20 (class attribute) (RT)
+
+==================================================================== -->
+
+<!-- =============================================================== -->
+<!-- Include the Documentation DTD -->
+<!-- =============================================================== -->
+
+<!ENTITY % document PUBLIC
+    "-//APACHE//ENTITIES Documentation V2.0//EN"
+    "document-v20.mod">
+%document;
+
+<!-- =============================================================== -->
+<!-- Include the Common ISO Character Entity Sets -->
+<!-- =============================================================== -->
+
+<!ENTITY % common-charents PUBLIC
+    "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
+    "../common-charents-v10.mod">
+%common-charents;
+
+<!-- =============================================================== -->
+<!-- Include the Common elements -->
+<!-- =============================================================== -->
+
+<!ENTITY % common PUBLIC
+    "-//APACHE//ENTITIES Common Elements V1.0//EN"
+    "../common-elems-v10.mod">
+%common;
+
+<!-- =============================================================== -->
+<!-- Include the Changes module -->
+<!-- =============================================================== -->
+
+<!ENTITY % changes PUBLIC
+    "-//APACHE//ENTITIES Changes V1.1//EN"
+    "changes-v20.mod">
+%changes;
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/v20/changes-v20.mod
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/v20/changes-v20.mod	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,71 @@
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Changes Module (Version 1.1)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software development changes for use with the Apache projects.
+  It is an XML-compliant DTD and it's maintained by the Apache XML
+  project.
+
+TYPICAL INVOCATION:
+
+  <!ENTITY % changes PUBLIC
+      "-//APACHE//ENTITIES Changes Vxy//EN"
+      "changes-vxy.mod">
+  %changes;
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  It is important, expecially in open developped software projects, to keep
+  track of software changes both to give users indications of bugs that might
+  have been resolved, as well, and not less important, to provide credits
+  for the support given to the project. It is considered vital to provide
+  adequate payback using recognition and credits to let users and developers
+  feel part of the community, thus increasing development power.
+
+FIXME:
+
+CHANGE HISTORY:
+[Version 1.0]
+  19991129 Initial version. (SM)
+  20000316 Added bugfixing attribute. (SM)
+[Version 1.1]
+  20011212 Used public identifiers for external entities (SM)
+
+==================================================================== -->
+
+<!-- =============================================================== -->
+<!-- Document Type Definition -->
+<!-- =============================================================== -->
+
+<!ELEMENT changes (title?, devs?, release+)>
+<!ATTLIST changes %common.att;>
+
+    <!ELEMENT release (action+)>
+    <!ATTLIST release %common.att;
+                      version  CDATA  #REQUIRED
+                      date     CDATA  #REQUIRED>
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/v20/document-v20.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/v20/document-v20.dtd	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,110 @@
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Documentation DTD (Version 2.0)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software documentation for use with the Apache projects.
+  It is an XML-compliant DTD and it's maintained by the Apache XML
+  project.
+  
+  The v2.x series of this DTD is an evolution of the 1.x series, incorporating
+  lessons learned. Various new much-needed elements have been added, some unused
+  features removed, and some renamed (link -> a). 2.x is not
+  backwards-compatible, although a stylesheet can probably do the conversion.
+
+TYPICAL INVOCATION:
+
+  <!DOCTYPE document PUBLIC
+       "-//APACHE//DTD Documentation V2.1a//EN"
+       "document-vxy.dtd">
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  Many of the design patterns used in this DTD were take from the
+  W3C XML Specification DTD edited by Eve Maler <elm@arbortext.com>.
+
+  Where possible, great care has been used to reuse HTML tag
+  names to reduce learning efforts and to allow HTML editors to be
+  used for complex authorings like tables and lists.
+
+EXTENSIBILITY:
+  This DTD includes several empty placeholders that can be used to
+  extend it. These placeholders are implemented with empty entities. Here
+  is the list of those empty entities and what they are used for:
+
+    - local.inline: this entity should contain extended definitions of
+                    elements that can be used 'inline', or directly inside
+                    the content. An example for this entity could be
+
+                        <!ENTITY % local.inline "|citation">
+
+    - local.blocks: this entity should contain extended definitions of
+                    elements that behave as 'blocks', thus can be visually
+                    rendered as areas on the canvas. An example for this
+                    entity could be:
+
+                        <!ENTITY % local.blocks "|poem">
+
+    - local.sections: this entity should contain extended definitions of
+                      elements that behave as 'sections', thus can be considered
+                      containers of block-level elements. An example for
+                      this entity could be:
+
+                        <!ENTITY % local.sections "|chapter">
+
+    - local.headers: this entity should contain extended definitions of
+                     elements that behave as parts of the document header.
+                     An example for this header could be:
+
+                        <!ENTITY % local.headers ", notes?">
+
+    - local.footers: this entity should contain extended definitions of
+                     elements that behave as parts of the document footer.
+                     An example for this header could be:
+
+                        <!ENTITY % local.footers ", annotations*">
+
+==================================================================== -->
+
+
+<!-- =============================================================== -->
+<!-- Include the Common ISO Character Entity Sets -->
+<!-- =============================================================== -->
+
+<!ENTITY % common-charents PUBLIC
+    "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
+    "../common-charents-v10.mod">
+%common-charents;
+
+<!-- =============================================================== -->
+<!-- Document -->
+<!-- =============================================================== -->
+
+<!ENTITY % document PUBLIC
+    "-//APACHE//ENTITIES Documentation V2.0//EN"
+    "document-v20.mod">
+%document;
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/v20/document-v20.mod
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/v20/document-v20.mod	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,441 @@
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Common Documentation elements (Version 2.0a)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software documentation for use with the Apache projects.
+
+TYPICAL INVOCATION:
+
+  <!ENTITY % document PUBLIC
+      "-//APACHE//ENTITIES Documentation Vxy//EN"
+      "document-vxy.mod">
+  %document;
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+
+FIXME:
+
+CHANGE HISTORY:
+[Version 2.0a]
+  20030505  Add a meta element to the header, for generic metadata
+  20030505  Zap jump and fork, and rename 'link' to 'a' for better HTMLness
+  20030510  Fix bug which allowed nested lists like <ol><ol>. Now lists can only contain li's.
+
+==================================================================== -->
+<!-- =============================================================== -->
+<!-- Useful entities for increased DTD readability -->
+<!-- =============================================================== -->
+<!ENTITY % text "#PCDATA">
+<!-- Entities referred to later on are defined up front -->
+<!ENTITY % markup "strong|em|code|sub|sup">
+<!ENTITY % special-inline "br|img|icon|acronym">
+<!ENTITY % links "a|link|fork|jump">
+<!ENTITY % paragraphs "p|source|note|warning|fixme">
+<!ENTITY % tables "table">
+<!ENTITY % lists "ol|ul|dl">
+<!ENTITY % special-blocks "figure|anchor">
+<!-- =============================================================== -->
+<!-- Entities for general XML compliance -->
+<!-- =============================================================== -->
+<!-- Common attributes
+        Every element has an ID attribute (sometimes required,
+        but usually optional) for links. %common.att;
+        is for common attributes where the ID is optional, and
+        %common-idreq.att; is for common attributes where the
+        ID is required.
+-->
+<!ENTITY % common.att 'id                     ID              #IMPLIED
+         class                  NMTOKEN         #IMPLIED
+         xml:lang               NMTOKEN         #IMPLIED'>
+<!ENTITY % common-idreq.att 'id                     ID              #REQUIRED
+         class                  NMTOKEN         #IMPLIED
+         xml:lang               NMTOKEN         #IMPLIED'>
+<!-- xml:space attribute ===============================================
+        Indicates that the element contains white space
+        that the formatter or other application should retain,
+        as appropriate to its function.
+==================================================================== -->
+<!ENTITY % xmlspace.att 'xml:space (default|preserve) #FIXED "preserve"'>
+<!-- def attribute =====================================================
+        Points to the element where the relevant definition can be
+        found, using the IDREF mechanism.  %def.att; is for optional
+        def attributes, and %def-req.att; is for required def
+        attributes.
+==================================================================== -->
+<!ENTITY % def.att 'def                    IDREF           #IMPLIED'>
+<!ENTITY % def-req.att 'def                    IDREF           #REQUIRED'>
+<!-- ref attribute =====================================================
+        Points to the element where more information can be found,
+        using the IDREF mechanism.  %ref.att; is for optional
+        ref attributes, and %ref-req.att; is for required ref
+        attributes.
+================================================================== -->
+<!ENTITY % ref.att 'ref                    IDREF           #IMPLIED'>
+<!ENTITY % ref-req.att 'ref                    IDREF           #REQUIRED'>
+<!-- =============================================================== -->
+<!-- Entities for general usage -->
+<!-- =============================================================== -->
+<!-- Key attribute =====================================================
+        Optionally provides a sorting or indexing key, for cases when
+        the element content is inappropriate for this purpose.
+==================================================================== -->
+<!ENTITY % key.att 'key                    CDATA           #IMPLIED'>
+<!-- Title attributes ==================================================
+        Indicates that the element requires to have a title attribute.
+==================================================================== -->
+<!ENTITY % title.att 'title                  CDATA           #REQUIRED'>
+<!-- Name attributes ==================================================
+        Indicates that the element requires to have a name attribute.
+==================================================================== -->
+<!ENTITY % name.att 'name                   CDATA           #REQUIRED'>
+<!-- Email attributes ==================================================
+        Indicates that the element requires to have an email attribute.
+==================================================================== -->
+<!ENTITY % email.att 'email                  CDATA           #REQUIRED'>
+<!-- Link attributes ===================================================
+        Indicates that the element requires to have hyperlink attributes.
+==================================================================== -->
+<!ENTITY % link.att 'href      CDATA             #REQUIRED
+                     title     CDATA             #IMPLIED'>
+<!-- =============================================================== -->
+<!-- General definitions -->
+<!-- =============================================================== -->
+<!-- A person is a general unparsed human entity -->
+<!ELEMENT person EMPTY>
+<!ATTLIST person
+  %common.att; 
+  %name.att; 
+  %email.att; 
+>
+<!-- =============================================================== -->
+<!-- Content definitions -->
+<!-- =============================================================== -->
+<!ENTITY % local.inline "">
+<!ENTITY % link-content.mix "%text;|%markup;|%special-inline; %local.inline;">
+<!ENTITY % content.mix "%link-content.mix;|%links;">
+<!-- ==================================================== -->
+<!-- Phrase Markup -->
+<!-- ==================================================== -->
+<!-- Strong (typically bold) -->
+<!ELEMENT strong (%content.mix;)*>
+<!ATTLIST strong
+  %common.att; 
+>
+<!-- Emphasis (typically italic) -->
+<!ELEMENT em (%content.mix;)*>
+<!ATTLIST em
+  %common.att; 
+>
+<!-- Code (typically monospaced) -->
+<!ELEMENT code (%text;)>
+<!ATTLIST code
+  %common.att; 
+>
+<!-- Superscript (typically smaller and higher) -->
+<!ELEMENT sup (%text;)>
+<!ATTLIST sup
+  %common.att; 
+>
+<!-- Subscript (typically smaller and lower) -->
+<!ELEMENT sub (%text;)>
+<!ATTLIST sub
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Hypertextual Links -->
+<!-- ==================================================== -->
+<!-- hyperlink (equivalent of <a ...>) -->
+<!-- http://www.w3.org/TR/xhtml2/mod-hypertext.html#s_hypertextmodule -->
+<!ELEMENT a (%link-content.mix;)*>
+<!ATTLIST a
+  %common.att; 
+  %link.att; 
+>
+<!-- windows-replacing link (equivalent of <a ... target="_top">) -->
+<!ELEMENT jump (%link-content.mix;)*>
+<!ATTLIST jump
+  %common.att; 
+  %link.att; 
+>
+<!-- window-forking link (equivalent of <a ... target="_blank">) -->
+<!ELEMENT fork (%link-content.mix;)*>
+<!ATTLIST fork
+  %common.att; 
+  %link.att; 
+>
+
+<!-- ==================================================== -->
+<!-- Specials -->
+<!-- ==================================================== -->
+<!-- Breakline Object (typically forces line break) -->
+<!ELEMENT br EMPTY>
+<!ATTLIST br
+  %common.att; 
+>
+<!-- Image Object (typically an inlined image) -->
+<!ELEMENT img EMPTY>
+<!ATTLIST img
+  src CDATA #REQUIRED
+  alt CDATA #REQUIRED
+  height CDATA #IMPLIED
+  width CDATA #IMPLIED
+  usemap CDATA #IMPLIED
+  ismap (ismap) #IMPLIED
+  %common.att; 
+>
+<!-- Image Icon (typically an inlined image placed as graphical item) -->
+<!ELEMENT icon EMPTY>
+<!ATTLIST icon
+  src CDATA #REQUIRED
+  alt CDATA #REQUIRED
+  height CDATA #IMPLIED
+  width CDATA #IMPLIED
+  %common.att; 
+>
+<!-- Acronym (in modern browsers, will have rollover text) -->
+<!ELEMENT acronym (%text;)*>
+<!ATTLIST acronym
+  title CDATA #REQUIRED
+  %common.att; 
+>
+
+<!-- =============================================================== -->
+<!-- Blocks definitions -->
+<!-- =============================================================== -->
+<!ENTITY % local.blocks "">
+<!ENTITY % blocks "%paragraphs;|%tables;|%lists;|%special-blocks; %local.blocks;">
+
+<!-- Flow mixes block and inline -->
+<!ENTITY % flow "%content.mix;|%blocks;">
+
+<!-- ==================================================== -->
+<!-- Paragraphs -->
+<!-- ==================================================== -->
+<!-- Text Paragraph (normally vertically space delimited. Space can be preserved.) -->
+<!ELEMENT p (%content.mix;)*>
+<!ATTLIST p
+  %common.att; 
+  xml:space (default|preserve) #IMPLIED
+>
+<!-- Source Paragraph (normally space is preserved) -->
+<!ELEMENT source (%content.mix;)*>
+<!ATTLIST source
+  %common.att; 
+  %xmlspace.att; 
+>
+<!-- Note Paragraph (normally shown encapsulated) -->
+<!ELEMENT note (%content.mix;)*>
+<!ATTLIST note
+  label CDATA #IMPLIED
+  %common.att; 
+>
+<!-- Warning Paragraph (normally shown with eye-catching colors) -->
+<!ELEMENT warning (%content.mix;)*>
+<!ATTLIST warning
+  label CDATA #IMPLIED
+  %common.att; 
+>
+<!-- Fixme Paragraph (normally not shown) -->
+<!ELEMENT fixme (%content.mix;)*>
+<!ATTLIST fixme
+  author CDATA #REQUIRED
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Tables -->
+<!-- ==================================================== -->
+<!-- Attributes that indicate the spanning of the table cell -->
+<!ENTITY % cell.span 'colspan CDATA "1"
+         rowspan CDATA "1"'>
+<!-- Table element -->
+<!ELEMENT table (caption?, tr+)>
+<!ATTLIST table
+  %common.att; 
+>
+<!-- The table title -->
+<!ELEMENT caption (%content.mix;)*>
+<!ATTLIST caption
+  %common.att; 
+>
+<!-- The table row element -->
+<!ELEMENT tr (th | td)+>
+<!ATTLIST tr
+  %common.att; 
+>
+<!-- The table row header element -->
+<!ELEMENT th (%flow;)*>
+<!ATTLIST th
+  %common.att; 
+  %cell.span; 
+>
+<!-- The table row description element -->
+<!ELEMENT td (%flow;)*>
+<!ATTLIST td
+  %common.att; 
+  %cell.span; 
+>
+<!-- ==================================================== -->
+<!-- Lists -->
+<!-- ==================================================== -->
+<!-- List item -->
+<!ELEMENT li (%flow;)*>
+<!ATTLIST li
+  %common.att; 
+>
+<!-- Unordered list (typically bulleted) -->
+<!ELEMENT ul (li)+>
+<!--    spacing attribute:
+            Use "normal" to get normal vertical spacing for items;
+            use "compact" to get less spacing.  The default is dependent
+            on the stylesheet. -->
+<!ATTLIST ul
+  %common.att; 
+  spacing (normal | compact) #IMPLIED
+>
+<!-- Ordered list (typically numbered) -->
+<!ELEMENT ol (li)+>
+<!--    spacing attribute:
+            Use "normal" to get normal vertical spacing for items;
+            use "compact" to get less spacing.  The default is dependent
+            on the stylesheet. -->
+<!ATTLIST ol
+  %common.att; 
+  spacing (normal | compact) #IMPLIED
+>
+<!-- Definition list (typically two-column) -->
+<!ELEMENT dl (dt, dd)+>
+<!ATTLIST dl
+  %common.att; 
+>
+<!-- Definition term -->
+<!ELEMENT dt (%content.mix;)*>
+<!ATTLIST dt
+  %common.att; 
+>
+<!-- Definition description -->
+<!ELEMENT dd (%flow; )*>
+<!ATTLIST dd
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Special Blocks -->
+<!-- ==================================================== -->
+<!-- Image Block (typically a separated and centered image) -->
+<!ELEMENT figure EMPTY>
+<!ATTLIST figure
+  src CDATA #REQUIRED
+  alt CDATA #REQUIRED
+  height CDATA #IMPLIED
+  width CDATA #IMPLIED
+  usemap CDATA #IMPLIED
+  ismap (ismap) #IMPLIED
+  align CDATA #IMPLIED
+  %common.att; 
+>
+<!-- anchor point (equivalent of <a name="...">, typically not rendered) -->
+<!ELEMENT anchor EMPTY>
+<!ATTLIST anchor
+  %common-idreq.att; 
+>
+<!-- =============================================================== -->
+<!-- Document -->
+<!-- =============================================================== -->
+<!ELEMENT document (header, body, footer?)>
+<!ATTLIST document
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Header -->
+<!-- ==================================================== -->
+<!ENTITY % local.headers "">
+<!ELEMENT header (title, subtitle?, version?, type?, authors?,
+                      notice*, abstract?, meta* %local.headers;)>
+<!ATTLIST header
+  %common.att; 
+>
+<!ELEMENT title (%text; | %markup; | %links; | %special-inline;)*>
+<!ATTLIST title
+  %common.att; 
+>
+<!ELEMENT subtitle (%text; | %markup;)*>
+<!ATTLIST subtitle
+  %common.att; 
+>
+<!ELEMENT version (%text;)>
+<!ATTLIST version
+  %common.att;
+  major CDATA #IMPLIED
+  minor CDATA #IMPLIED
+  fix CDATA #IMPLIED
+  tag CDATA #IMPLIED
+>
+<!ELEMENT type (%text;)>
+<!ATTLIST type
+  %common.att; 
+>
+<!ELEMENT authors (person+)>
+<!ATTLIST authors
+  %common.att; 
+>
+<!ELEMENT notice (%content.mix;)*>
+<!ATTLIST notice
+  %common.att; 
+>
+<!ELEMENT abstract (%content.mix;)*>
+<!ATTLIST abstract
+  %common.att; 
+>
+<!-- See http://www.w3.org/TR/xhtml2/mod-meta.html#s_metamodule -->
+<!ELEMENT meta (#PCDATA)>
+<!ATTLIST meta
+  name NMTOKEN #REQUIRED
+  %common.att; 
+>
+
+<!-- ==================================================== -->
+<!-- Body -->
+<!-- ==================================================== -->
+<!ENTITY % local.sections "">
+<!ENTITY % sections "section %local.sections;">
+<!ELEMENT body (%sections; | %blocks;)+>
+<!ATTLIST body
+  %common.att; 
+>
+<!ELEMENT section (title, (%sections; | %blocks;)*)>
+<!ATTLIST section
+  %common.att; 
+>
+<!-- ==================================================== -->
+<!-- Footer -->
+<!-- ==================================================== -->
+<!ENTITY % local.footers "">
+<!ELEMENT footer (legal %local.footers;)>
+<!ELEMENT legal (%content.mix;)*>
+<!ATTLIST legal
+  %common.att; 
+>
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/v20/faq-v20.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/v20/faq-v20.dtd	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,77 @@
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache FAQ DTD (Version 2.0)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software FAQ's for use with the Apache projects.
+  It is an XML-compliant DTD and it's maintained by the Apache XML
+  project.
+
+TYPICAL INVOCATION:
+
+  <!DOCTYPE faqs PUBLIC
+       "-//APACHE//DTD FAQ Vx.y//EN"
+       "faq-vxy.dtd">
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  FAQs represent a powerful knowledge base and a very good way of solving
+  common user problems reducing messages on mail lists and reducing the effort
+  required for software installation and usage. Thid DTD want to be a common
+  format for FAQ interchange to allow FAQ-O-Matic-type workgroup services to
+  be published in other formats as well as enhancing data interchange.
+
+See faq-v20.mod for the ChangeLog
+
+==================================================================== -->
+
+<!-- =============================================================== -->
+<!-- Include the Documentation DTD -->
+<!-- =============================================================== -->
+
+<!ENTITY % document PUBLIC
+    "-//APACHE//ENTITIES Documentation V2.0a//EN"
+    "document-v20.mod">
+%document;
+
+<!-- =============================================================== -->
+<!-- Include the Common ISO Character Entity Sets -->
+<!-- =============================================================== -->
+
+<!ENTITY % common-charents PUBLIC
+    "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
+    "../common-charents-v10.mod">
+%common-charents;
+
+<!-- =============================================================== -->
+<!-- Document Type Definition -->
+<!-- =============================================================== -->
+
+<!ENTITY % faq PUBLIC
+    "-//APACHE//ENTITIES FAQ V2.0a//EN"
+    "faq-v20.mod">
+%faq;
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/v20/faq-v20.mod
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/v20/faq-v20.mod	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,67 @@
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Faq module (Version 2.0)
+
+TYPICAL INVOCATION:
+
+  <!ENTITY % faq PUBLIC
+      "-//APACHE//ENTITIES FAQ Vxy//EN"
+      "faq-vxy.mod">
+  %faq;
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+
+FIXME:
+
+CHANGE HISTORY:
+[Version 2.0a]
+  20030506 Changed <part> to <faqsection>
+  20030506 Changed @title on <faqs> to a nested <title> element
+
+==================================================================== -->
+
+<!-- =============================================================== -->
+<!-- Element declarations -->
+<!-- =============================================================== -->
+
+<!ELEMENT faqs (title?, authors?, (faq|faqsection)+)>
+<!ATTLIST faqs %common.att;>
+
+    <!ELEMENT faqsection (title, (faq | faqsection)+) >
+    <!ATTLIST faqsection %common.att;>
+
+    <!ELEMENT faq (question, answer)>
+    <!ATTLIST faq %common.att;>
+
+        <!ELEMENT question (%content.mix;|elaboration)*>
+        <!ATTLIST question %common.att;>
+
+        <!ELEMENT elaboration (%content.mix;)*>
+        <!ATTLIST elaboration %common.att;>
+
+        <!ELEMENT answer (%flow;)*>
+        <!ATTLIST answer author IDREF #IMPLIED>
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/v20/howto-v20.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/v20/howto-v20.dtd	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,120 @@
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache How-To DTD (Version 1.2)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software How-Tos for use with the Apache projects.
+  It is an XML-compliant DTD and is maintained by the Apache XML project.
+
+TYPICAL INVOCATION:
+
+  <!DOCTYPE document PUBLIC
+       "-//APACHE//DTD How-To Vx.y//EN"
+       "howto-vxy.dtd">
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  How-Tos help software users accomplish a specific task with clear
+  and consise instructions.
+
+FIXME:
+
+CHANGE HISTORY:
+  20020515 Initial version. (DS)
+  20020521 Added feedback element. (DS)
+  20020613 Include the module of ISO character entity sets (DC)
+[Version 1.2]
+  20030424 Adopt the loosened content model from document-v12 (JT)
+  20040614 Stay current with latest document-v13 (class attribute)
+[Version 2.0]
+  20040626 Stay current with latest document-v20 (RT)
+
+==================================================================== -->
+
+<!-- =============================================================== -->
+<!-- Local entities -->
+<!-- =============================================================== -->
+
+<!ENTITY % local.headers ", last-modified-content-date">
+
+<!-- =============================================================== -->
+<!-- Include other DTD modules and entity sets -->
+<!-- =============================================================== -->
+
+<!ENTITY % document PUBLIC
+    "-//APACHE//ENTITIES Documentation V1.3//EN"
+    "document-v20.mod">
+%document;
+
+<!ENTITY % faq PUBLIC
+    "-//APACHE//ENTITIES FAQ V1.1//EN"
+    "faq-v20.mod">
+%faq;
+
+<!ENTITY % common-charents PUBLIC
+    "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
+    "../common-charents-v10.mod">
+%common-charents;
+
+<!-- =============================================================== -->
+<!-- Document Type Definition -->
+<!-- =============================================================== -->
+
+<!ELEMENT howto (header, audience?, purpose?, prerequisites?, steps,
+    extension?, faqs?, tips?, references?, feedback? )>
+<!ATTLIST howto %common.att;>
+
+
+    <!ELEMENT overview (%blocks;)* >
+    <!ATTLIST overview %title.att; %common.att;>
+
+    <!ELEMENT purpose (%blocks;)* >
+    <!ATTLIST purpose %title.att; %common.att;>
+
+    <!ELEMENT prerequisites (section | %blocks;)* >
+    <!ATTLIST prerequisites %title.att; %common.att;>
+
+    <!ELEMENT audience (%blocks;)* >
+    <!ATTLIST audience %title.att; %common.att;>
+
+    <!ELEMENT steps (section | %blocks;)* >
+    <!ATTLIST steps %title.att; %common.att;>
+
+    <!ELEMENT extension (%blocks;)* >
+    <!ATTLIST extension %title.att; %common.att;>
+
+    <!ELEMENT tips (section | %blocks;)* >
+    <!ATTLIST tips %title.att; %common.att;>
+
+    <!ELEMENT references (section | %blocks;)* >
+    <!ATTLIST references %title.att; %common.att;>
+
+    <!ELEMENT feedback (%blocks;)* >
+    <!ATTLIST feedback %title.att; %common.att;>
+
+    <!ELEMENT last-modified-content-date EMPTY >
+    <!ATTLIST last-modified-content-date date CDATA #REQUIRED>
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/v20/todo-v20.dtd
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/v20/todo-v20.dtd	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,99 @@
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Todos DTD (Version 1.2)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software development todo lists for use with the Apache projects.
+  It is an XML-compliant DTD and it's maintained by the Apache XML
+  project.
+
+TYPICAL INVOCATION:
+
+  <!DOCTYPE todo PUBLIC
+       "-//APACHE//DTD Todo Vx.y//EN"
+       "todo-vxy.dtd">
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  It is important, expecially in open developped software projects, to keep
+  track of software changes that need to be done, planned features, development
+  assignment, etc. in order to allow better work parallelization and create
+  an entry point for people that want to help. This DTD wants to provide
+  a solid foundation to provide such information and to allow it to be
+  published as well as distributed in a common format.
+
+FIXME:
+  - do we need anymore working contexts? (SM)
+
+CHANGE HISTORY:
+[Version 1.0]
+  19991129 Initial version. (SM)
+  19991225 Added actions element for better structure (SM)
+[Version 1.1]
+  20011212 Used public identifiers for external entities (SM)
+  20020613 Include the module of ISO character entity sets (DC)
+[Version 1.2]
+  20030424 Adopt the loosened content model from document-v12 (JT)
+  20040614 Stay current with latest document-v13 (class attribute)
+
+==================================================================== -->
+
+<!-- =============================================================== -->
+<!-- Include the Documentation DTD -->
+<!-- =============================================================== -->
+
+<!ENTITY % document PUBLIC
+    "-//APACHE//ENTITIES Documentation V2.0//EN"
+    "document-v20.mod">
+%document;
+
+<!-- =============================================================== -->
+<!-- Include the Common ISO Character Entity Sets -->
+<!-- =============================================================== -->
+
+<!ENTITY % common-charents PUBLIC
+    "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
+    "../common-charents-v10.mod">
+%common-charents;
+
+<!-- =============================================================== -->
+<!-- Include the Common elements -->
+<!-- =============================================================== -->
+
+<!ENTITY % common PUBLIC
+    "-//APACHE//ENTITIES Common Elements V1.0//EN"
+    "../common-elems-v10.mod">
+%common;
+
+<!-- =============================================================== -->
+<!-- Include the Todo module -->
+<!-- =============================================================== -->
+
+<!ENTITY % todo PUBLIC
+    "-//APACHE//ENTITIES Todo V2.0//EN"
+    "todo-v20.mod">
+%todo;
+
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Added: forrest/trunk/src/core/context/resources/schema/dtd/v20/todo-v20.mod
==============================================================================
--- (empty file)
+++ forrest/trunk/src/core/context/resources/schema/dtd/v20/todo-v20.mod	Thu Jul 22 01:03:28 2004
@@ -0,0 +1,76 @@
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- ===================================================================
+
+     Apache Todos module (Version 1.0)
+
+PURPOSE:
+  This DTD was developed to create a simple yet powerful document
+  type for software development todo lists for use with the Apache projects.
+  It is an XML-compliant DTD and it's maintained by the Apache XML
+  project.
+
+TYPICAL INVOCATION:
+
+  <!ENTITY % todo PUBLIC
+      "-//APACHE//ENTITIES Todo Vxy//EN"
+      "todo-vxy.mod">
+  %todo;
+
+  where
+
+    x := major version
+    y := minor version
+
+NOTES:
+  It is important, expecially in open developped software projects, to keep
+  track of software changes that need to be done, planned features, development
+  assignment, etc. in order to allow better work parallelization and create
+  an entry point for people that want to help. This DTD wants to provide
+  a solid foundation to provide such information and to allow it to be
+  published as well as distributed in a common format.
+
+FIXME:
+  - do we need anymore working contexts? (SM)
+
+CHANGE HISTORY:
+[Version 1.0]
+  19991129 Initial version. (SM)
+  19991225 Added actions element for better structure (SM)
+[Version 1.1]
+  20011212 Used public identifiers for external entities (SM)
+
+==================================================================== -->
+<!-- =============================================================== -->
+<!-- Common entities -->
+<!-- =============================================================== -->
+<!ENTITY % priorities "showstopper|high|medium|low|wish|dream">
+<!-- =============================================================== -->
+<!-- Document Type Definition -->
+<!-- =============================================================== -->
+<!ELEMENT todo (title?, devs?, actions+)>
+<!ATTLIST todo
+  %common.att; 
+>
+
+<!ELEMENT actions (action+)>
+<!ATTLIST actions
+  %common.att; 
+  priority (%priorities;) #IMPLIED
+>
+<!-- =============================================================== -->
+<!-- End of DTD -->
+<!-- =============================================================== -->

Modified: forrest/trunk/src/core/context/resources/stylesheets/html2document.xsl
==============================================================================
--- forrest/trunk/src/core/context/resources/stylesheets/html2document.xsl	(original)
+++ forrest/trunk/src/core/context/resources/stylesheets/html2document.xsl	Thu Jul 22 01:03:28 2004
@@ -67,9 +67,9 @@
        <body>
          <xsl:for-each select="h1">
            <section>
-      <xsl:if test="a/@name">
-        <xsl:attribute name="id"><xsl:value-of select="a/@name"/></xsl:attribute>
-      </xsl:if>
+             <xsl:if test="a/@name">
+               <xsl:attribute name="id"><xsl:value-of select="a/@name"/></xsl:attribute>
+             </xsl:if>
              <title><xsl:apply-templates/></title>
              <xsl:apply-templates select="following-sibling::*[1]" mode="next"/>
              <xsl:for-each select="key('h2s',generate-id(.))">

Modified: forrest/trunk/src/core/context/resources/stylesheets/openoffice-writer2forrest.xsl
==============================================================================
--- forrest/trunk/src/core/context/resources/stylesheets/openoffice-writer2forrest.xsl	(original)
+++ forrest/trunk/src/core/context/resources/stylesheets/openoffice-writer2forrest.xsl	Thu Jul 22 01:03:28 2004
@@ -18,7 +18,7 @@
 <xsl:stylesheet version="1.0" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:office="http://openoffice.org/2000/office" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" xmlns:config="http://openoffice.org/2001/config" office:class="text" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="office meta  table number dc fo xlink chart math script xsl draw svg dr3d form config text style">
   <xsl:param name="filename"/>
   <xsl:output method="xml" indent="yes" omit-xml-declaration="no"/>
-  <xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//APACHE//DTD Documentation V1.2//EN" doctype-system="http://apache.org/forrest/dtd/document-v12.dtd"/>
+  <xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//APACHE//DTD Documentation V1.3//EN" doctype-system="http://apache.org/forrest/dtd/document-v13.dtd"/>
   <!--+
       | keys to generate the structure
       +-->

Modified: forrest/trunk/src/core/context/sitemap.xmap
==============================================================================
--- forrest/trunk/src/core/context/sitemap.xmap	(original)
+++ forrest/trunk/src/core/context/sitemap.xmap	Thu Jul 22 01:03:28 2004
@@ -126,8 +126,8 @@
 
       <map:serializer name="xml-document" mime-type="text/xml" src="org.apache.cocoon.serialization.XMLSerializer">
         <cdata-section-elements>source</cdata-section-elements>
-        <doctype-public>-//APACHE//DTD Documentation V1.2//EN</doctype-public>
-        <doctype-system>document-v12.dtd</doctype-system>
+        <doctype-public>-//APACHE//DTD Documentation V1.3//EN</doctype-public>
+        <doctype-system>document-v13.dtd</doctype-system>
       </map:serializer>
 
       <map:serializer name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer" mime-type="application/pdf" />

Modified: forrest/trunk/src/core/context/skins/common/xslt/fo/document2fo.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/common/xslt/fo/document2fo.xsl	(original)
+++ forrest/trunk/src/core/context/skins/common/xslt/fo/document2fo.xsl	Thu Jul 22 01:03:28 2004
@@ -929,6 +929,14 @@
    </fo:inline>
  </xsl:template>
 
-
+ <xsl:template match="p[@class='quote']">
+   <fo:block start-indent="1em"
+     space-before="4pt"
+     space-after="4pt"
+     background-color="#f0f0f0"
+     font-family="monospace">
+     <xsl:apply-templates/>
+   </fo:block>
+ </xsl:template>
 
 </xsl:stylesheet>

Modified: forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/index.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/index.xml	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/index.xml	Thu Jul 22 01:03:28 2004
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://forrest.apache.org/dtd/document-v12.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN" "http://forrest.apache.org/dtd/document-v13.dtd">
 <document> 
   <header> 
     <title>Welcome to MyProj</title> 

Modified: forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/ascii-art.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/ascii-art.xml	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/ascii-art.xml	Thu Jul 22 01:03:28 2004
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://forrest.apache.org/dtd/document-v12.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN" "http://forrest.apache.org/dtd/document-v13.dtd">
 <document> 
   <header> 
     <title>Ascii Art sample</title> 

Modified: forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/faq.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/faq.xml	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/faq.xml	Thu Jul 22 01:03:28 2004
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!DOCTYPE faqs PUBLIC "-//APACHE//DTD FAQ V1.2//EN" "http://forrest.apache.org/dtd/faq-v12.dtd">
+<!DOCTYPE faqs PUBLIC "-//APACHE//DTD FAQ V1.3//EN" "http://forrest.apache.org/dtd/faq-v13.dtd">
 
 <faqs title="Frequently Asked Questions">
 

Modified: forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/index.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/index.xml	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/index.xml	Thu Jul 22 01:03:28 2004
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://forrest.apache.org/dtd/document-v12.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN" "http://forrest.apache.org/dtd/document-v13.dtd">
 <document> 
   <header> 
     <title>Samples</title> 

Modified: forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample.xml	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample.xml	Thu Jul 22 01:03:28 2004
@@ -14,10 +14,10 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://forrest.apache.org/dtd/document-v12.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN" "http://apache.org/forrest/dtd/document-v13.dtd">
 <document> 
   <header> 
-    <title>The document-v1.2 DTD</title> 
+    <title>The document-v1.3 DTD</title> 
     <notice>This document doesn't make any sense at all.</notice> 
     <abstract>A nonsense document using all possible elements in the current
       <code>document-v12.dtd</code>.</abstract> 
@@ -31,6 +31,21 @@
         >With the <code>&lt;p xml:space="preserve"&gt;</code> attribute, you can declare
         that whitespace should    be   preserved, without implying it is in any other
         way special.</p>
+      <p>
+        This next paragraph has a class attribute of 'quote'.  CSS can
+        be used to present this <code>&lt;p class='quote'&gt;</code> in
+        a different style than the other paragraphs.  The handling of
+        this quoted paragraph is defined in the &lt;extra-css&gt;
+        element in the skinconf.xml.
+      </p>
+      <p class="quote">
+        Anyway, like I was sayin', shrimp is the fruit of the sea. You can
+        barbecue it, boil it, broil it, bake it, sautee it. Dey's uh,
+        shrimp-kabobs, shrimp creole, shrimp gumbo. Pan fried, deep fried,
+        stir-fried. There's pineapple shrimp, lemon shrimp, coconut shrimp,
+        pepper shrimp, shrimp soup, shrimp stew, shrimp salad, shrimp and
+        potatoes, shrimp burger, shrimp sandwich. That- that's about it.
+      </p>
       <p>A number of in-line elements are available in the DTD, we will show them
         inside an unordered list (<code>&lt;ul&gt;</code>):</p> 
       <ul> 

Modified: forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample2.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample2.xml	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/sample2.xml	Thu Jul 22 01:03:28 2004
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://forrest.apache.org/dtd/document-v12.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN" "http://forrest.apache.org/dtd/document-v13.dtd">
 <document> 
   <header> 
     <title>Static content - including raw un-processed files and documents</title> 

Modified: forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/subdir/index.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/subdir/index.xml	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/content/xdocs/samples/subdir/index.xml	Thu Jul 22 01:03:28 2004
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://forrest.apache.org/dtd/document-v12.dtd">
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN" "http://forrest.apache.org/dtd/document-v13.dtd">
 <document>
    <header>
       <title>Page generated from a sub-directory</title>

Modified: forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml	(original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml	Thu Jul 22 01:03:28 2004
@@ -113,6 +113,15 @@
   <headings type="boxed"/>
   
   <extra-css>
+
+    <!-- A little sample to show how the class attribute can be used -->
+    p.quote {
+      margin-left: 2em;
+      padding: .5em;
+      background-color: #f0f0f0;
+      font-family: monospace;
+    }
+
   </extra-css>
   
   <colors>

Modified: forrest/trunk/status.xml
==============================================================================
--- forrest/trunk/status.xml	(original)
+++ forrest/trunk/status.xml	Thu Jul 22 01:03:28 2004
@@ -50,6 +50,16 @@
         Added new document to facilitate
         <link href="site:upgrading_06">upgrading to v0.6</link>
       </action>
+      <action dev="DC" type="update" context="core"
+        due-to="Rick Tessner" fixes-bug="FOR-174">
+        Have @class attribute in DTD for every tag, which enables the
+        "extra-css" section in the skinconf to be put to good use.
+        Updated all v1.2 DTDs to become v1.3 DTDs
+        and updated the v2.0a DTDs to become v2.0 DTDs.
+        Added demo of extra-css to the seed site and updated some
+        sample docs to use new v1.3 DTDs.
+        See the issue report for full list of changes.
+      </action>
       <action dev="DC" type="add" context="docs">
         Added a How-To:
         <link href="site:asf-mirror">Generate an ASF mirrors page using

Mime
View raw message