cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gree...@apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp/language/java XSPJavaPreprocessor.java
Date Fri, 19 Jan 2001 02:46:06 GMT
greenrd     01/01/18 18:46:06

  Modified:    .        changes.xml
               src/org/apache/cocoon/processor/xsp/language/java
                        XSPJavaPreprocessor.java
  Log:
  patch for xalan2
  
  Revision  Changes    Path
  1.185     +4 -2      xml-cocoon/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/changes.xml,v
  retrieving revision 1.184
  retrieving revision 1.185
  diff -u -r1.184 -r1.185
  --- changes.xml	2001/01/19 02:23:34	1.184
  +++ changes.xml	2001/01/19 02:46:06	1.185
  @@ -4,7 +4,7 @@
   
   <!--
     History of Cocoon changes   
  -  $Id: changes.xml,v 1.184 2001/01/19 02:23:34 greenrd Exp $ 
  +  $Id: changes.xml,v 1.185 2001/01/19 02:46:06 greenrd Exp $ 
   -->
   
   <changes title="History of Changes">
  @@ -18,7 +18,9 @@
     </devs>
   
    <release version="@version@" date="@date@">
  -   <!-- NEW CHANGES GO HERE -->
  +  <action dev="RDG" type="fix" due-to="Steffen Stundzig" due-to-email="steffen@smb-tec.com">
  +   Patched XSPJavaPreprocessor for Xalan2.
  +  </action>
    </release>
   
    <release version="1.8.1" date="January 19 2001">
  
  
  
  1.6       +4 -3      xml-cocoon/src/org/apache/cocoon/processor/xsp/language/java/XSPJavaPreprocessor.java
  
  Index: XSPJavaPreprocessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/language/java/XSPJavaPreprocessor.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XSPJavaPreprocessor.java	2000/03/22 17:44:53	1.5
  +++ XSPJavaPreprocessor.java	2001/01/19 02:46:06	1.6
  @@ -1,4 +1,4 @@
  -/*-- $Id: XSPJavaPreprocessor.java,v 1.5 2000/03/22 17:44:53 stefano Exp $ -- 
  +/*-- $Id: XSPJavaPreprocessor.java,v 1.6 2001/01/19 02:46:06 greenrd Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -60,7 +60,7 @@
   
   /**
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version $Revision: 1.5 $ $Date: 2000/03/22 17:44:53 $
  + * @version $Revision: 1.6 $ $Date: 2001/01/19 02:46:06 $
    */
   public class XSPJavaPreprocessor implements XSPPreprocessor {
     protected static XSPJavaProcessor javaProcessor = new XSPJavaProcessor();
  @@ -106,7 +106,8 @@
           String value = this.javaProcessor.stringEncode(node.getNodeValue());
           Text textNode = node.getOwnerDocument().createTextNode(value);
   
  -        Element textElement = node.getOwnerDocument().createElement("xsp:text");
  +        Element textElement = node.getOwnerDocument().createElementNS
  +          ("http://www.apache.org/1999/XSP/Core", "xsp:text");
   
           textElement.appendChild(textNode);
           parent.replaceChild(textElement, node);
  
  
  

Mime
View raw message