Hi,
I'm trying to integrate FCKeditor into a webapp using the java integration module.
I now came up with the following problem, which IMO is a bug.
I use xml validated jsp files to produce valid xhtml code:
<?xml version="1.0" encoding="UTF-8"?> <jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:FCK="http://java.fckeditor.net" xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de_DE"> <head> <title>Editor</title> </head> <body> <div> <FCK:editor instanceName="EditorDefault"> <jsp:attribute name="value"> This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net">FCKeditor</a>. </jsp:attribute> <jsp:attribute name="toolbarSet">toolbar</jsp:attribute> </FCK:editor> </div> </body> </html> </jsp:root>
Loading this page on my browser (FF), I get a XML Parsing Error: not well-formed error on the taglib produced code:
<iframe id="EditorDefault___Frame" frameborder="no" height="200" scrolling="no" width="100%" src="/fckeditor/editor/fckeditor.html?InstanceName=EditorDefault&Toolbar=toolbar">
As you can see, the Ampersand is not encoded as a valid XML entity.
How can I can this behavior (I still want to provided my files as XML)?
Is this a bug?
Thanks for helping.
Re: Java Integration - XML Parsing Error
Problem is already fixed. I will push the release in the next couple of days.