Support #5255
closedXPathException <fo:external-graphic allowed-width-scale="150% 50% 25%" />
0%
Description
Mike,
I promised a week ago on StackOverflow to report this.
I suspect it's an Apache FOP problem & it's also not the slightest bit important as I found how to position the Graphic Bottom-Right anyway.
But I did promise, so here you are, just in case...
The following yielded a net.sf.saxon.trans.XPathException:
<fo:block-container position="absolute" width="55mm">
<fo:block text-align="right" max-height="15mm" font-size="0">
<fo:external-graphic allowed-width-scale="150% 50% 25%" border-style="none" content-height="15mm" src="image/dark-logo.png"/>
</fo:block>
</fo:block-container>
Stacktrace enclosed.
All the best,
Dave
Files
Updated by Michael Kay almost 3 years ago
Saxon is merely the messenger here, passing on the bad news from FOP.
I'm afraid we're not experts in XSL-FO or FOP, so I've no idea why it considers this attribute to be invalid.
Updated by Johan Gheys almost 3 years ago
allowed-height-scale and allowed-width-scale are not supported by Apache FOP (see https://xmlgraphics.apache.org/fop/compliance.html)
Updated by Michael Kay almost 3 years ago
- Status changed from New to Closed
Thanks. So it's a FOP restriction, reported via Saxon.
Closing.
Please register to edit this issue