GNU bug report logs - #7953
>>> valid XML?

Previous Next

Package: emacs;

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

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#7953: >>> valid XML?
Date: Wed, 02 Feb 2011 00:02:28 -0700
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 " &gt; ", and 
MUST, for compatibility, be escaped using either " &gt; " 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 13 years and 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.