diff options
author | Glen Mazza <gmazza@apache.org> | 2003-12-22 21:50:58 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2003-12-22 21:50:58 +0000 |
commit | 69f8d9589aa5aaa56d1814c26e52f358cbf2d41f (patch) | |
tree | 6c882a9cab93f593ad5017b71167e836a4c2f97e | |
parent | f357129bee376a97cee3603350ed801d424bd128 (diff) | |
download | xmlgraphics-fop-69f8d9589aa5aaa56d1814c26e52f358cbf2d41f.tar.gz xmlgraphics-fop-69f8d9589aa5aaa56d1814c26e52f358cbf2d41f.zip |
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.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197049 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/codegen/fo-property-mapping.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/fo-property-mapping.xsl b/src/codegen/fo-property-mapping.xsl index c51a08bda..ad2262645 100644 --- a/src/codegen/fo-property-mapping.xsl +++ b/src/codegen/fo-property-mapping.xsl @@ -79,8 +79,8 @@ Software Foundation, please see <http://www.apache.org/>. <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> |