[Webkit-unassigned] [Bug 21306] XMLSerializer problem

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 2 07:02:37 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21306





------- Comment #2 from marcus at gratex.com  2008-10-02 07:02 PDT -------
You have forced me to go back to specs,
YOU ARE RIGHT,IT MAY be escaped 
...however this causes interoperability problems...
http://www.w3.org/TR/REC-xml/#sec-well-formed

The ampersand character (&) and the left angle bracket (<) MUST NOT appear in
their literal form, except when used as markup delimiters, or within a comment,
a processing instruction, or a CDATA section. If they are needed elsewhere,
they MUST be escaped using either numeric character references or the strings
"&" and "<" respectively. The right angle bracket (>) may be represented
using the string ">", and MUST, for compatibility, be escaped using either
">" or a character reference when it appears in the string "]]>" in content,
when that string is not marking the end of a CDATA section.


Thanx....


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list