Yes, sorry I wasn't clear. Not *only* on ancestor elements. any of the following cases should be allowed.


<feed>
  <entry>
    <content>
      <xhtml:div xmlns:xhtml="..." />
    </content>
  </entry>
</feed>

<feed>
  <entry>
    <content xmlns:xhtml="...">
      <xhtml:div />
    </content>
  </entry>
</feed>

<feed>
  <entry xmlns:xhtml="...">
    <content>
      <xhtml:div />
    </content>
  </entry>
</feed>

<feed xmlns:xhtml="...">
  <entry>
    <content>
      <xhtml:div />
    </content>
  </entry>
</feed>


- James M Snell

Anne van Kesteren wrote:
James M Snell wrote:


Ok, now that I'm thinking about this more, I'm changing my initial +0 to +1. This just makes sense. There does need to be a container for the XHTML and div is a solid, logical choice. I don't think it should matter where the xmlns is declared... any ancestor element will do.


I'm still -1. But I was wondering, why only ancestor elements? Wouldn't the most logical thing for "string based generators" be to apply it on the DIV element?





Reply via email to