giacomo 01/05/11 13:19:19
Modified: webapp cocoon.xconf
Log:
Added some comments about the parser component
Revision Changes Path
1.3 +27 -0 xml-cocoon2/webapp/cocoon.xconf
Index: cocoon.xconf
===================================================================
RCS file: /home/cvs/xml-cocoon2/webapp/cocoon.xconf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cocoon.xconf 2001/05/10 05:14:15 1.2
+++ cocoon.xconf 2001/05/11 20:19:15 1.3
@@ -3,6 +3,21 @@
<!-- ===================== General Components =========================== -->
+ <!-- The default parser used in the Apache Cocoon 2 system is
+ org.apache.cocoon.components.parser.JaxpParser.
+ Apache Cocoon 2 system requires a JAXP 1.1 parser.
+ If you have problems because your servlet environment uses its own
+ parser not conforming to JAXP 1.1 try using the alternative
+ XercesParser instead of the JaxpParser. To activate the XercesParser
+ move the line below starting with <parser ...> out of this comment
block.
+ You also than have to add a system property to your JVM
+ (probabbly on the startup of your servlet engin like this:
+
+
-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.parser.XercesParser
+
+ <parser class="org.apache.cocoon.components.parser.XercesParser"/>
+ -->
+
<!-- Storing:
freememory: Indicates how much memory should be left free in the
JVM for normal operation.
@@ -97,6 +112,18 @@
<parameter name="prefix" value="util"/>
<parameter name="uri" value="http://apache.org/xsp/util"/>
<parameter name="href"
value="resource://org/apache/cocoon/components/language/markup/xsp/java/util.xsl"/>
+ </builtin-logicsheet>
+
+ <builtin-logicsheet>
+ <parameter name="prefix" value="navbar"/>
+ <parameter name="uri" value="http://apache.org/xsp/navbar/1.0"/>
+ <parameter name="href"
value="context:///docs/samples/i18n/navbar.xsl"/>
+ </builtin-logicsheet>
+
+ <builtin-logicsheet>
+ <parameter name="prefix" value="cache"/>
+ <parameter name="uri" value="http://apache.org/xsp/cache/1.0"/>
+ <parameter name="href"
value="context:///docs/samples/i18n/cache.xsl"/>
</builtin-logicsheet>
</target-language>
</component-instance>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]