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

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

From: <bugzilla@wiggum.w3.org>
Date: Mon, 13 Apr 2009 23:24:38 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6808-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6808

           Summary: Whitespacing rules are too restrictive for the indent
                    parameter
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization
        AssignedTo: zongaro@ca.ibm.com
        ReportedBy: guerneca2003@yahoo.com
         QAContact: public-qt-comments@w3.org


The serialization spec says in 5.1.3:

"Whitespace characters MUST NOT be added other than adjacent to an element
node, that is, immediately before a start tag or immediately after an end tag."

This seems a bit too restrictive. I think the intent of these rules is to not
end up adding any significant whitespace. 

Imagine a complex type with element only content type and several comments and
processing instructions. This rule forbids whitespace to be added to separate
the comments/PIs, even though the whitespace would be insignificant. Therefore,
I'd suggest relaxing this rule a little bit.


-- 
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 Monday, 13 April 2009 23:24:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 13 April 2009 23:24:49 GMT