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

[Bug 6808] [Ser] Whitespacing rules are too restrictive for the indent parameter

From: <bugzilla@wiggum.w3.org>
Date: Fri, 21 Aug 2009 14:15:29 +0000
To: public-qt-comments@w3.org
Message-Id: <E1MeUtt-0000fs-3s@wiggum.w3.org>

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
                 CC|                            |mike@saxonica.com

--- Comment #4 from Michael Kay <mike@saxonica.com>  2009-08-21 14:15:28 ---
I think that second rule is ambiguous:

Whitespace characters MUST NOT be added other than adjacent to an element
     node in the content of an element whose content model is not known to be
     element only."

"in the content" means "added in the content", not "element node in the

There are too many double/triple negatives.

I think the rules are:

If the content model of E is known, you can add whitespace as a child of E only
if E is element-only, and you can then add it anywhere.

If the content model of E is unknown, you can add whitespace as a child of E
only immediately before a (contained) start tag or after a (contained) end tag.
(And even that is best avoided if there is any possibility that E has mixed

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 Friday, 21 August 2009 14:15:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:40 UTC