shannon 2003/03/20 19:33:51
Modified: targets/cocoon bylaws-addendum.html catalog-test.html
changes.html contrib.html doclist.html index.html
introduction.html license.html mail-archives.html
mail-lists.html news.html overview.html
performancetips.html todo.html who.html
targets/cocoon/developing deli.html
targets/cocoon/installing index.html jars.html
targets/cocoon/plan changes-doc.html
targets/cocoon/userdocs/concepts catalog.html
targets/cocoon/userdocs/serializers pdf-serializer.html
targets/cocoon/userdocs/xsp request.html
Log:
site update
Revision Changes Path
1.4 +1 -1 xml-site/targets/cocoon/bylaws-addendum.html
Index: bylaws-addendum.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/bylaws-addendum.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- bylaws-addendum.html 10 Mar 2003 15:56:44 -0000 1.3
+++ bylaws-addendum.html 21 Mar 2003 03:33:48 -0000 1.4
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.10 +1 -1 xml-site/targets/cocoon/catalog-test.html
Index: catalog-test.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/catalog-test.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- catalog-test.html 10 Mar 2003 15:56:44 -0000 1.9
+++ catalog-test.html 21 Mar 2003 03:33:48 -0000 1.10
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.33 +2 -2 xml-site/targets/cocoon/changes.html
Index: changes.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/changes.html,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- changes.html 10 Mar 2003 15:56:44 -0000 1.32
+++ changes.html 21 Mar 2003 03:33:48 -0000 1.33
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
@@ -191,7 +191,7 @@
- <font face="verdana, helvetica, sans serif" size="+1" color="#0086b2"><b>
2.0.5-dev (March 10 2003)</b></font>
+ <font face="verdana, helvetica, sans serif" size="+1" color="#0086b2"><b>
2.0.5-dev (March 20 2003)</b></font>
<ul>
<li>
1.13 +2 -2 xml-site/targets/cocoon/contrib.html
Index: contrib.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/contrib.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- contrib.html 10 Mar 2003 15:56:44 -0000 1.12
+++ contrib.html 21 Mar 2003 03:33:48 -0000 1.13
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
@@ -226,7 +226,7 @@
<a href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">latest and
greatest code</a> (which you find in the cocoon-2.0 module in
the cvs.apache.org CVS code repository, or from the
- <a href="http://xml.apache.org/from-cvs/cocoon-2.0/">CVS snapshots</a>).
+ <a href="http://xml.apache.org/cocoon/mirror.cgi#nightly">CVS
snapshots</a>).
Review the <a href="todo.html">todo</a> list, choose a task
(or perhaps you have noticed something that needs patching). Make the
changes, do the testing, generate a patch, if you need then discuss it on
1.14 +2 -2 xml-site/targets/cocoon/doclist.html
Index: doclist.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/doclist.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- doclist.html 10 Mar 2003 15:56:44 -0000 1.13
+++ doclist.html 21 Mar 2003 03:33:48 -0000 1.14
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
@@ -362,7 +362,7 @@
</li>
<li>
-<font face="verdana, helvetica, sans serif"><a
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></font>
+<font face="verdana, helvetica, sans serif"><a
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></font>
</li>
</ul>
1.33 +1 -1 xml-site/targets/cocoon/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/index.html,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- index.html 10 Mar 2003 15:56:44 -0000 1.32
+++ index.html 21 Mar 2003 03:33:48 -0000 1.33
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.9 +1 -1 xml-site/targets/cocoon/introduction.html
Index: introduction.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/introduction.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- introduction.html 10 Mar 2003 15:56:44 -0000 1.8
+++ introduction.html 21 Mar 2003 03:33:48 -0000 1.9
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.24 +1 -1 xml-site/targets/cocoon/license.html
Index: license.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/license.html,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- license.html 10 Mar 2003 15:56:44 -0000 1.23
+++ license.html 21 Mar 2003 03:33:48 -0000 1.24
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.15 +1 -1 xml-site/targets/cocoon/mail-archives.html
Index: mail-archives.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/mail-archives.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- mail-archives.html 10 Mar 2003 15:56:44 -0000 1.14
+++ mail-archives.html 21 Mar 2003 03:33:48 -0000 1.15
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.14 +1 -1 xml-site/targets/cocoon/mail-lists.html
Index: mail-lists.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/mail-lists.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- mail-lists.html 10 Mar 2003 15:56:44 -0000 1.13
+++ mail-lists.html 21 Mar 2003 03:33:48 -0000 1.14
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.6 +1 -1 xml-site/targets/cocoon/news.html
Index: news.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/news.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- news.html 10 Mar 2003 15:56:44 -0000 1.5
+++ news.html 21 Mar 2003 03:33:48 -0000 1.6
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.11 +1 -1 xml-site/targets/cocoon/overview.html
Index: overview.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/overview.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- overview.html 10 Mar 2003 15:56:44 -0000 1.10
+++ overview.html 21 Mar 2003 03:33:48 -0000 1.11
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.8 +1 -1 xml-site/targets/cocoon/performancetips.html
Index: performancetips.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/performancetips.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- performancetips.html 10 Mar 2003 15:56:44 -0000 1.7
+++ performancetips.html 21 Mar 2003 03:33:48 -0000 1.8
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.27 +1 -1 xml-site/targets/cocoon/todo.html
Index: todo.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/todo.html,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- todo.html 10 Mar 2003 15:56:44 -0000 1.26
+++ todo.html 21 Mar 2003 03:33:48 -0000 1.27
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.13 +1 -1 xml-site/targets/cocoon/who.html
Index: who.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/who.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- who.html 10 Mar 2003 15:56:44 -0000 1.12
+++ who.html 21 Mar 2003 03:33:49 -0000 1.13
@@ -157,7 +157,7 @@
<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/">Code Repository</a></td>
</tr>
<tr>
-<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/from-cvs/cocoon-2.0/">Dev Snapshots</a></td>
+<td valign="top" background="images/label-background_a.gif"
bgcolor="#959595"><a class="menu" target="new"
href="http://xml.apache.org/cocoon/mirror.cgi#nightly">Dev Snapshots</a></td>
</tr>
<tr>
<td background="images/label-background_b.gif" bgcolor="#959595"
valign="top"><img width="120" height="6" src="images/separator.gif"><br>
1.7 +268 -28 xml-site/targets/cocoon/developing/deli.html
Index: deli.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/developing/deli.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- deli.html 19 Oct 2002 13:32:53 -0000 1.6
+++ deli.html 21 Mar 2003 03:33:49 -0000 1.7
@@ -480,7 +480,7 @@
<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
<pre>
<deli class="org.apache.cocoon.components.deli.DeliImpl">
- <parameter name="deli-config-file"
value="resources/deli/config/deliConfig.xml"/>
+ <parameter name="deli-config-file"
value="deli/config/deliConfig.xml"/>
</deli>
</pre>
</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
@@ -544,19 +544,20 @@
<pre>
<?xml version="1.0"?>
<deli>
-
<legacyDeviceFile>resources/deli/config/legacyDevice.xml</legacyDeviceFile>
- <debug>false</debug>
- <printDefaults>false</printDefaults>
- <printProfileBeforeMerge>false</printProfileBeforeMerge>
- <schemaVocabularyFile
namespace="http://www.wapforum.org/UAPROF/ccppschema-20000405#">
- resources/deli/config/vocab/ccppschema-20000405.rdfs
- </schemaVocabularyFile>
- <schemaVocabularyFile
namespace="http://www.wapforum.org/profiles/UAPROF/ccppschema-20010330#">
- resources/deli/config/vocab/ccppschema-20010330.rdfs
- </schemaVocabularyFile>
- <vocabularyFile>
- resources/deli/config/vocab/uaprof_vocab_30apr2001.xml
- </vocabularyFile>
+
<localProfilesFile>WEB-INF/deli/config/localProfiles.xml</localProfilesFile>
+
<localProfilesPath>WEB-INF/deli/legacyProfiles</localProfilesPath>
+ <useLocalProfilesIfNoCCPP>true</useLocalProfilesIfNoCCPP>
+
<useLocalProfilesInAdditionToCCPP>false</useLocalProfilesInAdditionToCCPP>
+ <debug>false</debug>
+ <printDefaults>true</printDefaults>
+ <printProfileBeforeMerge>false</printProfileBeforeMerge>
+ <processUndefinedAttributes>true</processUndefinedAttributes>
+ <useCapabilityClasses>false</useCapabilityClasses>
+
<capabilityClassFile>WEB-INF/deli/config/capClass.xml</capabilityClassFile>
+
<namespaceConfigFile>WEB-INF/deli/config/namespaceConfig.xml</namespaceConfigFile>
+ <!-- note that the default uri is also hardcoded -->
+
<rdfsUri>http://www.w3.org/1999/PR-rdf-schema-19990303#</rdfsUri>
+ <rdfsUri>http://www.w3.org/TR/PR-rdf-schema#</rdfsUri>
</deli>
</pre>
</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
@@ -696,15 +697,15 @@
<tr>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">supportLegacyDevices</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">useLocalProfilesIfNoCCPP</font></td>
<td align="left"
valign="top" rowspan="1" colspan="1" bgcolor="#a0ddf0"><font
face="verdana,helvetica,sanserif" size="-1" color="black">true</font></td>
- <td align="left"
valign="top" rowspan="1" colspan="1" bgcolor="#a0ddf0"><font
face="verdana,helvetica,sanserif" size="-1" color="black">Is the legacy device
database turned on?</font></td>
+ <td align="left"
valign="top" rowspan="1" colspan="1" bgcolor="#a0ddf0"><font
face="verdana,helvetica,sanserif" size="-1" color="black">Use the legacy device
database if devices send no CC/PP information?</font></td>
</tr>
<tr>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">legacyDeviceFile</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">localProfilesFile</font></td>
<td align="left"
valign="top" rowspan="1" colspan="1" bgcolor="#a0ddf0"><font
face="verdana,helvetica,sanserif" size="-1"
color="black">legacyDevice.xml</font></td>
<td align="left"
valign="top" rowspan="1" colspan="1" bgcolor="#a0ddf0"><font
face="verdana,helvetica,sanserif" size="-1" color="black">The file containing
the legacy device database.</font></td>
@@ -840,16 +841,15 @@
<tr>
<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
<pre>
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
<devices>
- <legacyDevice>
- <useragentstring>MSIE</useragentstring>
-
<profileref>http://www.profiles.org/legacyProfiles/msie.rdf</profileref>
- </legacyDevice>
- <legacyDevice>
- <useragentstring>mozilla</useragentstring>
-
<profileref>resources/deli/legacyProfiles/mozSample.rdf</profileref>
- </legacyDevice>
+<!-- Alcatel -->
+ <device>
+ <ua value="Alcatel-BF4/2.0" profile="Alcatel_OT512.rdf"/>
+ </device>
+ <device>
+ <ua value="Alcatel-BE4/1.0" profile="Alcatel_OT301.rdf"/>
+ </device>
</devices>
</pre>
</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
@@ -861,8 +861,8 @@
</div>
<p>
-<font color="black" face="verdana,helvetica,sanserif">Where <code><font
face="courier, monospaced">useragentstring</font></code> is a device unique
string found in
-the user-agent string of the device and <code><font face="courier,
monospaced">profileref</font></code> is either a local file or a URL
+<font color="black" face="verdana,helvetica,sanserif">Where <code><font
face="courier, monospaced">vale</font></code> is a device unique string found
in
+the user-agent string of the device and <code><font face="courier,
monospaced">profile</font></code> is either a local file or a URL
for the appropriate legacy profile. </font>
</p>
@@ -945,6 +945,246 @@
</xsl:stylesheet>
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+
+
+<font face="verdana, helvetica, sans serif" size="+2"
color="#0086b2">Incorporating DELI into other Cocoon components</font>
+<hr style="color: #0086b2" size="1">
+
+<p>
+<font color="black" face="verdana,helvetica,sanserif">If you want to use
DELI in other Cocoon components, DELI needs to go through an
+initialization phase in order to read in configuration files. This occurs in
+<code><font face="courier, monospaced">initialization()</font></code> in
DeliImpl.java in the Cocoon DELI component in this line:</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+Workspace.getInstance().configure(this.servletContext, this.deliConfig);
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+
+<p>
+<font color="black" face="verdana,helvetica,sanserif">i.e. it constructs a
DELI workspace object. In addition, DeliImpl.java has a number
+of methods to get profile information, but the one which is of most use is
<code><font face="courier, monospaced">getProfile()</font></code>.
+For examples of how to call DELI, see DeliTransformer.java - here are the
relevant pieces.</font>
+</p>
+
+
+<p>
+<font color="black" face="verdana,helvetica,sanserif">First import
DELI:</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+import org.apache.cocoon.components.deli.Deli;
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Then in compose(),
initialize DELI:</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+if (this.manager.hasComponent(Deli.ROLE)) {
+ if (this.getLogger().isDebugEnabled()) {
+ getLogger().debug("Looking up " + Deli.ROLE);
+}
+this.deli = (Deli) this.manager.lookup(Deli.ROLE);
+} else {
+ if (this.getLogger().isDebugEnabled()) {
+ getLogger().debug("Deli is not available");
+}
+}
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+
+<p>
+<font color="black" face="verdana,helvetica,sanserif"> Then in
getLogicSheetParameters, call DELI to get
+a profile and convert it into a DOM tree to give to XSLT as a
parameter:</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+if (this.deli != null && this._useDeli) {
+ try {
+ Request request = ObjectModelHelper.getRequest(objectModel);
+ if (map == null) {
+ map = new HashMap();
+ }
+
+ org.w3c.dom.Document deliCapabilities =
this.deli.getUACapabilities(request);
+ map.put("deli-capabilities", deliCapabilities);
+ } catch (Exception e) {
+ getLogger().error("Error setting DELI info", e);
+ }
+}
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+
+<p>
+<font color="black" face="verdana,helvetica,sanserif">
+However, you don't want to pipe DELI to XSLT so here is some more
+example code showing how to use DELI in Cocoon if you want to use the
+DELI API directly:</font>
+</p>
+
+
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Import the deli
component and the DELI API:</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+import org.apache.cocoon.components.deli.Deli;
+
+import com.hp.hpl.deli.Profile;
+import com.hp.hpl.deli.ProfileAttribute;
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+
+
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Add code to initialize
the compose method as before</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+ public void compose(ComponentManager manager) throws ComponentException
+ {
+ try
+ {
+ deli = (Deli)manager.lookup(Deli.ROLE);
+ }
+ catch(ComponentException ce)
+ {
+ logger.log(Level.ERROR, "Cannot get ref to Deli", ce);
+ ce.printStackTrace();
+ }
+ }
+</pre>
+</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
+</tr>
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+</table>
+</div>
+
+<p>
+<font color="black" face="verdana,helvetica,sanserif">Some example code that
shows how to extract WmlDeckSize from a
+DELI profile</font>
+</p>
+
+<div align="center">
+<table border="0" cellpadding="0" cellspacing="4">
+<tr>
+<td height="1" width="1" bgcolor="#0086b2"><img border="0" hspace="0"
vspace="0" height="1" width="1" src="images/void.gif"></td><td height="1"
bgcolor="#0086b2"><img border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td><td height="1" width="1" bgcolor="#0086b2"><img
border="0" hspace="0" vspace="0" height="1" width="1"
src="images/void.gif"></td>
+</tr>
+<tr>
+<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
+<pre>
+try
+{
+ Profile theProfile = deli.getProfile(request);
+ if(theProfile != null)
+ {
+ ProfileAttribute attrib = theProfile.getAttribute("WmlDeckSize");
+ if(attrib != null)
+ {
+ Vector temp = (Vector)attrib.get();
+ if(temp != null)
+ {
+ deckSizeString = temp.get(0).toString();
+ System.out.println("Determined WmlDeckSize from DELI: " +
deckSizeString);
+ }
+ }
+ }
+ if(deckSizeString == null)
+ {
+ deckSizeString = "1100";
+ System.out.println("Using fallback WmlDeckSize of " + deckSizeString);
+ }
+}
+catch(Exception ex)
+{
+ System.out.println(ex.toString());
+ ex.printStackTrace();
+}
+}
</pre>
</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
</tr>
1.13 +1 -1 xml-site/targets/cocoon/installing/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/installing/index.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- index.html 10 Mar 2003 15:56:46 -0000 1.12
+++ index.html 21 Mar 2003 03:33:50 -0000 1.13
@@ -165,7 +165,7 @@
<p>
<font color="black" face="verdana,helvetica,sanserif">
You also can download one of the development snapshots from the
- <a href="http://xml.apache.org/from-cvs/cocoon-2.0/">CVS
snapshots</a>
+ <a href="http://xml.apache.org/cocoon/mirror.cgi#nightly">CVS
snapshots</a>
directory.
</font>
</p>
1.15 +1 -1 xml-site/targets/cocoon/installing/jars.html
Index: jars.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/installing/jars.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- jars.html 10 Mar 2003 15:56:47 -0000 1.14
+++ jars.html 21 Mar 2003 03:33:50 -0000 1.15
@@ -526,7 +526,7 @@
<tr>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">
-<a href="http://devnet.hp.com/projects/deli/">Device capabilities</a>
+<a href="http://delicon.sourceforge.net/">Device capabilities</a>
</font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">optional/deli-0.9.1.jar</font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Open Source Delivery Context Java Library supporting CC/PP and
UAProf.
1.14 +1 -1 xml-site/targets/cocoon/plan/changes-doc.html
Index: changes-doc.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/plan/changes-doc.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- changes-doc.html 10 Mar 2003 15:56:48 -0000 1.13
+++ changes-doc.html 21 Mar 2003 03:33:50 -0000 1.14
@@ -117,7 +117,7 @@
<tr>
<td>
- <font face="verdana, helvetica, sans serif" size="+1" color="#0086b2"><b>
2.0.5-dev (March 10 2003)</b></font>
+ <font face="verdana, helvetica, sans serif" size="+1" color="#0086b2"><b>
2.0.5-dev (March 20 2003)</b></font>
<ul>
<li>
1.13 +7 -5 xml-site/targets/cocoon/userdocs/concepts/catalog.html
Index: catalog.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/userdocs/concepts/catalog.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- catalog.html 10 Mar 2003 15:56:48 -0000 1.12
+++ catalog.html 21 Mar 2003 03:33:50 -0000 1.13
@@ -858,15 +858,17 @@
<li>
<font face="verdana, helvetica, sans serif">
- downloaded a recent copy of the Simplified DocBook DTD distribution
- and unpacked it at
- <code><font face="courier,
monospaced">/usr/local/sgml/docbook/simple/</font></code>
+ Downloaded a recent copy of the Simplified DocBook DTD (the flattened DTD
+ will suffice) from
+ <a href="http://www.oasis-open.org/docbook/">here</a>
+ and place it at
+ <code><font face="courier,
monospaced">/usr/local/sgml/docbook/simple/sdocbook.dtd</font></code>
</font>
</li>
<li>
<font face="verdana, helvetica, sans serif">
- created a catalog file at
+ Created a catalog file at
<code><font face="courier,
monospaced">/usr/local/sgml/docbook/simple/sdocbook.cat</font></code>
with a single entry for the Simplified DocBook XML DTD
</font>
@@ -874,7 +876,7 @@
<li>
<font face="verdana, helvetica, sans serif">
- added the parameter (<code><font face="courier,
monospaced">local-catalog</font></code>) to the
+ Added the parameter (<code><font face="courier,
monospaced">local-catalog</font></code>) to the
<code><font face="courier, monospaced">WEB-INF/cocoon.xconf</font></code>
(using the full pathname to the <code><font face="courier,
monospaced">sdocbook.cat</font></code> catalog).
</font>
1.11 +72 -64
xml-site/targets/cocoon/userdocs/serializers/pdf-serializer.html
Index: pdf-serializer.html
===================================================================
RCS file:
/home/cvs/xml-site/targets/cocoon/userdocs/serializers/pdf-serializer.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- pdf-serializer.html 31 Dec 2002 05:56:03 -0000 1.10
+++ pdf-serializer.html 21 Mar 2003 03:33:50 -0000 1.11
@@ -153,14 +153,16 @@
<hr style="color: #0086b2" size="1">
<p>
-<font color="black" face="verdana,helvetica,sanserif">The pdf serializer
takes fo xml events as input. By using the
- FOP project it creates pdf out of the sax events.</font>
+<font color="black" face="verdana,helvetica,sanserif">The PDF serializer
takes
+ <a href="http://www.w3.org/TR/xsl">XSL FO</a> SAX events as
input.
+ By using the <a href="http://xml.apache.org/fop/">FOP</a>
project
+ it creates PDF out of the SAX events.</font>
</p>
-
+
<p>
-<font color="black" face="verdana,helvetica,sanserif">This serializer is
optional and requires the fop package
- in the lib directory when building cocoon 2. However,
- the distribution includes this package already.</font>
+<font color="black" face="verdana,helvetica,sanserif">This serializer is
optional and requires the FOP package in the lib
+ directory when building Cocoon 2. However, the distribution
includes
+ this package already.</font>
</p>
<blockquote>
@@ -175,7 +177,7 @@
</li>
<li>
-<font face="verdana, helvetica, sans serif">Cacheable: yes.</font>
+<font face="verdana, helvetica, sans serif">Cacheable: yes</font>
</li>
</ul>
@@ -186,7 +188,7 @@
<hr style="color: #0086b2" size="1">
<p>
-<font color="black" face="verdana,helvetica,sanserif">Dynamically generating
a pdf file (with embeded fonts) in Cocoon
+<font color="black" face="verdana,helvetica,sanserif">Dynamically generating
a PDF file (with embedded fonts) in Cocoon
is basically 8 steps:</font>
</p>
@@ -198,7 +200,7 @@
</li>
<li>
-<font face="verdana, helvetica, sans serif">Create a custom configuration
file for FOP (Cocoons PDF renderer)
+<font face="verdana, helvetica, sans serif">Create a custom configuration
file for FOP (Cocoons PDF renderer),
which tells it what fonts are available and where to find
them.</font>
</li>
@@ -216,7 +218,7 @@
</li>
<li>
-<font face="verdana, helvetica, sans serif">Add a match for your pdf (I'm
sure you can do the rest...).</font>
+<font face="verdana, helvetica, sans serif">Add a match for your PDF (I'm
sure you can do the rest...).</font>
</li>
<li>
@@ -224,7 +226,7 @@
</li>
<li>
-<font face="verdana, helvetica, sans serif">Request your pdf.</font>
+<font face="verdana, helvetica, sans serif">Request your PDF.</font>
</li>
</ol>
@@ -240,9 +242,9 @@
<p>
<table border="0" cellpadding="0" cellspacing="3" width="100%">
<tr>
-<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0"
height="29" width="28" src="images/note.gif"></td><td valign="top"><font
color="black" face="verdana,helvetica,sanserif" size="-1"><i>All java calls
have nothing else in the
- classpath OR ext directory also, instructions which have
wrapped
- should be entered as one single instruction.</i></font></td>
+<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0"
height="29" width="28" src="images/note.gif"></td><td valign="top"><font
color="black" face="verdana,helvetica,sanserif" size="-1"><i>All java calls
have nothing else in the classpath or ext directory.
+ Also, instructions which have wrapped should be entered as
one single
+ instruction.</i></font></td>
</tr>
</table>
</p>
@@ -263,7 +265,8 @@
<tr>
<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
<pre>
-java -cp fop-0.20.3rc.jar;xercesImpl-2.0.0.jar;xml-apis.jar \
+$ cd %PATH_TO_COCOON%\lib
+$ java -cp
optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
org.apache.fop.fonts.apps.TTFReader \
%PATH_TO_FONT% %PATH_TO_METRICS_DIR%\%FONT_NAME%.xml
</pre>
@@ -287,7 +290,8 @@
<tr>
<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
<pre>
-java -cp fop-0.20.3rc.jar;xercesImpl-2.0.0.jar;xml-apis.jar \
+$ cd $PATH_TO_COCOON/lib
+$ java -cp
optional/fop-0.20.4.jar;core/xercesImpl-2.0.0.jar;core/xml-apis.jar \
org.apache.fop.fonts.apps.TTFReader \
$PATH_TO_FONT $PATH_TO_METRICS_DIR/$FONT_NAME.xml
</pre>
@@ -298,46 +302,34 @@
</tr>
</table>
</div>
+
+<font face="verdana, helvetica, sans serif" size="+1"
color="#0086b2">Example: Create the Arial metric files.</font>
+
<p>
-<table border="0" cellpadding="0" cellspacing="3" width="100%">
-<tr>
-<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0"
height="29" width="28" src="images/note.gif"></td><td valign="top"><font
color="black" face="verdana,helvetica,sanserif" size="-1"><i>These jars are not
all in the same directory. Either provide
- path information (fop is in optional, the other two in core) or
- copy them into the same directory.</i></font></td>
-</tr>
-</table>
-</p>
-
-
-<p>
-<font color="black" face="verdana,helvetica,sanserif">For the sake of this
tutorial, I'm going to be using windows,
- converting the Arial family of fonts and storing the metrics
files in
- the location <code><font face="courier,
monospaced">D:\fop-fonts</font></code>.</font>
+<font color="black" face="verdana,helvetica,sanserif">For the sake of the
rest of this tutorial, I'm going to be using
+ Windows NT, converting the Arial family of fonts and storing
the metrics
+ files in the location <code><font face="courier,
monospaced">D:\fop-fonts</font></code>.</font>
</p>
-
+
<p>
-<font color="black" face="verdana,helvetica,sanserif">My ttf files are
located in <code><font face="courier, monospaced">C:\WINNT\Fonts</font></code>.
If you are
- running on linux/windows 9x/windows ME please alter as
- appropriate.</font>
+<font color="black" face="verdana,helvetica,sanserif">My TTF files are
located in <code><font face="courier, monospaced">C:\WINNT\Fonts</font></code>.
If you are
+ running on Linux/Windows 9x/ME/2000/XP please alter as
appropriate.</font>
</p>
-
-
+
<p>
<table border="0" cellpadding="0" cellspacing="3" width="100%">
<tr>
-<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0"
height="29" width="28" src="images/note.gif"></td><td valign="top"><font
color="black" face="verdana,helvetica,sanserif" size="-1"><i>I normally use
Cygwin; a unix shell
- environment which runs on windows. If I slip some unix into
here,
- please excuse me (although I'd welcome the
feedback...).</i></font></td>
+<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0"
height="29" width="28" src="images/note.gif"></td><td valign="top"><font
color="black" face="verdana,helvetica,sanserif" size="-1"><i>I normally use
Cygwin; a Unix shell environment which runs on Windows.
+ If I slip some Unix into here, please excuse me (although
I'd welcome
+ the feedback...).</i></font></td>
</tr>
</table>
</p>
-
-<font face="verdana, helvetica, sans serif" size="+1"
color="#0086b2">Generating the Arial metrics</font>
<p>
-<font color="black" face="verdana,helvetica,sanserif">Start a command
session (as appropriate to your env) then change
+<font color="black" face="verdana,helvetica,sanserif">Start a command
session (as appropriate to your env), then change
to Cocoon libs directory.</font>
</p>
@@ -348,7 +340,7 @@
</tr>
<tr>
<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
-<pre>$ cd <cocoon>\lib</pre>
+<pre>$ cd %PATH_TO_COCOON%\lib</pre>
</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
</tr>
<tr>
@@ -358,7 +350,7 @@
</div>
<p>
-<font color="black" face="verdana,helvetica,sanserif">create the metrics
directory (D:\fop-fonts)</font>
+<font color="black" face="verdana,helvetica,sanserif">Create the metrics
directory (D:\fop-fonts)</font>
</p>
<div align="center">
@@ -378,8 +370,7 @@
</div>
<p>
-<font color="black" face="verdana,helvetica,sanserif">create the metrics for
arial.ttf, arialb.ttf, arialbi.ttf,
- ariali.ttf</font>
+<font color="black" face="verdana,helvetica,sanserif">Create the metrics for
arial.ttf, arialb.ttf, arialbi.ttf, ariali.ttf</font>
</p>
<div align="center">
@@ -390,16 +381,16 @@
<tr>
<td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td><td bgcolor="#ffffff">
<pre>
-$ java -cp
optional\fop-0.20.3rc.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
+$ java -cp
optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
org.apache.fop.fonts.apps.TTFReader \
C:\WINNT\Fonts\arial.ttf D:\fop-fonts\arial.ttf.xml
-$ java -cp
optional\fop-0.20.3rc.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
+$ java -cp
optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
org.apache.fop.fonts.apps.TTFReader \
C:\WINNT\Fonts\arialb.ttf D:\fop-fonts\arialb.ttf.xml
-$ java -cp
optional\fop-0.20.3rc.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
+$ java -cp
optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
org.apache.fop.fonts.apps.TTFReader \
C:\WINNT\Fonts\arialbi.ttf D:\fop-fonts\arialbi.ttf.xml
-$ java -cp
optional\fop-0.20.3rc.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
+$ java -cp
optional\fop-0.20.4.jar;core\xercesImpl-2.0.0.jar;core\xml-apis.jar \
org.apache.fop.fonts.apps.TTFReader \
C:\WINNT\Fonts\ariali.ttf D:\fop-fonts\ariali.ttf.xml
</pre>
@@ -430,7 +421,7 @@
<p>
<font color="black" face="verdana,helvetica,sanserif">I also find it useful
to retain the <code><font face="courier, monospaced">.ttf</font></code> as it
is also
possible to add other types of fonts (if you want to read the
FOP
- docs) and the ttf tells me where to locate the font.</font>
+ docs) and the <code><font face="courier,
monospaced">.ttf</font></code> tells me where to locate the font.</font>
</p>
<div align="center">
@@ -480,22 +471,21 @@
</p>
<p>
-<font color="black" face="verdana,helvetica,sanserif">If you are wondering
why each font has been added twice it's to do
- with the font lookup. If the font is specified as 'Arial' and
the
- weight is 'bold' then FOP searches for a
- <code><font face="courier,
monospaced"><font-triplet/></font></code> which matches then uses
- the parent <code><font face="courier,
monospaced"><font/></font></code> tag to get the actual
- font information. If the font is specified as 'ArialMT' (it's
proper
- name) it will still work. Think of it as an alias
capability.</font>
+<font color="black" face="verdana,helvetica,sanserif">If you are wondering
why each font has been added twice, it has to do
+ with the font lookup. If the font is specified as 'Arial' and
the
+ weight is 'bold' then FOP searches for a matching
+ <code><font face="courier,
monospaced"><font-triplet/></font></code>, then uses the parent
+ <code><font face="courier,
monospaced"><font/></font></code> tag to get the actual font information.
+ If the font is specified as 'ArialMT' (it's proper name) it
will still
+ work. Think of it as an alias capability.</font>
</p>
<font face="verdana, helvetica, sans serif" size="+1"
color="#0086b2"><b>Sitemap and fo2pdf serializer.</b></font>
<p>
-<font color="black" face="verdana,helvetica,sanserif">All that remains is to
tell the serializer where your config file is
- located. Find the line in your sitemap which looks
- like:</font>
+<font color="black" face="verdana,helvetica,sanserif">All that remains is to
tell the serializer, where your config file is
+ located. Find the line in your sitemap which looks like:</font>
</p>
<div align="center">
@@ -519,7 +509,7 @@
</div>
<p>
-<font color="black" face="verdana,helvetica,sanserif">and replace it
with...</font>
+<font color="black" face="verdana,helvetica,sanserif">and replace it
with:</font>
</p>
<div align="center">
@@ -533,7 +523,7 @@
<map:serializer name="fo2pdf"
src="org.apache.cocoon.serialization.FOPSerializer"
mime-type="application/pdf">
- <user-config src="D:/fop-fonts/config.xml"/>
+ <user-config>D:/fop-fonts/config.xml</user-config>
</map:serializer>
</pre>
</td><td width="1" bgcolor="#0086b2"><img border="0" hspace="0" vspace="0"
height="1" width="1" src="images/void.gif"></td>
@@ -543,10 +533,28 @@
</tr>
</table>
</div>
+
+<p>
+<font color="black" face="verdana,helvetica,sanserif">You can use absolute
paths like above or relative ones. The relative
+ paths will be resolved to the servlet's context directory.
Furthermore it's possible
+ to use Cocoon protocols like <code><font face="courier,
monospaced">cocoon://</font></code> or
+ <code><font face="courier,
monospaced">context://</font></code>.</font>
+</p>
+
+<p>
+<table border="0" cellpadding="0" cellspacing="3" width="100%">
+<tr>
+<td valign="top" width="28"><img alt="Note" border="0" hspace="0" vspace="0"
height="29" width="28" src="images/note.gif"></td><td valign="top"><font
color="black" face="verdana,helvetica,sanserif" size="-1"><i>In an older
version of Cocoon (2.0.3 and earlier) the config file
+ location was specified by using an attribute 'src' on
+ <user-config/>. If you still have this in your sitemap,
it's
+ recommended to change it to the above provided
configuration.</i></font></td>
+</tr>
+</table>
+</p>
<p>
-<font color="black" face="verdana,helvetica,sanserif">And that's it. Oh,
one final thing to remember: the cache isn't aware
+<font color="black" face="verdana,helvetica,sanserif">And that's it. Oh, one
final thing to remember: the cache isn't aware
of your config file; <b>always</b> delete your cache-dir
after modifying your config file.</font>
</p>
1.8 +24 -15 xml-site/targets/cocoon/userdocs/xsp/request.html
Index: request.html
===================================================================
RCS file: /home/cvs/xml-site/targets/cocoon/userdocs/xsp/request.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- request.html 19 Oct 2002 13:33:02 -0000 1.7
+++ request.html 21 Mar 2003 03:33:50 -0000 1.8
@@ -777,7 +777,7 @@
<tr>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:get-remote-addr</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:get-remote-address</font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black"></font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">yes</font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Gets the IP address of the requesting client.</font></td>
@@ -819,11 +819,20 @@
<tr>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:get-request-uri</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:get-sitemap-uri</font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black"></font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">yes</font></td>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Gets the part of the request URL from the protocol name up to the
-query string.</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Gets the part of the request URL that was matched in the
sitemap.</font></td>
+
+</tr>
+
+
+<tr>
+
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:get-requested-url</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black"></font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">yes</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Returns the full request URL including server name and
port.</font></td>
</tr>
@@ -870,42 +879,42 @@
<tr>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:get-user-principal</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:get-session-attribute</font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black"></font></td>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">yes</font></td>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Gets a java.security.Principal object containing the name of the
user,
-if a user has been authenticated.</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">no</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Gets a given attribute of a session.</font></td>
</tr>
<tr>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:is-requested-session-id-from-cookie</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:get-session-id</font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black"></font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">yes</font></td>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Indicates whether the requested session id was provided in a
cookie.</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Gets the id of the session.</font></td>
</tr>
<tr>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:is-requested-session-id-from-url</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:get-user-principal</font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black"></font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">yes</font></td>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Indicates whether the requested session id was provided as part
of the
-request URL.</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Gets a java.security.Principal object containing the name of the
user,
+if a user has been authenticated.</font></td>
</tr>
<tr>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:is-requested-session-id-valid</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">xsp-request:get-uri</font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black"></font></td>
<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">yes</font></td>
-<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Indicates whether the requested session id is still
valid.</font></td>
+<td align="left" valign="top" rowspan="1" colspan="1"
bgcolor="#a0ddf0"><font face="verdana,helvetica,sanserif" size="-1"
color="black">Gets the part of the request URL after the server address and
port, up to
+the query string.</font></td>
</tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]