W3C home > Mailing lists > Public > public-multilingualweb-lt-comments@w3.org > July 2013

Re: Comments on section 6.2 of ITS 2.0

From: Jirka Kosek <jirka@kosek.cz>
Date: Fri, 05 Jul 2013 11:34:20 +0200
Message-ID: <51D6931C.5090702@kosek.cz>
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
CC: public-multilingualweb-lt-comments@w3.org
On 5.7.2013 10:51, Daniel Glazman wrote:
> There is an implementation issue related to inline global rules
> specified inside a script element in HTML: an html document (HTML4
> and html5) will have have a DOM representation of such an element
> as a script element having one only text node child, while all XHTML
> documents (1.0, 1.1, 5) will trigger XML parsing of the inline ITS rules
> and have the corresponding elements in the its namespace inside the
> script element...

Yes

> I don't really know how to fix this. If I understand the usefulness of
> inline global ITS rules, the above make them somehow painful to
> implement for HTML documents in the wider sense.

There is easy fix -- do not use this feature which what the spec
encourages, see note at the end of section 6.2:

"Note:

It is preferred to use external global rules linked using the link
element than to have global rules embedded in the document."

-- 
------------------------------------------------------------------
  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
------------------------------------------------------------------


Received on Friday, 5 July 2013 09:34:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:32:28 UTC