2009-06-03 136 views
0

我正在从MyFaces 1.2.6迁移到Mojarra 1.2。 我的应用程序还使用Facelets,Tomahawk和Richfaces。MyFaces到Mojarra迁移问题

使用MyFaces 1.2.6,它没有问题。 使用Mojarra 1.2,我遇到了一些问题。

它使打印此错误:行141

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. 

内容:

<f:facet name="footer"> 

有谁知道我能做些什么呢?

回答

2

由于错误xmlParseEntityRef,我会检查流浪XML entities(寻找&符号 - &)。

同时检查任何EL表达式(例如$ {baz.mystring})发出的值。如果MyFaces将字符串“foo & bar”编码为foo & amp; bar,但RI直接发射它为foo & bar,那么这可能会导致问题。