cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/processor/xsp xsp-java.xsl
Date Wed, 23 Feb 2000 00:48:43 GMT
stefano     00/02/22 16:48:42

  Modified:    src/org/apache/cocoon/processor/xsp xsp-java.xsl
  Log:
  fixed session problem pointed out by Mike
  
  Revision  Changes    Path
  1.10      +7 -7      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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- xsp-java.xsl	2000/02/13 18:29:35	1.9
  +++ xsp-java.xsl	2000/02/23 00:48:42	1.10
  @@ -53,8 +53,8 @@
   <!-- written by Ricardo Rocha "ricardo@apache.org" -->
   
   
  -<xsl:stylesheet 
  -  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  +<xsl:stylesheet
  +  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xsp="http://www.apache.org/1999/XSP/Core"
   >
   
  @@ -105,7 +105,7 @@
           Stack xspNodeStack = new Stack();
   
   	// Make session object readily available
  -        HttpSession session = request.getSession(true);
  +        HttpSession session = request.getSession(false);
   
           <xsl:for-each select="/processing-instruction()[not(contains(.,'xsp'))]">
             document.appendChild(
  @@ -130,9 +130,9 @@
       xspCurrentNode =
         document.createElement("<xsl:value-of select="@name"/>");
       xspParentNode.appendChild(xspCurrentNode);
  -    
  +
       <xsl:apply-templates/>
  -    
  +
       ((Element) xspCurrentNode).normalize();
       xspCurrentNode = (Node) xspNodeStack.pop();
     </xsl:template>
  @@ -204,10 +204,10 @@
       xspCurrentNode =
         document.createElement("<xsl:value-of select="name(.)"/>");
       xspParentNode.appendChild(xspCurrentNode);
  -    
  +
       <xsl:apply-templates select="@*"/>
       <xsl:apply-templates/>
  -    
  +
       ((Element) xspCurrentNode).normalize();
       xspCurrentNode = (Node) xspNodeStack.pop();
     </xsl:template>
  
  
  

Mime
View raw message