On 2011-09-07, at 16:24 +0200, Steve DeRose wrote: > To include that literal text content, an encoder must "escape" at least one of the 3 characters. Such escaping is obviously possible (if it were not, we would have dealt with it in the XML spec). For example: > > <p>In XML, the end of a marked section is indicated by "]]>".</p> So, this is a bit hidden, but processing of the string "]]>" when it occurs as part of a text node actually is specified and has a well-defined processing model: Canonical XML encodes all ">" signs in text nodes as ">". See the note about text nodes here: http://www.w3.org/TR/xml-c14n11/#ProcessingModelReceived on Wednesday, 7 September 2011 15:16:22 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 September 2011 15:16:22 GMT