Jeanne Waldman created TRINIDAD-2377:
----------------------------------------

             Summary: surrogate characters in outputFormatted throws 
IllegalArgumentException
                 Key: TRINIDAD-2377
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2377
             Project: MyFaces Trinidad
          Issue Type: Bug
            Reporter: Jeanne Waldman
            Assignee: Jeanne Waldman


<af:outputFormatted value="#{TestInput.surrogateVal}" id="of1"/> 
where
TestInput.surrogateValue is a surrogateValue, like
  private String surrogateVal = "\ud840\udc00";

  public void setSurrogateVal(String surrogateVal) {
      this.surrogateVal = surrogateVal;
  }

  public String getSurrogateVal() {
      return surrogateVal;

The page shows up blank, and you get an IllegalArgumentException from 
HTMLEscapes. outputText works fine. This is a regression caused by MYFACES-3690 
Trinidad doesn't support surrogate characters

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to