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=23797>.
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=23797

XMLSerializer doesn't escape ' character to &apos

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-10-14 03:17 -------
The reason XMLSerializer doesn't escape the ' (apostrophe or single quote) 
character is that it never needs to be escaped. The only necessary reason to 
escape a single quote is if you've quoted an attribute value [1] or entity 
value [2] with single quotes. The serializer always uses double quotes (") so 
escaping is not necessary.

[1] http://www.w3.org/TR/REC-xml#NT-AttValue
[2] http://www.w3.org/TR/REC-xml#NT-EntityValue

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

Reply via email to