GNU bug report logs -
#7953
>>> valid XML?
Previous Next
Reported by: jidanni <at> jidanni.org
Date: Tue, 1 Feb 2011 14:02:01 UTC
Severity: normal
Tags: notabug
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 2/1/11 7:09 AM, jidanni <at> jidanni.org wrote:
> nXML mode still says this is valid XML, despite the>>>>>>.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <kml xmlns="http://www.opengis.net/kml/2.2">
> ...<name>Chernovtsy, Ukraine</name>>>>>>>
From http://www.w3.org/TR/2008/REC-xml-20081126/#syntax:
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.
Doesn't that mean that ">" may appear in its literal form in content, when it is
not within a string "]]>" (as above)?
--
Kevin Rodgers
Denver, Colorado, USA
This bug report was last modified 14 years and 9 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.