Comments on section 7 of ITS 2.0

I have two very practical implementation issues with the prose in
section 7 of ITS 2.0 [1].

1. Nothing is said about the weird case of a XHTML document using
    _both_ its-* attributes AND attributes in the its namespace

2. since the its namespace can be declared almost anywhere, an
    implementation does not know what to expect (its-* attributes
    or namespaced attributes) until it hits the first ITS data in the
    document's tree

My recommendation for solving these issues would be:

1. add the following normative prose to section 7:

    The syntax described in Section 6 and attributes in the ITS
    namespace are mutually exclusive in the space of the whole document.
    A XHTML document using namespaced attributes to declare ITS
    information MUST declare the ITS namespace on the root element of
    the document.

2. adapt all examples of the spec according to above if needed

[1] 
http://www.w3.org/International/multilingualweb/lt/drafts/its20/its20.html#xhtml5-markup

</Daniel>

Received on Friday, 5 July 2013 08:39:03 UTC