Hello, for some reason I'm getting a "SEVERE" error for the following code:
<xsl:template match="xyz:Emphasis">
<inline>
<xsl:if test="@bold = 'Y'"><xsl:attribute
name="font-weight">bold</xsl:attribute></xsl:if><xsl:apply-templates
mode="TmpRev-phase"/>
</inline>
</xsl:template>

The resulting fo fragment comes out okay when I do just the transformation:
<inline font-weight="bold">bold</inline>,

so that makes it all the more mysterious.


This is the error I get when I run fop:
org.apache.fop.fo.ValidationException: Error(Unknown location): fo:inline,
Invalid property name 'fo:font-weight,

followed by a long stack trace.  I wasn't getting an error when I used
0.20.5 with the same input files, and after further investigation it seems
this type of error is happening everywhere the xsl:attribute element is used
to create an attribute in the output.  Any idea what the problem may be?
-- 
View this message in context: 
http://www.nabble.com/Strange-%22Invalid-property-name%22-error-when-using-fop-0.93-tf3139636.html#a8702317
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to