W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2009

[Bug 7829] [SER] Serialization of minimized attributes.

From: <bugzilla@wiggum.w3.org>
Date: Thu, 26 Nov 2009 21:19:35 +0000
To: public-qt-comments@w3.org
Message-Id: <E1NDlkV-00076A-Kg@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7829


Henry Zongaro <zongaro@ca.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #2 from Henry Zongaro <zongaro@ca.ibm.com>  2009-11-26 21:19:35 ---
Thank you for reporting this problem and for your thoughtful analysis.

In the past the working groups have ruled that instances of the Data Model that
do not adhere to the HTML DTD should be serialized as faithfully as possible. 
For instance, according to erratum SE.E7,[1] an element whose content model is
empty must be output using only a start tag (for HTML) or an empty element tag
(for XHTML) if the element node in the Data Model instance actually has no
children.

So, I propose the following change:

. In section 7.2, replace the second paragraph with, "A boolean attribute is an
attribute with only a single allowed value in any of the HTML DTDs, where the
allowed value is equal without regard to case to the name of the attribute. 
The HTML output method MUST output any boolean attribute in minimized form if
and only if the value of the attribute node actually is equal to the name of
the attribute without regard to case."

[1]
http://www.w3.org/XML/2007/qt-errata/xslt-xquery-serialization-errata.html#E7


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 26 November 2009 21:19:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:29 UTC