Yes, I noticed that JSP/HTML would work, but thought I should adapt to JSPX/XHTML so I can keep up (catch up) with where things are going. An old PHP scripter, I got into Java to learn about OOP, and whatever else I can.
I'm already in the middle of converting my JSP's to JSPX, so may as well stick with it. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 11:05 AM To: [email protected] Subject: Re: [magnolia-user] error following tutorial Hi Robert Just wanting to add my 2cts on this discussion :-) The samples simply give you an idea how to develop templates with XHTML and JSPX. They are NOT trying to move you towards JSPX and XHTML. These samples "expect" you to be an HTML crack and therefore want to show you other additional and interesting possibilities. Of course good ol' JSP/HTML is still absolutely oportune. In fact, if there is no good reason for you to use XHTML based templates, I would stick to JSP/Java and HTML. 90% of my CMS projects are JSP/HTML/Servlet based. I don't want to launch a discussion about philosphies (JSPX/XHTML vs. JSP/HTML)! Just added my 2cts :-) /giancarlo Robert Van Overmeiren wrote: >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 ----------------------------------------------------------------
