stefano 00/03/01 08:13:52
Modified: src/org/apache/cocoon/processor/dcp DCPProcessor.java
src/org/apache/cocoon/processor/xsp xsp-java.xsl
src/org/apache/cocoon/processor/xsp/library/java context.xsl
cookie.xsl global.xsl request.xsl response.xsl
session.xsl sql.xsl util.xsl
Log:
added version to the stylesheets
Revision Changes Path
1.5 +23 -23 xml-cocoon/src/org/apache/cocoon/processor/dcp/DCPProcessor.java
Index: DCPProcessor.java
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/dcp/DCPProcessor.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DCPProcessor.java 2000/02/13 18:29:30 1.4
+++ DCPProcessor.java 2000/03/01 16:13:46 1.5
@@ -1,36 +1,36 @@
-/*-- $Id: DCPProcessor.java,v 1.4 2000/02/13 18:29:30 stefano Exp $ --
+/*-- $Id: DCPProcessor.java,v 1.5 2000/03/01 16:13:46 stefano Exp $ --
============================================================================
The Apache Software License, Version 1.1
============================================================================
-
+
Copyright (C) @year@ The Apache Software Foundation. All rights reserved.
-
+
Redistribution and use in source and binary forms, with or without modifica-
tion, are permitted provided that the following conditions are met:
-
+
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
-
+
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
-
+
3. The end-user documentation included with the redistribution, if any, must
include the following acknowledgment: "This product includes software
developed by the Apache Software Foundation (http://www.apache.org/)."
Alternately, this acknowledgment may appear in the software itself, if
and wherever such third-party acknowledgments normally appear.
-
+
4. The names "Cocoon" and "Apache Software Foundation" must not be used to
endorse or promote products derived from this software without prior
written permission. For written permission, please contact
apache@apache.org.
-
+
5. Products derived from this software may not be called "Apache", nor may
"Apache" appear in their name, without prior written permission of the
Apache Software Foundation.
-
+
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
@@ -41,12 +41,12 @@
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
+
This software consists of voluntary contributions made by many individuals
on behalf of the Apache Software Foundation and was originally created by
- Stefano Mazzocchi <stefano@apache.org>. For more information on the Apache
+ Stefano Mazzocchi <stefano@apache.org>. For more information on the Apache
Software Foundation, please see <http://www.apache.org/>.
-
+
*/
package org.apache.cocoon.processor.dcp;
@@ -62,21 +62,21 @@
* This class implements a DOM processor that expands XML documents
* replacing dynamic content generation processing instructions by the return
* value of user-supplied logic.
- *
+ *
* @author <a href="mailto:rrocha@plenix.org">Ricardo Rocha</a>
- * @version $Revision: 1.4 $ $Date: 2000/02/13 18:29:30 $
+ * @version $Revision: 1.5 $ $Date: 2000/03/01 16:13:46 $
*/
public class DCPProcessor extends AbstractActor implements Processor, Status {
-
+
/**
* This method scans a DOM tree replacing <I><?dcp?></I>
processing instructions
* by dynamic content generated by user-supplied programs. These programs are
* dynamically loaded according to directives contained in <I><?dcp-object?></I>
- * processing instructions.
+ * processing instructions.
*
* @param document The document to be processed for dynamic content
- * @param parameters The table of invocation environment variables to be used during
processing
+ * @param parameters The table of invocation environment variables to be used during
processing
* @return The expanded document
* @throws Exception When any error occurs during processing
*/
@@ -85,21 +85,21 @@
(new DCPEngine(document, factory, parameters)).process();
return document;
}
-
+
/**
* This method is called by the cache system to evaluate the status
- * of this changeable point for the given context
+ * of this changeable point for the given context
* (normally an HTTP request). Since even if the scripts didn't change
* we can't assume anything about it, this method is today
- * left unimplemented (it always returns "true") but should call
+ * left unimplemented (it always returns "true") but should call
* similar hooks inside the DCP components if available.
*/
public boolean hasChanged(Object context) {
return true;
}
-
+
public String getStatus() {
- return "Dynamic Content Processor";
+ return "Dynamic Content Processor [<b>deprecated</b>: will be removed
in future versions! Use XSP instead]";
}
-
+
}
1.13 +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.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- xsp-java.xsl 2000/02/28 23:33:00 1.12
+++ xsp-java.xsl 2000/03/01 16:13:47 1.13
@@ -53,7 +53,7 @@
<!-- written by Ricardo Rocha "ricardo@apache.org" -->
-<xsl:stylesheet
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>
1.9 +1 -1 xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/context.xsl
Index: context.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/context.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- context.xsl 2000/02/28 23:33:01 1.8
+++ context.xsl 2000/03/01 16:13:48 1.9
@@ -53,7 +53,7 @@
<!-- written by Ricardo Rocha "ricardo@apache.org" -->
-<xsl:stylesheet
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:context="http://www.apache.org/1999/XSP/Context"
1.7 +1 -1 xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/cookie.xsl
Index: cookie.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/cookie.xsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- cookie.xsl 2000/02/28 23:33:01 1.6
+++ cookie.xsl 2000/03/01 16:13:48 1.7
@@ -53,7 +53,7 @@
<!-- written by Ricardo Rocha "ricardo@apache.org" -->
-<xsl:stylesheet
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:cookie="http://www.apache.org/1999/XSP/Cookie"
1.8 +1 -1 xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/global.xsl
Index: global.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/global.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- global.xsl 2000/02/28 23:33:01 1.7
+++ global.xsl 2000/03/01 16:13:49 1.8
@@ -53,7 +53,7 @@
<!-- written by Ricardo Rocha "ricardo@apache.org" -->
-<xsl:stylesheet
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:global="http://www.apache.org/1999/XSP/Global"
1.9 +1 -1 xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/request.xsl
Index: request.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/request.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- request.xsl 2000/02/28 23:33:01 1.8
+++ request.xsl 2000/03/01 16:13:49 1.9
@@ -53,7 +53,7 @@
<!-- written by Ricardo Rocha "ricardo@apache.org" -->
-<xsl:stylesheet
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:request="http://www.apache.org/1999/XSP/Request"
1.8 +1 -1 xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/response.xsl
Index: response.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/response.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- response.xsl 2000/02/28 23:33:01 1.7
+++ response.xsl 2000/03/01 16:13:49 1.8
@@ -53,7 +53,7 @@
<!-- written by Ricardo Rocha "ricardo@apache.org" -->
-<xsl:stylesheet
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:response="http://www.apache.org/1999/XSP/Response"
1.9 +1 -1 xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/session.xsl
Index: session.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/session.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- session.xsl 2000/02/28 23:33:01 1.8
+++ session.xsl 2000/03/01 16:13:49 1.9
@@ -53,7 +53,7 @@
<!-- written by Ricardo Rocha "ricardo@apache.org" -->
-<xsl:stylesheet
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:session="http://www.apache.org/1999/XSP/Session"
1.5 +1 -1 xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/sql.xsl
Index: sql.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/sql.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sql.xsl 2000/02/28 23:33:01 1.4
+++ sql.xsl 2000/03/01 16:13:49 1.5
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<xsl:stylesheet
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:sql="http://www.apache.org/1999/SQL"
1.12 +1 -1 xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/util.xsl
Index: util.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/library/java/util.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- util.xsl 2000/02/28 23:33:01 1.11
+++ util.xsl 2000/03/01 16:13:50 1.12
@@ -53,7 +53,7 @@
<!-- written by Ricardo Rocha "ricardo@apache.org" -->
-<xsl:stylesheet
+<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:util="http://www.apache.org/1999/XSP/Util"
|