W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > November 2011

Other possible issues with the Polyglot draft

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 30 Nov 2011 14:13:17 +0000
To: public-xml-core-wg@w3.org
Message-ID: <f5bd3c9snpe.fsf@calexico.inf.ed.ac.uk>
1) It recommends [1] the use of the UTF-8 BOM -- that seems . . . odd
   to me.

2) Advice wrt xmlns:xlink is contradictory: I've already filed a bug
   on this one [2].

3) 'void' elements [3] -- the name is non-standard, and the
   requirement:

  "Polyglot markup uses the minimized tag syntax for void elements,
   e.g. <br/>, rather than the alternative syntax <br></br>."

   seems unnecessary to me. . .

  <p /> is mentioned, as not appropriate, but nothing is said about
  <br />, which surely ought to be allowed if possible, for legacy
  docs.

  The final Note seems odd, and introduces a new name ("self-closing").

4) xml:space and xml:base [4]:

  "The [xml:space and xml:base] attributes are not allowed in polyglot
   markup"

   -- Should this be clarified to read "not allowed on HTML elements"?
   -- As far as I can see the xml:space attribute is allowed, just a)
      has no effect and b) won't/can't be serialised.  xml:base is
      indeed disallowed.
   


ht

[1] http://dev.w3.org/html5/html-xhtml-author-guide/#character-encoding
[2] http://www.w3.org/Bugs/Public/show_bug.cgi?id=15001
[3] http://dev.w3.org/html5/html-xhtml-author-guide/#empty-elements
[4] http://dev.w3.org/html5/html-xhtml-author-guide/#disallowed-attributes
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]
Received on Wednesday, 30 November 2011 14:13:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 November 2011 14:13:53 GMT