cziegeler 2002/08/16 00:57:29 Modified: src/documentation/xdocs/developing/webapps Tag: cocoon_2_0_3_branch session.xml src/documentation/xdocs/faq Tag: cocoon_2_0_3_branch faq-install.xml src/documentation/xdocs/howto Tag: cocoon_2_0_3_branch book.xml index.xml src/documentation/xdocs/link Tag: cocoon_2_0_3_branch dtd-schema.xml src/documentation/xdocs/userdocs/actions Tag: cocoon_2_0_3_branch actions.xml book.xml src/documentation/xdocs/userdocs/generators Tag: cocoon_2_0_3_branch book.xml generators.xml request-generator.xml src/documentation/xdocs/userdocs/transformers Tag: cocoon_2_0_3_branch book.xml log-transformer.xml transformers.xml Added: src/documentation/xdocs/howto/chaperon Tag: cocoon_2_0_3_branch book.xml howto-chaperon-grm.xml howto-chaperon-intro.xml howto-chaperon-txtgrm.xml src/documentation/xdocs/userdocs/actions Tag: cocoon_2_0_3_branch session-action.xml src/documentation/xdocs/userdocs/generators Tag: cocoon_2_0_3_branch textparser-generator.xml src/documentation/xdocs/userdocs/transformers Tag: cocoon_2_0_3_branch augment-transformer.xml textparser-transformer.xml Log: Syncing docs Revision Changes Path No revision No revision 1.1.2.2 +0 -1 xml-cocoon2/src/documentation/xdocs/developing/webapps/session.xml Index: session.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/developing/webapps/session.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- session.xml 14 Jun 2002 07:12:54 -0000 1.1.2.1 +++ session.xml 16 Aug 2002 07:57:28 -0000 1.1.2.2 @@ -284,7 +284,6 @@ <scheme>value</scheme> <serverName>value</serverName> <serverPort>value</serverPort> -<authType>value</authType> <method>value</method> <contextPath>value</contextPath> <pathInfo>value</pathInfo> No revision No revision 1.1.2.2 +4 -1 xml-cocoon2/src/documentation/xdocs/faq/faq-install.xml Index: faq-install.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/faq/faq-install.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- faq-install.xml 7 Jun 2002 19:45:13 -0000 1.1.2.1 +++ faq-install.xml 16 Aug 2002 07:57:28 -0000 1.1.2.2 @@ -25,6 +25,9 @@ <li> If you didn't restart the servlet engine, do it. </li> + <li> +In Tomcat 4, did you change CATALINA_BASE to a different value than the default CATALINA_HOME? If so, copy the war files to CATALINA_BASE/webapps or set CATALINA_BASE=CATALINA_HOME. Then, restart Tomcat. + </li> </ul> </answer> </faq> @@ -69,7 +72,7 @@ <p> Cocoon requires a JAXP 1.1 compliant parser. Some servlet engines (like Tomcat 3.2.1) use older XML parsers. Replace the XML - parser with a more recnet one (e.g. the Xerces 1.3.0 or newer). + parser with a more recent one (e.g. the Xerces 1.3.0 or newer). </p> <p> For Tomcat 3.2.1, remove the jaxp.jar and the parser.jar from the No revision No revision 1.6.2.3 +1 -0 xml-cocoon2/src/documentation/xdocs/howto/book.xml Index: book.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/howto/book.xml,v retrieving revision 1.6.2.2 retrieving revision 1.6.2.3 diff -u -r1.6.2.2 -r1.6.2.3 --- book.xml 3 Jul 2002 22:50:36 -0000 1.6.2.2 +++ book.xml 16 Aug 2002 07:57:28 -0000 1.6.2.3 @@ -17,6 +17,7 @@ <menu-item label="XMLForm" href="xmlform-wizard/howto-xmlform-wizard.html"/> <menu-item label="Paginator" href="howto-paginator-transformer.html"/> <menu-item label="HTML-PDF" href="howto-html-pdf-publishing.html"/> + <menu-item label="Chaperon" href="chaperon/howto-chaperon-intro.html"/> </menu> <menu label="Documentation"> 1.6.2.3 +1 -0 xml-cocoon2/src/documentation/xdocs/howto/index.xml Index: index.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/howto/index.xml,v retrieving revision 1.6.2.2 retrieving revision 1.6.2.3 diff -u -r1.6.2.2 -r1.6.2.3 --- index.xml 3 Jul 2002 22:50:36 -0000 1.6.2.2 +++ index.xml 16 Aug 2002 07:57:28 -0000 1.6.2.3 @@ -24,6 +24,7 @@ <li><link href="xmlform-wizard/howto-xmlform-wizard.html">XMLForm Wizard</link></li> <li><link href="howto-paginator-transformer.html">Paginator Transformer</link></li> <li><link href="howto-html-pdf-publishing.html">HTML-PDF Publishing</link></li> +<li><link href="chaperon/howto-chaperon-intro.html">Chaperon Text Parser</link></li> </ul> </s2> No revision No revision 1.1.2.1 +0 -0 xml-cocoon2/src/documentation/xdocs/howto/chaperon/book.xml Index: book.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/howto/chaperon/book.xml,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 1.1.2.1 +0 -0 xml-cocoon2/src/documentation/xdocs/howto/chaperon/howto-chaperon-grm.xml Index: howto-chaperon-grm.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/howto/chaperon/howto-chaperon-grm.xml,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 1.1.2.1 +0 -0 xml-cocoon2/src/documentation/xdocs/howto/chaperon/howto-chaperon-intro.xml Index: howto-chaperon-intro.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/howto/chaperon/howto-chaperon-intro.xml,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 1.1.2.1 +0 -0 xml-cocoon2/src/documentation/xdocs/howto/chaperon/howto-chaperon-txtgrm.xml Index: howto-chaperon-txtgrm.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/howto/chaperon/howto-chaperon-txtgrm.xml,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 No revision No revision 1.1.2.2 +0 -1 xml-cocoon2/src/documentation/xdocs/link/dtd-schema.xml Index: dtd-schema.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/link/dtd-schema.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- dtd-schema.xml 19 May 2002 08:16:24 -0000 1.1.2.1 +++ dtd-schema.xml 16 Aug 2002 07:57:29 -0000 1.1.2.2 @@ -14,7 +14,6 @@ <ul> <li><link href="http://www.w3schools.com/dtd/">W3Schools DTD Tutorial</link></li> <li><link href="http://ctdp.tripod.com/independent/web/dtd/">Document Type Definition (DTD) Introduction</link></li> -<li><link href="http://www.uic.edu/orgs/tei/sgml/teip3sg/SG14.htm">Defining SGML Document Structures: The DTD</link></li> <li><link href="http://java.sun.com/webservices/docs/ea2/tutorial/doc/JAXPSAX7.html">Creating a Document Type Definition (DTD)</link> (Java Web Services Tutorial)</li> <li><link href="http://aips2.nrao.edu/docs/reference/Coding/node41.html">Document Type Definition</link> (from the AIPS++ Programming Manual)</li> </ul> No revision No revision 1.1.2.2 +1 -0 xml-cocoon2/src/documentation/xdocs/userdocs/actions/actions.xml Index: actions.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/actions/actions.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- actions.xml 7 Jun 2002 20:03:36 -0000 1.1.2.1 +++ actions.xml 16 Aug 2002 07:57:29 -0000 1.1.2.2 @@ -28,6 +28,7 @@ </p> <ul> <li><link href="database-actions.html">Database Actions</link></li> + <li><link href="session-action.html">Session Action</link></li> </ul> </s1> 1.1.2.2 +1 -0 xml-cocoon2/src/documentation/xdocs/userdocs/actions/book.xml Index: book.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/actions/book.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- book.xml 28 Apr 2002 18:24:30 -0000 1.1.2.1 +++ book.xml 16 Aug 2002 07:57:29 -0000 1.1.2.2 @@ -19,6 +19,7 @@ <menu label="Core"> </menu> <menu label="Optional"> + <menu-item label="Session Action" href="session-action.html"/> </menu> </book> No revision No revision 1.2.2.1 +1 -1 xml-cocoon2/src/documentation/xdocs/userdocs/actions/session-action.xml Index: session-action.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/actions/session-action.xml,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- session-action.xml 16 Aug 2002 07:10:29 -0000 1.2 +++ session-action.xml 16 Aug 2002 07:57:29 -0000 1.2.2.1 @@ -18,7 +18,7 @@ is controlled by a parameter named 'action'. </p> <p>For more information on session handling and session contexts - have a look at the <link href="../../../webapps/session.html">Session Context documentation</link>.</p> + have a look at the <link href="../../developing/webapps/session.html">Session Context documentation</link>.</p> <s2 title="Creating a Session"> <p> To create a session (if it not already exists) simply add the No revision No revision 1.1.2.2 +1 -0 xml-cocoon2/src/documentation/xdocs/userdocs/generators/book.xml Index: book.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/generators/book.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- book.xml 4 Jul 2002 02:39:45 -0000 1.1.2.1 +++ book.xml 16 Aug 2002 07:57:29 -0000 1.1.2.2 @@ -32,6 +32,7 @@ <menu-item label="Error Generator" href="error-generator.html"/> <menu-item label="Search Generator" href="search-generator.html"/> <menu-item label="LinkStatus Generator" href="linkstatus-generator.html"/> + <menu-item label="Text Parser Generator" href="textparser-generator.html"/> </menu> <menu label="Optional"> <menu-item label="Php Generator" href="php-generator.html"/> 1.1.2.3 +1 -0 xml-cocoon2/src/documentation/xdocs/userdocs/generators/generators.xml Index: generators.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/generators/generators.xml,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- generators.xml 4 Jul 2002 02:39:45 -0000 1.1.2.2 +++ generators.xml 16 Aug 2002 07:57:29 -0000 1.1.2.3 @@ -47,6 +47,7 @@ <li><link href="php-generator.html">Php Generator</link> (optional)</li> <li><link href="xmldb-generator.html">XML:DB Generator</link> (optional)</li> <li><link href="xmldbcollection-generator.html">XML:DB Collection Generator</link> (optional)</li> + <li><link href="textparser-generator.html">Text Parser Generator</link></li> </ul> </s1> </body> 1.2.2.1 +36 -0 xml-cocoon2/src/documentation/xdocs/userdocs/generators/request-generator.xml Index: request-generator.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/generators/request-generator.xml,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -r1.2 -r1.2.2.1 --- request-generator.xml 5 Feb 2002 01:46:44 -0000 1.2 +++ request-generator.xml 16 Aug 2002 07:57:29 -0000 1.2.2.1 @@ -27,6 +27,7 @@ ]]></source> <p>The output has the following schema. All elements have the namespace <code>http://xml.apache.org/cocoon/requestgenerator/2.0</code></p> + <source><![CDATA[ <?xml version="1.0" encoding="UTF-8"?> @@ -58,6 +59,16 @@ </parameter> </requestParameters> + <!-- All request attributes; see below the note on generate-attributes parameter. + (This feature is available startign with version 2.1 --> + <requestAttributes> + <!-- Create an attribute element for each attribute --> + <attribute name="errorMessage"> + <!-- Create a value element for the attribute value --> + <value>I was put here by an earlier action.</value> + </attribute> + </requestAttributes> + <!-- All configuration parameters: --> <configurationParameters> <!-- Create a parameter element for each parameter specified @@ -67,6 +78,31 @@ </request> ]]></source> + + + <note>If you want request attributes to be generated, you must specify <code>generate-attributes</code> parameter at generator definition or invocation in the sitemap.</note> +<source><![CDATA[ +<!-- This will turn on attribute generation on by default --> +<map:generator name="request" src="org.apache.cocoon.generation.RequestGenerator"> + <map:parameter name="generate-attributes" value="true"/> +</map:generator> + +<!-- or --> + + <!-- This will turn on attribute generation for this invocation only. --> + <map:match pattern="request"> + <map:generate type="request"> + <map:parameter name="generate-attributes" value="true"/> + </map:generate> + </map:match> + + +]]></source> </s1> </body> </document> + + + + + No revision No revision 1.1.2.1 +1 -1 xml-cocoon2/src/documentation/xdocs/userdocs/generators/textparser-generator.xml Index: textparser-generator.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/generators/textparser-generator.xml,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 --- textparser-generator.xml 15 Aug 2002 13:43:18 -0000 1.1 +++ textparser-generator.xml 16 Aug 2002 07:57:29 -0000 1.1.2.1 @@ -34,7 +34,7 @@ ]]></source> <p>The parameter to specify the grammar must be declared. The second paramter tells the parser - if it should include all obsolete tokens, and must not specified.<p> + if it should include all obsolete tokens, and must not specified.</p> <p>The explanation of function and the grammar format can be found at the <link href="../../howto/chaperon/howto-chaperon-intro.html">howto section</link></p> No revision No revision 1.1.2.3 +2 -0 xml-cocoon2/src/documentation/xdocs/userdocs/transformers/book.xml Index: book.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/transformers/book.xml,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -r1.1.2.2 -r1.1.2.3 --- book.xml 10 Jul 2002 19:19:25 -0000 1.1.2.2 +++ book.xml 16 Aug 2002 07:57:29 -0000 1.1.2.3 @@ -28,6 +28,8 @@ <menu-item label="CInclude Transformer" href="cinclude-transformer.html"/> <menu-item label="EncodeURL Transformer" href="encodeurl-transformer.html"/> <menu-item label="SourceWriting Transformer" href="sourcewriting-transformer.html"/> + <menu-item label="Augment Transformer" href="augment-transformer.html"/> + <menu-item label="Text Parser Transformer" href="textparser-transformer.html"/> </menu> <menu label="Optional"> <menu-item label="XT Transformer" href="xt-transformer.html"/> 1.1.2.1 +1 -1 xml-cocoon2/src/documentation/xdocs/userdocs/transformers/log-transformer.xml Index: log-transformer.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/transformers/log-transformer.xml,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 --- log-transformer.xml 3 Jan 2002 12:31:06 -0000 1.1 +++ log-transformer.xml 16 Aug 2002 07:57:29 -0000 1.1.2.1 @@ -24,7 +24,7 @@ <map:transform type="log"> <map:parameter name="logfile" value="logfile.log"/> <map:parameter name="append" value="no"/> - </map:transform>> + </map:transform> </source> <p> Because the log file will be hardcoded into the sitemap this LOGTransformer will 1.1.2.4 +2 -0 xml-cocoon2/src/documentation/xdocs/userdocs/transformers/transformers.xml Index: transformers.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/transformers/transformers.xml,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -r1.1.2.3 -r1.1.2.4 --- transformers.xml 10 Jul 2002 19:19:25 -0000 1.1.2.3 +++ transformers.xml 16 Aug 2002 07:57:29 -0000 1.1.2.4 @@ -41,8 +41,10 @@ <li><link href="cinclude-transformer.html">CInclude Transformer</link></li> <li><link href="encodeurl-transformer.html">EncodeURL Transformer</link></li> <li><link href="sourcewriting-transformer.html">SourceWriting Transformer</link></li> + <li><link href="augment-transformer.html">Augment Transformer</link></li> <li><link href="xt-transformer.html">XT Transformer</link> (optional)</li> <li><link href="ldap-transformer.html">LDAP Transformer</link> (optional)</li> + <li><link href="textparser-transformer.html">Text Parser Transformer</link></li> </ul> </s1> </body> No revision No revision 1.1.2.1 +0 -0 xml-cocoon2/src/documentation/xdocs/userdocs/transformers/augment-transformer.xml Index: augment-transformer.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/transformers/augment-transformer.xml,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 1.1.2.1 +1 -1 xml-cocoon2/src/documentation/xdocs/userdocs/transformers/textparser-transformer.xml Index: textparser-transformer.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/transformers/textparser-transformer.xml,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 --- textparser-transformer.xml 15 Aug 2002 13:43:18 -0000 1.1 +++ textparser-transformer.xml 16 Aug 2002 07:57:29 -0000 1.1.2.1 @@ -32,7 +32,7 @@ ]]></source> <p>The parameter to specify the grammar must be declared. The second parameter tells the parser - if it should include all obsolete tokens, and must not specified.<p> + if it should include all obsolete tokens, and must not specified.</p> <source><![CDATA[ <map:transform type="textparser">
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]