Hi,

I had an SAXException of the SAXParser of a not declared entity 'nbsp'.

If I had no html-entities in the page everything works fine.

'&' seems to be allowed, but other like '©' result in an exception too.

---

(I saw that in Mojarra's SAXCompiler is a flag ('isHTML5') used to skip the writing of 'publicId' and 'systemId', so that the HTML5 doctype is written to the response, independent of what was declared in the facelets xhtml.)

---

Greetings
dennis


Am 25.06.2012 23:16, schrieb Ted:
I do... I think

if I'm not mistaken the doc type for html5 is just
<!DOCTYPE HTML>

Note you only asked about the doc type, not the actual tags... or JSF tag
equivalents.

I'm using 2.1.6 as well and 1.1.11 as well.
jdk1.6 and tomcat7.

I didn't have to do anything special, it just works.

On Tue, Jun 26, 2012 at 5:25 AM, Dennis Hörsch<hoer...@his.de>  wrote:

Hi,

has anybody experiences with using a HTML5 Doctype declaration within
facelets? It is possible?
If I write it to my xhtml files I get exceptions from the SAXParser...

Environment
MyFaces 2.1.6, Tomahawk20 1.1.11

Greetings and thanks
dennis

--
HIS-SignaturNEU Signatur

HIS Hochschul-Informations-System GmbH
Goseriede9| 30159 Hannover | _www.his.de_<http://www.his.de/>

Dennis Hörsch
Unternehmensbereich Hochschul-IT
Arbeitsbereich Personalmanagement
Telefon +49 (0)511 1220-403 | Fax +49 (0)511 1220-250
E-Mail hoer...@his.de<mailto:mustern...@his.de>

Registergericht: Amtsgericht Hannover, HRB 6489
Geschäftsführer: Prof. Dr. Martin Leitner
Vorsitzender des Aufsichtsrats: Prof. Dr. Andreas Geiger





--

HIS Hochschul-Informations-System GmbH
Goseriede9| 30159 Hannover | _www.his.de_ <http://www.his.de/>

Dennis Hörsch
Unternehmensbereich Hochschul-IT
Arbeitsbereich Personalmanagement
Telefon +49 (0)511 1220-403 | Fax +49 (0)511 1220-250
E-Mail hoer...@his.de <mailto:mustern...@his.de>

Registergericht: Amtsgericht Hannover, HRB 6489
Geschäftsführer: Prof. Dr. Martin Leitner
Vorsitzender des Aufsichtsrats: Prof. Dr. Andreas Geiger

Reply via email to