Bill de hOra wrote:
James M Snell wrote:
This feed does not validate.
* line 2, column 0: Unexpected dir attribute on feed element [help]
<a:feed xmlns:a="http://www.w3.org/2005/Atom"
Because the dir attribute is defined by an I-D, Sam has agreed to change
the validator to return a warning instead of an error but this opens up
a more general question about the use and treatment of non-namespaced
extension attributes within Atom.
I don't understand how this can ever be a validation error. Atom doesn't
disallow them, XML doesn't disallow them.
(the point made later about the RNC disallowing non-namespaced
attributes is neither here not there)
*sigh*
Let me start at the beginning. How many validation errors should there
be in the following document?
<?xml version="1.0" encoding="utf-8"?>
<Feed xmlns="http://www.w3.org/2005/Atom">
<title>Example Feed</title>
<link href="http://example.org/"/>
<updated>2003-12-13T18:30:02Z</updated>
<author>
<name>John Doe</name>
</author>
<id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
<entry>
<title>Atom-Powered Robots Run Amok</title>
<link href="http://example.org/2003/12/13/atom03"/>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<updated>2003-12-13T18:30:02Z</updated>
<summary>Some text.</summary>
</entry>
</Feed>
- Sam Ruby