greenrd 00/10/22 06:32:35
Modified: . changes.xml
src/org/apache/cocoon/processor/xsp XSPUtil.java
Log:
fixed XSPUtil.toMarkup
Revision Changes Path
1.132 +4 -1 xml-cocoon/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/changes.xml,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -r1.131 -r1.132
--- changes.xml 2000/10/22 12:28:18 1.131
+++ changes.xml 2000/10/22 13:32:34 1.132
@@ -4,7 +4,7 @@
<!--
History of Cocoon changes
- $Id: changes.xml,v 1.131 2000/10/22 12:28:18 greenrd Exp $
+ $Id: changes.xml,v 1.132 2000/10/22 13:32:34 greenrd Exp $
-->
<changes title="History of Changes">
@@ -17,6 +17,9 @@
</devs>
<release version="@version@" date="@date@">
+ <action dev="RDG" type="fix" due-to="Maik Schmidt" due-to-email="[EMAIL
PROTECTED]">
+ Fixed XSPUtil.toMarkup to encode attributes correctly
+ </action>
<action dev="RDG" type="fix" due-to="Jeff Turner" due-to-email="[EMAIL
PROTECTED]">
LDAP processor now accepts byte arrays without throwing a
ClassCastException
</action>
1.17 +3 -3
xml-cocoon/src/org/apache/cocoon/processor/xsp/XSPUtil.java
Index: XSPUtil.java
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/XSPUtil.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- XSPUtil.java 2000/07/20 00:17:02 1.16
+++ XSPUtil.java 2000/10/22 13:32:34 1.17
@@ -1,4 +1,4 @@
-/*-- $Id: XSPUtil.java,v 1.16 2000/07/20 00:17:02 stefano Exp $ --
+/*-- $Id: XSPUtil.java,v 1.17 2000/10/22 13:32:34 greenrd Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -62,7 +62,7 @@
/**
* @author <a href="mailto:[EMAIL PROTECTED]">Ricardo Rocha</a>
- * @version $Revision: 1.16 $ $Date: 2000/07/20 00:17:02 $
+ * @version $Revision: 1.17 $ $Date: 2000/10/22 13:32:34 $
*/
public class XSPUtil {
public static String pathComponent(String filename) {
@@ -268,7 +268,7 @@
buffer.append(" ");
buffer.append(attribute.getName());
buffer.append("=\"");
- buffer.append(attribute.getValue());
+ buffer.append(encodeMarkup (attribute.getValue()));
buffer.append("\"");
}