[xep-support] white-space-treatment and -collapse

Alexander Peshkov peshkov at renderx.com
Fri Jul 22 05:37:22 PDT 2005


Hello Peter,

Something wrong with your document (or the way you use XEP) -
white-space-treatment and -collapse are valid XSL-FO properties and if
I render your code snippet with XEP 4.4 everything works fine, no
errors/warnings.
It is strange that attributes are quoted in the warning message with
'fo:' prefix. Can we have a short sample that demonstrates this problem?

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX


PG> Hi,

PG> XEP (version 4.4) complains if I usa a "white-space-treatment" or 
PG> "white-space-collapse attribute" property on a fo:block. I think, the 
PG> specs says they are allowed on blocks. Is this XEP's error or mine?


PG> Example: my fo snippet:

PG> <fo:block white-space-collapse="false" white-space-treatment="preserve">
PG>                    <fo:inline>A new inline with some line-breaks


PG> still the same inline.</fo:inline>
PG>                 </fo:block>


PG> Causes:
PG> Attribute 'fo:white-space-collapse' cannot occur at element 'fo:block'.
PG> Attribute 'fo:white-space-treatment' cannot occur at element 'fo:block'.


PG> Thanks for your help!

PG> Peter
PG> -------------------
PG> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
PG> in the body of the message to majordomo at renderx.com from the address
PG> you are subscribed from.
PG> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list