You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2003/06/17 15:41:26 UTC
cvs commit: cocoon-2.1/src/blocks/portal/samples/profiles/mapping copletinstancedata.xml
cziegeler 2003/06/17 06:41:26
Modified: . status.xml
src/documentation/xdocs/installing updating.xml
src/blocks/portal/samples/profiles/mapping
copletinstancedata.xml
Log:
Updating "update" doc
Revision Changes Path
1.56 +1 -1 cocoon-2.1/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/status.xml,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- status.xml 14 Jun 2003 00:31:28 -0000 1.55
+++ status.xml 17 Jun 2003 13:41:25 -0000 1.56
@@ -21,7 +21,7 @@
<person name="Pierpaolo Fumagalli" email="pier@apache.org" id="PF"/>
<person name="Vadim Gritsenko" email="vgritsenko@apache.org" id="VG"/>
<person name="Christian Haul" email="haul@apache.org" id="CH"/>
- <person name="Jörg Heinicke" email="joerg@apache.org" id="JH"/>
+ <person name="Jörg Heinicke" email="joerg@apache.org" id="JH"/>
<person name="Geoff Howard" email="ghoward@apache.org" id="GH"/>
<person name="Bernhard Huber" email="huber@apache.org" id="BH"/>
<person name="Ivelin Atanasoff Ivanov" email="ivelin@apache.org" id="IAI"/>
1.6 +35 -1 cocoon-2.1/src/documentation/xdocs/installing/updating.xml
Index: updating.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/documentation/xdocs/installing/updating.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- updating.xml 21 May 2003 20:54:17 -0000 1.5
+++ updating.xml 17 Jun 2003 13:41:26 -0000 1.6
@@ -6,13 +6,15 @@
<title>Updating Cocoon</title>
<authors>
<person name="Carsten Ziegeler" email="cziegeler@apache.org"/>
- <person name="Jörg Heinicke" email="joerg@apache.org"/>
+ <person name="Jörg Heinicke" email="joerg@apache.org"/>
</authors>
</header>
<body>
<s1 title="Updating Cocoon">
+ <p>Please take your time and read this document completly before you try to upgrade from
+ a Cocoon 2.0.x version to 2.1 (or above).</p>
<p>
This is a brief discussion of the changes between the latest official release @released.version@
and the current development version of Apache Cocoon. So, if you are interested in
@@ -36,6 +38,31 @@
<p>FOP serializer's <user-config> relative path now resolves relative
to sitemap's directory. All Cocoon URIs are supported too.</p>
</s2>
+ <s2 title="Namespace changes">
+ <p>In order to follow strict rules for the namespace handling, some transformers
+ and generators changed their namespace, so if you use any of these components
+ make sure to change the namespaces.</p>
+ <s3 title="Request Generator">
+ <p>RequestGenerator changed namespace from http://xml.apache.org/cocoon/requestgenerator/2.0 to
+ http://apache.org/cocoon/request/2.0.
+ </p>
+ </s3>
+ <s3 title="I18nTransformer">
+ <p>The I18nTransformer changed its namespace from
+ http://apache.org/cocoon/i18n/2.0 to http://apache.org/cocoon/i18n/2.1</p>
+ </s3>
+ <s3 title="I18nTransformer">
+ <p>The I18nTransformer changed its namespace from
+ http://apache.org/cocoon/i18n/2.0 to http://apache.org/cocoon/i18n/2.1</p>
+ </s3>
+ </s2>
+ </s1>
+ <s1 title="Recompiling Own Code">
+ <p>Due to some changes in the logging of Cocoon components, for example own generators,
+ transformers or actions, code compiled for Cocoon 2.0.x will not run using
+ Cocoon 2.1.</p>
+ <p>In order to get your own components running, you only have to recompile your code
+ and then everything should work fine.</p>
</s1>
<s1 title="Components">
<p>
@@ -170,6 +197,13 @@
<p>So you see, although this is an incompatible change in the Java code, you have only
little to do to update your Cocoon installation.</p>
</s3>
+ </s2>
+ <s2 title="File Upload">
+ <p>File upload class name changed from org.apache.cocoon.components.request.multipart.FilePart to
+ org.apache.cocoon.servlet.multipart.Part.
+ File upload method names changed from FilePart.getFilePath() to
+ Part.getUploadName()
+ </p>
</s2>
</s1>
</body>
1.7 +4 -0 cocoon-2.1/src/blocks/portal/samples/profiles/mapping/copletinstancedata.xml
Index: copletinstancedata.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/portal/samples/profiles/mapping/copletinstancedata.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- copletinstancedata.xml 27 May 2003 09:17:33 -0000 1.6
+++ copletinstancedata.xml 17 Jun 2003 13:41:26 -0000 1.7
@@ -35,6 +35,10 @@
</field>
<field name="copletData" type="java.lang.String" handler="org.apache.cocoon.portal.util.CopletDataReferenceFieldHandler"/>
+
+ <field name="attributes" type="org.exolab.castor.mapping.MapItem" collection="map" handler="org.apache.cocoon.portal.util.AttributesFieldHandler">
+ <bind-xml name="attribute"/>
+ </field>
</class>
<class name="org.apache.cocoon.portal.util.MapItem">