aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2003-12-22 21:50:58 +0000
committerGlen Mazza <gmazza@apache.org>2003-12-22 21:50:58 +0000
commit69f8d9589aa5aaa56d1814c26e52f358cbf2d41f (patch)
tree6c882a9cab93f593ad5017b71167e836a4c2f97e
parentf357129bee376a97cee3603350ed801d424bd128 (diff)
downloadxmlgraphics-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.xsl2
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>