W3C home > Mailing lists > Public > xml-editor@w3.org > July to September 2000

[xml-editor] <none>

From: Steve Lee <stephenl@digita.com>
Date: Mon, 17 Jul 2000 10:35:37 +0100
Message-ID: <AB271D0636AAD311B9AE009027AC99292184C6@PLATO>
To: "'xml-editor@w3.org'" <xml-editor@w3.org>
I'm a little confused by section 2.4. In particular


To allow attribute values to contain both single and double quotes, the
apostrophe or single-quote character (') may be represented as "&apos;", and
the double-quote character (") as "&quot;". 

mean that "&apos;" and "&quot;" are only valid in the context of attribute
values and should be "&amp;apos;" in element text? IE allows &apos; in
attributes though the DOM seems to be problematical in using
CreateTextNode() in that it passes ' straight through in element text.

Thanks Steve Lee

Check out our website to find out more about Digita and our etax services

Internet communications are not secure therefore companies in the Digita
Group will not accept legal responsibility for the contents of this message.
Any views or opinions presented in this email or any attachments are solely
those of the author and do not necessarily represent those of the Digita
Group. The information in this email and in any attachments is confidential
and for the sole use of addressee. Further distribution is prohibited. If
you are not the intended recipient you are not authorised to disclose, copy
or retain this email, and should notify us immediately.
Received on Monday, 17 July 2000 05:35:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:40 UTC