[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7953: >>> valid XML?
From: |
Kevin Rodgers |
Subject: |
bug#7953: >>> valid XML? |
Date: |
Wed, 02 Feb 2011 00:02:28 -0700 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
On 2/1/11 7:09 AM, jidanni@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