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

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 UTC