On Jul 16, 2005, at 11:20 AM, Tim Bray wrote:

I got an email last night from a well known syndication implementor pointing out an obvious bug in my Atom feed. The feed's valid, but the stuff in <content> was full of relative URIs which were broken because I'd borked the xml:base. So I went through the code and got the xml:base right and ruthlessly pruned all the pointers.

Hey hey hey, it turns out xml:base is supposed to stack.  Thus.....

<feed xmlns='http://www.w3.org/2005/Atom'
      xml:base='http://www.tbray.org/ongoing/'
      xml:lang='en-us'>
<title>ongoing</title>
<link href='' />
<link rel='self' href='ongoing.atom' />
  ...
<entry xml:base='When/200x/2005/07/14/'>
  <title>Atom 1.0</title>
  <link href='Atom-1.0' />



Reply via email to