[ 
http://issues.apache.org/jira/browse/XALANJ-611?page=comments#action_12369746 ] 

Brian Minchau commented on XALANJ-611:
--------------------------------------

There is already a testcase, entref01 that tries to output this (among other 
things):
<A HREF="&">

The gold file has the above line. With the patch the output is:
<A HREF="&amp;">

However the XML parser reads both attribute values in as an ampersand,
and when the testcase runs in the harness it still passes.

> HTML output serializes ampersand as "&" in HREF attributes
> ----------------------------------------------------------
>
>          Key: XALANJ-611
>          URL: http://issues.apache.org/jira/browse/XALANJ-611
>      Project: XalanJ2
>         Type: Bug
>   Components: Serialization
>     Versions: Latest Development Code
>  Environment: Operating System: All
> Platform: All
>     Reporter: julian.reschke
>     Assignee: Brian Minchau
>      Fix For: Latest Development Code
>  Attachments: patch.to.ToHTMLStream.txt
>
> Using the HTML output method, an ampersand is serialized as "&". It should 
> be "&amp;".

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to