views:

325

answers:

1

I'm migration from MyFaces 1.2.6 to JSF RI 1.2. My application also use Facelets, Tomahawk and Richfaces.

Using MyFaces 1.2.6, it works without problemas. Using JSF RI 1.2, I got some problems.

It keeps printing this error:

This page contains the following errors:

error on line 141 at column 36: xmlParseEntityRef: no name
Below is a rendering of the page up to the first error.

Content of line 141:

<f:facet  name="footer">

Does anyone know what can I do about it?

+1  A: 

Given the error xmlParseEntityRef, I would check for stray XML entities (look for ampersands - &).

Also check the values being emitted by any EL expressions (e.g. ${baz.mystring}). If MyFaces encoded the string "foo & bar" as foo &amp; bar, but the RI emitted it straight as foo & bar, then this might cause a problem.

McDowell