You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/02/03 16:46:56 UTC

DO NOT REPLY [Bug 16693] - HTML serializer doesn't take into account the output encoding when performing URL encoding

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16693>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16693

HTML serializer doesn't take into account the output encoding when performing URL encoding

ignat@tiger.unisquad.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Blocker                     |Major
            Summary|HTML serializer doesn't take|HTML serializer doesn't take
                   |into account the output     |into account the output
                   |encoding                    |encoding when performing URL
                   |                            |encoding



------- Additional Comments From ignat@tiger.unisquad.com  2003-02-03 15:46 -------
The fact that attribute is URL encoded is not a problem. The problem is that the
wrong value attribute is encoded. I believe that the algorithm for attribute
value should be as foolows: Unicdoe string is converted to bytes with encoding
indicated by <xsl:output encoding=".."/> and than that value is URL encoded. But
rather first convertion to bytes is not performed, and Unicode string is URL
encoded. So in result instead of "%C5%EA" I get "%D0%E5%D0%EA", 4 bytes instead
of 2.