Administrator
|
Brian,
I am not sure to understand what you are saying here. The RTE adds a when you press enter twice? What is the error you get? Who is returning that error? Alex On Wed, Mar 31, 2010 at 1:25 PM, bsteuhl <[hidden email]> wrote: > > I am using the YUI RTE and if the user creates a entity by hitting the > enter key twice, the resulting PDF file will throw an error because that > entity is not allowed. How do I resolve this error. I put the Doctype > declaration entity reference at top of xsl but this did not work <!Entity > nbsp " ">. > > Thank you. > -- > View this message in context: http://n4.nabble.com/YUI-Rich-Text-editor-nbsp-tp1747350p1747350.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
The YUI RTE is entering in when there are two spaces in the editor together - can view it in instance inspector. Then when I pass the xml to FOP to produce PDF output, I get an error stating that the entity name is not referenced. I wish I could get you the exact error but government portal site I remote in to is down :( Must be nice having 8-5 hours but frustrating for me. I just noticed this today. I know users here are use to putting two spaces between sentences and this will always cause an error.
Thanks in advance for any and all assistance.
Brian Steuhl home office: 732-961-3187 From: Alessandro Vernet <[hidden email]> To: [hidden email] Sent: Wed, March 31, 2010 6:35:45 PM Subject: [ops-users] Re: YUI Rich Text editor Brian, I am not sure to understand what you are saying here. The RTE adds a when you press enter twice? What is the error you get? Who is returning that error? Alex On Wed, Mar 31, 2010 at 1:25 PM, bsteuhl <[hidden email]> wrote: > > I am using the YUI RTE and if the user creates a entity by hitting the > enter key twice, the resulting PDF file will throw an error because that > entity is not allowed. How do I resolve this error. I put the Doctype > declaration entity reference at top of xsl but this did not work <!Entity > nbsp " ">. > > Thank you. > -- > View this message in context: http://n4.nabble.com/YUI-Rich-Text-editor-nbsp-tp1747350p1747350.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Brian,
Doing a replace() of by   should solve the problem. This is something we could do by default in clean-html.xsl, and I am wondering if it wouldn't be a good idea to just do it, to avoid problems like the one you mentioned. You'll let me know if doing a replace() in your app indeed works. If it does, you can try to put it clean-html.xsl, and if that solves your problem, we could put it in by default. Alex On Wed, Mar 31, 2010 at 3:44 PM, Brian Steuhl <[hidden email]> wrote: > > The YUI RTE is entering in when there are two spaces in the editor together - can view it in instance inspector. Then when I pass the xml to FOP to produce PDF output, I get an error stating that the entity name is not referenced. I wish I could get you the exact error but government portal site I remote in to is down :( Must be nice having 8-5 hours but frustrating for me. I just noticed this today. I know users here are use to putting two spaces between sentences and this will always cause an error. > > Thanks in advance for any and all assistance. > > > Brian Steuhl > website: http://BTMSoftwareSolutions.com > business email: [hidden email] > cell: 908-421-0742 > > home office: 732-961-3187 > RSS Feed To My Blog: > > > > ________________________________ > From: Alessandro Vernet <[hidden email]> > To: [hidden email] > Sent: Wed, March 31, 2010 6:35:45 PM > Subject: [ops-users] Re: YUI Rich Text editor > > Brian, > > I am not sure to understand what you are saying here. The RTE adds a > when you press enter twice? What is the error you get? Who is > returning that error? > > Alex > > On Wed, Mar 31, 2010 at 1:25 PM, bsteuhl <[hidden email]> wrote: > > > > I am using the YUI RTE and if the user creates a entity by hitting the > > enter key twice, the resulting PDF file will throw an error because that > > entity is not allowed. How do I resolve this error. I put the Doctype > > declaration entity reference at top of xsl but this did not work <!Entity > > nbsp " ">. > > > > Thank you. > > -- > > View this message in context: http://n4.nabble.com/YUI-Rich-Text-editor-nbsp-tp1747350p1747350.html > > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > > > > -- > > You receive this message as a subscriber of the [hidden email] mailing list. > > To unsubscribe: mailto:[hidden email] > > For general help: mailto:[hidden email]?subject=help > > OW2 mailing lists service home page: http://www.ow2.org/wws > > > > > > > > -- > Orbeon Forms - Web forms, open-source, for the Enterprise - > http://www.orbeon.com/ > My Twitter: http://twitter.com/avernet > > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |