On 31.1.2014 8:09, Leif Halvard Silli wrote:
> The extension spec addresses the issue that the new doctype that was
> introduced by HTML5, removed (classic) XML ID-type assignment from HTML
> documents consumed as XML. As a result, XML tools relying on that kind
> of assignment are unable to locate resources of XML ID type in HTML5
> documents. XHTML1 documents do not have this issue (as long at their
> DOCTYPE is included).
It seems that your motivation is solely based on making it possible to
use xpointer in XInclude for HTML content. Then I think right approach
is to define that when XInclude is evaluated on text/html content, then
id attribute is considered of ID type and you are done. There is no need
to clutter HTML5 with xml:id attribute.
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
Bringing you XML Prague conference http://xmlprague.cz
------------------------------------------------------------------