[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some minor 0.2 corrections
I've noticed some minor but important problems in 0.2, based on the
maximal feed.
<feed version="0.2" xmlns="http://purl.org/atom/ns#">
For some wacky reason, under XML namespace rules the version attribute
is actually in the unqualified namespace, not the default namespace. It
either needs a prefix or be moved to an element to be valid.
It's not a problem for attributes to be unqualified, as long as they are
only used on qualified elements, which the atom elements are.
Only attributes that can be used on elements in different namespaces
should always be qualified. (like rdf:about, ev:event f.e.)
--
Sjoerd Visscher
http://w3future.com/weblog/