Label value was already always escaped inside createTextNode(). So why does the JIRA description say "ice:outputLabel no longer escapes the value"? When I added escapeAnsi() in the renderer, it caused a double escape.
Attribute added, and logic changed to avoid double escape.
Confusions:
When value is hardcoded, it goes through SAX parser, and the parser throws exceptions on certain characters. So user still has to escape themselves. In this case the parser will convert back to original characters before the renderer sees them.
When value is in messages file, characters don't go through parser.
Some characters will display properly whether you escape them or not.
Revision: 32946
Modified : /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-outputLabel-props.xml
Modified : /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/LabelRenderer.java
A test case that shows this behavior can be provided.