Error Details -
This page contains the following errors:
error on line 10 at column 10 : xmlParseEntityRef: no name
Below is a rendering of the page up to the first error.
Solution -
This error comes when speacial characters are used in xhtml for JSF ;
Detailed list
http://www.degraeve.com/reference/specialcharacters.php
More common mistakes
left single quote ‘ ‘
right single quote ’ ’
single low-9 quote ‚ ‚
left double quote “ “
right double quote ” ”
double low-9 quote „ „
exclamation mark ! !
number sign # #
dollar sign $ $
percent sign % %
ampersand & & &
Most undectable mistake is thatNOTE
Suppose you have data in data base for example
<h:outputText styleClass="normal" value="#{testBundle.title}"/>
if this title value from backing bean is like this "Testing & Dev domain"
This value will break XHTML DOM in Safari browser .
Temporary solution is change backing bean /DB value to -"Testing and Dev domain"
1 comment:
ROFL, "and" instead of &...
great idea!
not!
Post a Comment