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 Thu, 13 Apr 2000 10:42:37 GMT
stefano     00/04/13 03:42:37

  Modified:    src/org/apache/cocoon/processor/xsp xsp-java.xsl
  Log:
  fixed problem with PIs having the "xsp" string (this escapes ?cocoon-process? PIs)
  
  Revision  Changes    Path
  1.15      +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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- xsp-java.xsl	2000/04/08 23:12:34	1.14
  +++ xsp-java.xsl	2000/04/13 10:42:36	1.15
  @@ -107,7 +107,7 @@
   	// Make session object readily available
           HttpSession session = request.getSession(false);
   
  -        <xsl:for-each select="/processing-instruction()[not(contains(.,'xsp'))]">
  +        <xsl:for-each select="/processing-instruction()[not(starts-with(.,'xsp') or
(contains(.,'cocoon-process') and contains(.,'xsp')))]">
             document.appendChild(
               document.createProcessingInstruction(
                 "<xsl:value-of select="name()"/>",
  
  
  

Mime
View raw message