On Thu, Jun 19, 2003 at 04:58:43PM -0700, Karr, David wrote: > I've discovered the interesting issue with taking body content that > contains single quotes and serializing that into an XML document, which > is actually intended to be viewed as HTML. The result is that it mucks > up (replaces with "'") the single quotes when it is viewed in IE > (although not in Mozilla, interestingly).
The reason is that IE does not appear to handle the XML entity ' and merely prints it out instead of rendering it correctly as a "'" like Mozilla does. I've seen this problem with some XHTML websites I maintain; it's a real pain. Xerces and Mozilla's behaviour is correct, IE's is not, unfortunately :( IIRC you can work around it by replacing ' with either ' or ' and retain valid XML but that leads you back to square one I think. Sorry I can't be more helpful! Regards, -- David Nutter <[EMAIL PROTECTED]> Research Assistant Rm E326, Department Of Computer Science, University Of Durham, Durham, DH1 3LE Tel: +44(0)191 3341745 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
