You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gr...@locus.apache.org on 2000/09/16 21:06:49 UTC
cvs commit: xml-cocoon/xdocs xspprocessor.xml
greenrd 00/09/16 12:06:48
Modified: . changes.xml
src/org/apache/cocoon/processor/xsp xsp-java.xsl
xdocs xspprocessor.xml
Log:
Undid Stefano's change on xsp:pi because it would break existing code; fixed docs instead
Revision Changes Path
1.110 +6 -1 xml-cocoon/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/changes.xml,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- changes.xml 2000/09/16 16:04:28 1.109
+++ changes.xml 2000/09/16 19:06:47 1.110
@@ -4,7 +4,7 @@
<!--
History of Cocoon changes
- $Id: changes.xml,v 1.109 2000/09/16 16:04:28 greenrd Exp $
+ $Id: changes.xml,v 1.110 2000/09/16 19:06:47 greenrd Exp $
-->
<changes title="History of Changes">
@@ -17,6 +17,11 @@
</devs>
<release version="@version@" date="@date@">
+ <action dev="RDG" type="fix">
+ Changed <xsp:pi> back to use target= instead of name= in order
+ not to break existing users' code (which there is a lot of!).
+ Changed XSP docs to reflect correct usage.
+ </action>
<action dev="RDG" type="add">
Added very primitive profiler (see cocoon.properties)
</action>
@@ -35,7 +40,7 @@
Fixed encoding problem with xinclude processor
</action>
<action dev="SM" type="fix" due-to="Kevin Sonney" due-to-email="kevin@webslingerz.com">
- Fixed problem with XSP and namespaces (now follows the correct name="xml-stylesheet" syntax)
+ Fixed problem with XSP and PIs (now follows the correct name="xml-stylesheet" syntax)
</action>
<action dev="SM" type="update">
Upgraded Xerces to 1.2 because previous version had a bug which meant it couldn't build
1.20 +1 -1 xml-cocoon/src/org/apache/cocoon/processor/xsp/xsp-java.xsl
Index: xsp-java.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/xsp-java.xsl,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- xsp-java.xsl 2000/09/14 14:01:45 1.19
+++ xsp-java.xsl 2000/09/16 19:06:48 1.20
@@ -203,7 +203,7 @@
because Cocoon expects its PIs to be at the top level. -->
document.appendChild(
document.createProcessingInstruction(
- "<xsl:value-of select="@name"/>",
+ "<xsl:value-of select="@target"/>",
<xsl:for-each select="xsp:text|xsp:expr">
<xsl:choose>
<xsl:when test="name(.) = 'xsp:text'">
1.7 +1 -1 xml-cocoon/xdocs/xspprocessor.xml
Index: xspprocessor.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/xdocs/xspprocessor.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- xspprocessor.xml 2000/07/13 17:14:14 1.6
+++ xspprocessor.xml 2000/09/16 19:06:48 1.7
@@ -1188,7 +1188,7 @@
for example:
</p>
- <source><xsp:pi name="xml-stylesheet">
+ <source><xsp:pi target="xml-stylesheet">
href="<xsp:expr>request.getQueryString()</xsp:expr>"
type="text/xsl"
</xsp:pi>
Re: cvs commit: xml-cocoon/xdocs xspprocessor.xml
Posted by Stefano Mazzocchi <st...@apache.org>.
greenrd@locus.apache.org wrote:
>
> greenrd 00/09/16 12:06:48
>
> Modified: . changes.xml
> src/org/apache/cocoon/processor/xsp xsp-java.xsl
> xdocs xspprocessor.xml
> Log:
> Undid Stefano's change on xsp:pi because it would break existing code; fixed docs instead
>
> Revision Changes Path
> 1.110 +6 -1 xml-cocoon/changes.xml
>
> Index: changes.xml
> ===================================================================
> RCS file: /home/cvs/xml-cocoon/changes.xml,v
> retrieving revision 1.109
> retrieving revision 1.110
> diff -u -r1.109 -r1.110
> --- changes.xml 2000/09/16 16:04:28 1.109
> +++ changes.xml 2000/09/16 19:06:47 1.110
> @@ -4,7 +4,7 @@
>
> <!--
> History of Cocoon changes
> - $Id: changes.xml,v 1.109 2000/09/16 16:04:28 greenrd Exp $
> + $Id: changes.xml,v 1.110 2000/09/16 19:06:47 greenrd Exp $
> -->
>
> <changes title="History of Changes">
> @@ -17,6 +17,11 @@
> </devs>
>
> <release version="@version@" date="@date@">
> + <action dev="RDG" type="fix">
> + Changed <xsp:pi> back to use target= instead of name= in order
> + not to break existing users' code (which there is a lot of!).
> + Changed XSP docs to reflect correct usage.
> + </action>
Ok, no problem :)
--
Stefano Mazzocchi One must still have chaos in oneself to be
able to give birth to a dancing star.
<st...@apache.org> Friedrich Nietzsche
--------------------------------------------------------------------
Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------