Re: xml and entities?
Daniel Veillard <[email protected]>
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jan 23, 2004 at 08:43:44PM -0500, Bruce D'Arcus wrote: > Is that right??? Clearly this would be the case within attributes, but > even in elements? Even in attribute it's perfectly possible to use quote or double-quote unescaped as long as they are distinct from the separator for that attribute. And for text in element content, I really don't see any justification to escape them to entities. I really can't see a valid reason for this, this actually reflects the opposite of the feedback I got from users, libxml2 used to escape them, and now tries to minimize the escaping as much as possible when serializing XML. Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ [email protected] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/