On Feb 20, 2007, at 14:20, Jeff Vannest wrote:
Hi Jeff,
I've changed my opinion on this issue. The CSS spec on 'font-
family' gives
this example in section 5.2.2 of the Level 1 spec, 11-JAN-1999:
Font names containing whitespace should be quoted:
BODY { font-family: "new century schoolbook", serif }
<BODY STYLE="font-family: 'My own font', fantasy">
To me, this cannot be labeled a "workaround" in FOP, it is
compliance with
the spec. Frankly, I've never seen single quotes within an
attribute, and I
would have bet money otherwise, but it's clear as can be in the CSS
spec.
Interesting info! Thanks for looking this up and sharing.
OTOH, now I'm wondering...
If you've never seen single quotes within an attribute, I bet you
haven't looked too closely, or you just missed them --or you've never
written stylesheets...? ;P
In XSLT these could turn out to appear far more often than you think:
<xsl:if test="contains(., 'literal')">
I've even seen double quotes inside single quoted attributes, because
that is equally valid XML
<xsl:if test='contains(., "literal")'>
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]