[ http://issues.apache.org/jira/browse/MYFACES-825?page=all ]

Simon Kitching updated MYFACES-825:
-----------------------------------

    Attachment: AddResource.java.patch.txt

Patch to fix quote-in-body problem

> AddResource creates invalid body tag
> ------------------------------------
>
>          Key: MYFACES-825
>          URL: http://issues.apache.org/jira/browse/MYFACES-825
>      Project: MyFaces
>         Type: Bug
>     Reporter: Simon Kitching
>  Attachments: AddResource.java.patch.txt
>
> When there are no attributes to be inserted into the <body> tag, AddResource 
> still inserts a space and a quote, resulting in a malformed body tag.
> Result: <body></body> becomes <body "></body>.
> This is handled reasonably gracefully by firefox (the bad quote doesn't even 
> appear in view-source) but it stuffs up IE very well.
> Issue MYFACES-818 provided a unit test that demonstrated the problem; the 
> unit test was committed to SVN but the issue was then closed without fixing 
> the actual AddResource bug.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to