gmazza      2003/12/22 13:50:58

  Modified:    src/codegen fo-property-mapping.xsl
  Log:
  Reversed order of code: add string constant first to HashMap, *then* create
  corresponding maker (latter classes weren't having access to the string constant
  in their constructors.)
  
  Revision  Changes    Path
  1.5       +2 -2      xml-fop/src/codegen/fo-property-mapping.xsl
  
  Index: fo-property-mapping.xsl
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/codegen/fo-property-mapping.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- fo-property-mapping.xsl   22 Dec 2003 21:37:43 -0000      1.4
  +++ fo-property-mapping.xsl   22 Dec 2003 21:50:58 -0000      1.5
  @@ -79,8 +79,8 @@
     <xsl:variable name="lcletters" select="'abcdefghijklmnopqrstuvwxyz-:'" />
     <xsl:variable name="ucletters" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ__'" />
     <xsl:variable name="enum" select="translate($prop/name, $lcletters, $ucletters)"/>
  -<xsl:text>    </xsl:text><xsl:value-of select="$htname"/>[PR_<xsl:value-of 
select="$enum"/>] =<xsl:value-of select="$makerclass"/>.maker(PR_<xsl:value-of 
select="$enum"/>);
   <xsl:text>    addPropertyName("</xsl:text><xsl:value-of select="$prop/name"/>", 
PR_<xsl:value-of select="$enum"/>);
  +<xsl:text>    </xsl:text><xsl:value-of select="$htname"/>[PR_<xsl:value-of 
select="$enum"/>] =<xsl:value-of select="$makerclass"/>.maker(PR_<xsl:value-of 
select="$enum"/>);
   </xsl:template>
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to