W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2013

[Bug 23480] Allow xml:id="Foo" (on the same conditions that xml:lang="Foo")

From: <bugzilla@jessica.w3.org>
Date: Thu, 17 Oct 2013 15:07:44 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-23480-2486-MLZCEm5w4d@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23480

--- Comment #3 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> ---
(In reply to Henri Sivonen from comment #1)

> Also, use case starts with "An author with a Web site which follows polyglot
> markup"... Sigh.

Perhaps enlighten the discussion to point out the folloing:

1) The <include> element in the XInclude namespace is able to tell the XML
parser to parse the included HTML document as (some flavor of) XML. As such,
parsing an text/html document as XML is perfectly possible from XInclude’s
point of view. (It took me some years to understand that XInclude  behaves that
way …) However, the included document got to be both wellformed and in the
XHTML namespace. 

2) The included document must be in the XHTML namesapace, if you want to keep
the formatting.

Thus, using poyglot markup makes some sense.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 17 October 2013 15:07:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:45 UTC