I experienced and inquired about this issue on 9/23/2005 - "The entity "nbsp" was referenced, but not declared."
I had wondered why the new sample templates had different taglib import syntax than the old samples, and was finally informed that we're now dealing with JSPX which is parsed as XML and that many HTML codes are illegal in XML. There were a few suggestions on how to deal with it. I went with 'CDATA' (<![CDATA[ ]]>). So yes, its been suggested and implemented before. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 3:08 AM To: [email protected] Subject: Re: [magnolia-user] error following tutorial #: Thomas Ferris Nicolaisen changed the world a bit at a time by saying on 10/4/2005 10:57 AM :# > I pasted the XML into my editor (Eclipse with web-tools) and got the > following error on the section "«" > > "The entity "laquo" was referenced, but not declared." > > There has been some discussion about this in the thread "Invalid html > in mainBar Javascript" on the mailing list. Search for it here: > > http://dir.gmane.org/gmane.comp.cms.magnolia.user > > tony wrote: >> I am following the tutorial and this error popped up in my page using >> my test template >> >> I am not running a UTF-8 Tomcat server from memory, probably >> ISO-8859-15 >> >> Cheers >> >> Tony I have suggested there to use a CDATA and inside «, but nobody tried it yet :-(. The JSP are using XML syntax so you have to escape this entity, and I think that a CDATA is the easiest way to do it. ./alex -- .w( the_mindstorm )p. ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
