Re: gitweb atom feeds broken (on repo.or.cz only?)
- From
- Sebastian Pipping <webmaster@hartwork.org>
- Date
- Sep 28, 2009, 14:44 UTC
- Message-ID
- <4AC0CBBE.7020603@hartwork.org>
- In-Reply-To
- <be6fef0d0909280023x46522d91oc786feef23cb226a@mail.gmail.com>
Tay Ray Chuan wrote:
Show 5 quoted lines
>> i noticed that the atom feeds generated by repo.or.cz's gitweb (e.g. >> [1]) show no content in firefox 3.5.2. this seems to be due to invalid >> xml in it as shown by running [1] through feedvalidator, results at [2]. > > it's a case of a misspelled tag. In the <author> tag <B> is closed by a </b>.
It's actually a bit more, I just checked against the Relax NG schema of Atom v11 from RFC 4287.
Neither <span> nor <b>/<B> are allowed inside <name>, and the '\n' isn't either. This is what we get:
============================================================================= <author><name>andrea<!-- @ -->@dottout<span><B>.</b></span>com</name></author>\n<icon>/git-favicon.png</icon> =============================================================================
This would be valid:
============================================================================= <author> <name>andrea<!-- @ -->@dottout.com</name> </author> <icon>/git-favicon.png</icon> =============================================================================
Petr, is the e-mail crippling a repo.or.cz-only thing?
Sebastian