Well, I guess I was addressing Alex's statement about no one trying
CDATA.

...seemed like his feelings were hurt. 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 04, 2005 11:06 AM
To: [email protected]
Subject: Re: [magnolia-user] error following tutorial

Robert Van Overmeiren schrieb:
> 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[&nbsp;]]>).
> 
> So yes, its been suggested and implemented before.
> 
Trying to clear up some of the confusion:
The error Tony got was in his browser, and the reason for it was a wrong
MIME type in  the response.

The error you had was issued by the JSP compiler, and the reason was
that JSPX files have to be valid XML and &nbsp; entity is not a
predefined XML entity.

Apart from both having to to with unresolved entities the two problems
are completely unrelated...

Did I mention that it helps to be precise about when and how you are
getting errors... ;-)

-markus

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to