greenrd 01/03/08 02:52:40
Modified: src/org/apache/cocoon/processor/xslt XSLTProcessor.java
. changes.xml
Log:
rollback in XSLTProcessor v 1.27 was mistaken, reapplying patch
Revision Changes Path
1.30 +4 -4
xml-cocoon/src/org/apache/cocoon/processor/xslt/XSLTProcessor.java
Index: XSLTProcessor.java
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xslt/XSLTProcessor.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- XSLTProcessor.java 2001/02/26 17:31:38 1.29
+++ XSLTProcessor.java 2001/03/08 10:52:37 1.30
@@ -1,4 +1,4 @@
-/*-- $Id: XSLTProcessor.java,v 1.29 2001/02/26 17:31:38 greenrd Exp $ --
+/*-- $Id: XSLTProcessor.java,v 1.30 2001/03/08 10:52:37 greenrd Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -75,7 +75,7 @@
* This class implements an XSLT processor.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Stefano Mazzocchi</a>
- * @version $Revision: 1.29 $ $Date: 2001/02/26 17:31:38 $
+ * @version $Revision: 1.30 $ $Date: 2001/03/08 10:52:37 $
*/
public class XSLTProcessor implements Actor, Processor, Status, Defaults,
Cacheable {
@@ -256,7 +256,7 @@
if ((o != null) && (!sheetMonitor.hasChanged(resource))) {
return (Document) o;
} else {
- String encReq = Utils.encode (request);
+ String encReq = Utils.encode (request, false, false);
// resource URI might have changed so invalidate previous
requestMonitor.invalidate(encReq);
Document sheet = getDocument(resource);
@@ -276,7 +276,7 @@
}
public boolean hasChanged(Object context) {
- return requestMonitor.hasChanged(Utils.encode((HttpServletRequest)
context));
+ return requestMonitor.hasChanged(Utils.encode((HttpServletRequest)
context), false, false);
}
public boolean isCacheable(HttpServletRequest request) {
1.217 +1 -4 xml-cocoon/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/changes.xml,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -r1.216 -r1.217
--- changes.xml 2001/03/07 23:33:12 1.216
+++ changes.xml 2001/03/08 10:52:39 1.217
@@ -4,7 +4,7 @@
<!--
History of Cocoon changes
- $Id: changes.xml,v 1.216 2001/03/07 23:33:12 greenrd Exp $
+ $Id: changes.xml,v 1.217 2001/03/08 10:52:39 greenrd Exp $
-->
<changes title="History of Changes">
@@ -66,9 +66,6 @@
<action dev="RDG" type="fix">
Fixed Utils.getLocationResource to use parent ClassLoader instead of
System ClassLoader, but
fallback to System if resource not found.
- </action>
- <action dev="RDG" type="fix" due-to="Sebastien Koechlin"
due-to-email="[EMAIL PROTECTED]">
- Reversed change in 1.8.1 that ignored query string for XSLTProcessor
caching
</action>
<action dev="RDG" type="update">
Changed default XSP encoding to UTF8, so that all characters are
supported.
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]