You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by bd...@apache.org on 2003/05/03 09:35:03 UTC

cvs commit: cocoon-2.1/src/webapp/samples/hello-world/style/xsl page2swf.xsl

bdelacretaz    2003/05/03 00:35:03

  Modified:    src/webapp/samples/hello-world/style/xsl page2swf.xsl
  Log:
  bugzilla 19619, page caused XSLT to fail, temp fix only
  
  Revision  Changes    Path
  1.2       +12 -0     cocoon-2.1/src/webapp/samples/hello-world/style/xsl/page2swf.xsl
  
  Index: page2swf.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/hello-world/style/xsl/page2swf.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- page2swf.xsl	27 Mar 2003 14:10:25 -0000	1.1
  +++ page2swf.xsl	3 May 2003 07:35:03 -0000	1.2
  @@ -1,4 +1,10 @@
   <?xml version="1.0" encoding="ISO-8859-1" ?>
  +
  +<!--
  +    convert a page so that is is usable as input for the SWFSerializer
  +    $Id$
  +-->
  +
   <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   
   <xsl:param name="view-source"/>
  @@ -403,6 +409,11 @@
           <Glyph char="z" advance="512" xmin="20" ymin="-531" xmax="490" ymax="0">
               <ShapeRaw>EDVLNGfbNge5J9m34Gy1XnGqWO2uX5uPXZTeCKtm34qlT4A= </ShapeRaw>
           </Glyph>
  +
  +<!--
  +    TODO see bugzilla 19619, apparently there are weird characters in the rest of this font
  +    definition which cause the XSL transform to fail. I didn't investigate, just commented them out
  +
           <Glyph char="{" advance="342" xmin="29" ymin="-745" xmax="318" ymax="216">
   
               <ShapeRaw>EDVk+ov2U7MjLMAbyc3eJgCDOAEH+hFL3bazsuo7RLSty5lhMMl4A17QJ0lCIiA6UgNYAMx+yn6E
  @@ -1037,6 +1048,7 @@
               <ShapeRaw>EDVn3vb582Q5NwLHcQy6FmErLhK1QGuN12+1XrZiNbDtpek2jd7pIq583vZsMPEbk02k73KPhFov
                   EcbK2FoFYeqP7C9ss2xRbM0CsmlH9he2WbYotmaA </ShapeRaw>
           </Glyph>
  +        -->
       </Font>
       <Text id="2" name="content" xmin="-2300" xmax="3000" ymin="-40"
           ymax="442" selectable="yes" leftmargin="0.0" rightmargin="0.0"