W3C home > Mailing lists > Public > www-validator@w3.org > April 2008

Atom feed validation question.

From: Bill Brown <billbrown7@gmail.com>
Date: Tue, 15 Apr 2008 20:54:56 -0500
Message-ID: <2c580c790804151854r559be732u44f6816b0eb7957b@mail.gmail.com>
To: www-validator@w3.org

I'm struggling with a validation issue using the w3 validator to check
documents created by my atom 1.0 feed  generator library

>From the atom spec

atomCommonAttributes = attribute xml:base { atomUri }?, attribute xml:lang {
atomLanguageTag }?, undefinedAttribute*


undefinedAttribute = attribute * - (xml:base | xml:lang | local:*) { text }

I'm interpreting undefinedAttribute as an attribute that  does not start
with xml:base, xml:lang or xmlns:... .

I am also interpreting that atomCommonAttributes can have any number of
undefinedAttributes in them.

Does this mean that any element which can contain an atomCommonAttribute
(Logo for example)  validate with an arbitrary attribute?

The http://validator.w3.org validator does not seem to work this way but I
am looking for some kind of explanation or insight as to why this Logo links
does not validate:

The feed can be found here http://www.earthbeats.net/drops.xml and the
validator shows the following line to be in error (and also the icon

<logo href="http://www.earthbeats.net/drops.xml"

It contains the href and rel attributes which I think fall into the
undefinedAttribute category, but the feed does not validate.

Thanks for your comments or feedback.

Received on Wednesday, 16 April 2008 06:11:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:55 UTC