* bug#7953: >>> valid XML?
2011-02-01 14:09 ` bug#7953: >>> valid XML? jidanni
@ 2011-02-02 7:02 ` Kevin Rodgers
2011-07-11 23:46 ` Glenn Morris
2011-07-11 23:56 ` bug#7953: closed (Re: bug#7953: >>> valid XML?) jidanni
2011-07-11 23:58 ` jidanni
2 siblings, 1 reply; 5+ messages in thread
From: Kevin Rodgers @ 2011-02-02 7:02 UTC (permalink / raw)
To: bug-gnu-emacs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#7953: closed (Re: bug#7953: >>> valid XML?)
2011-02-01 14:09 ` bug#7953: >>> valid XML? jidanni
2011-02-02 7:02 ` Kevin Rodgers
@ 2011-07-11 23:56 ` jidanni
2011-07-11 23:58 ` jidanni
2 siblings, 0 replies; 5+ messages in thread
From: jidanni @ 2011-07-11 23:56 UTC (permalink / raw)
To: 7953, rgm
Glad to know that you say it is valid XML.
GbTS> A random sample of online XML validators have no problem with this kind
GbTS> of thing.
GbTS> From: jidanni@jidanni.org
GbTS> Subject: >>> valid XML?
GbTS> To: bug-gnu-emacs@gnu.org
GbTS> Date: Tue, 01 Feb 2011 22:09:58 +0800 (22 weeks, 6 days, 9 hours ago)
GbTS> nXML mode still says this is valid XML, despite the >>>>>>.
GbTS> <?xml version="1.0" encoding="UTF-8"?>
GbTS> <kml xmlns="http://www.opengis.net/kml/2.2">
GbTS> ...<name>Chernovtsy, Ukraine</name>>>>>>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#7953: closed (Re: bug#7953: >>> valid XML?)
2011-02-01 14:09 ` bug#7953: >>> valid XML? jidanni
2011-02-02 7:02 ` Kevin Rodgers
2011-07-11 23:56 ` bug#7953: closed (Re: bug#7953: >>> valid XML?) jidanni
@ 2011-07-11 23:58 ` jidanni
2 siblings, 0 replies; 5+ messages in thread
From: jidanni @ 2011-07-11 23:58 UTC (permalink / raw)
To: 7953, rgm
OK maybe it is valid XML.
^ permalink raw reply [flat|nested] 5+ messages in thread