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|REOPENED |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2003-10-26 17:27 ------- The side effect is that ' is four characters longer than '. The serializer's role is to write the information set to an XML document. What syntax it uses is at its own discretion. ' and ' both convey the same information. When the document is read back at some future time by the parser, ' will take longer to parse. Since ' in most situations is just syntactic sugar, it just increases the size of your document without adding any information. There are many ways to express the same information in XML, but XMLSerializer will try to write any characters it can in the encoding given to the output document. If a character has to be escaped either to make the document well- formed or because the character cannot be expressed in the output encoding, then XMLSerializer will write it using the built-in entities (such as 'amp' and 'lt') or character references. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
