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>

Reply via email to