Hi - The document that the error refers to isn't your stylesheet but an intermediate document that is used by the package when working with Rich Text editors.
Right now that document wraps the RTE content in a root node and parses it.
With the current version of my software you'll need to remove all non-breaking spaces.
This is something I may address in a future version.
There isn't a way to remove these entities with XSLT as the exception you see is thrown prior to the XSLT transformation - I recommend that you configure Tiny MCE to disallow non breaking spaces.
You could achieve this pretty quickly by using setting entity_encoding to numeric in ~/config/tinyMceConfig.config
Any solution other than having Tiny MCE parse/strip the entities would require a code change in the product - an I'm on vacation about 2 hours from now!
Reference to undeclared entity 'nbsp'
Hi
first off, the package works great. I have a problem though.
When rendering output from the RTE i sometimes get an error
When checking the output there is 's in the source. Deleting them solves the problem. But thats not really a solution.
I dont really get why it happens, since
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]>
is declared...
Help please :)
Hi - The document that the error refers to isn't your stylesheet but an intermediate document that is used by the package when working with Rich Text editors.
Right now that document wraps the RTE content in a root node and parses it.
With the current version of my software you'll need to remove all non-breaking spaces.
This is something I may address in a future version.
Thanks.
So, is there a way to do remove the " " automatically through XSLT, or are you telling me to do it manually for each instance?
Not really a viable option, since its a client site, and they complain about pages not rendering as PDF's...
There isn't a way to remove these entities with XSLT as the exception you see is thrown prior to the XSLT transformation - I recommend that you configure Tiny MCE to disallow non breaking spaces.
You could achieve this pretty quickly by using setting entity_encoding to numeric in ~/config/tinyMceConfig.config
Any solution other than having Tiny MCE parse/strip the entities would require a code change in the product - an I'm on vacation about 2 hours from now!
Thanks.
is working on a reply...