Because of the way that most feed readers process content, this is
probably unlikely to be a problem; however, there still is the potential
for issues. For instance, what if this entry is included in an atom
feed that contains another entry whose xhtml content uses the same
anchor id's?
- James
James Holderness wrote:
What about same-document references? Surely this sort of thing should be
valid regardless of whether there is an xml:base in scope:
<content type="xhtml">
<div xmlns="...">
<a href="#p1">1. Introduction</a>
<a href="#p2">2. More stuff</a>
...
<a id="p1">This is the introduction.</a>
<a id="p2">More stuff goes here.</a>
</div>
</content>
James M Snell wrote:
+1... but only if there is not an in scope xml:base. For instance,
the following should be considered perfectly acceptable:
<entry>
...
<content xml:base="http://example.org/foo" type="xhtml">
<div xmlns="..."><a href="bar">Link to bar</a></div>
</content>
</entry>