klease 01/10/14 13:29:12
Modified: src/codegen properties.xsl
Log:
Fix a bug in initializing compound properties like inline-progression-dimension from
their 'corresponding' properties
Revision Changes Path
1.13 +3 -1 xml-fop/src/codegen/properties.xsl
Index: properties.xsl
===================================================================
RCS file: /home/cvs/xml-fop/src/codegen/properties.xsl,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- properties.xsl 2001/09/21 21:42:08 1.12
+++ properties.xsl 2001/10/14 20:29:12 1.13
@@ -502,7 +502,9 @@
<xsl:apply-templates select="propval"/>
subprop= propertyList.getExplicitOrShorthand(sbExpr.toString());
</xsl:otherwise></xsl:choose>
- setSubprop(p, "<xsl:value-of select='../name'/>", subprop);
+ if (subprop != null) {
+ setSubprop(p, "<xsl:value-of select='../name'/>", subprop);
+ }
</xsl:for-each>
</xsl:if>
return p;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]