Re: Comment on ITS 2.0 WD-its20-20121206 - Inline global rules in XHTML

On 31.1.2013 16:45, Yves Savourel wrote:

> "XHTML documents aimed at public consumption by Web browsers SHOULD
> use syntax for local attributes described in Section 6.1: Mapping of
> Local Data Categories to HTML and SHOULD NOT use inline global rules
> in order to adhere to DOM Consistency HTML Design Principle."
> 
> I don't understand why we have to use <its:rules> directly rather
> than inside <script> for XHTML since the stated goal of the "DOM
> Consistency" seems to be to have the same tree. If we use
> <its:rules>..</its:rules> in XHTML and
> <script><its:rules>...</its:rules></script> we presumably get
> different trees not identical ones. It seems the "SHOULD NOT" should
> be a "SHOULD" (and the example changed).

I think that confusion comes from the example which was added later. It
should not contain its:rules element at all, only its-* attributes.

Yves, would removing the its:rules from the example dissolve your concerns?

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

Received on Thursday, 31 January 2013 16:43:09 UTC