W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2008

[Bug 5458] [SER] indentation with xml output method

From: <bugzilla@wiggum.w3.org>
Date: Thu, 07 Feb 2008 13:42:00 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JN70q-0001kV-Me@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5458

           Summary: [SER] indentation with xml output method
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization
        AssignedTo: zongaro@ca.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


Given the statement

"Whitespace characters SHOULD NOT be added in places where the characters would
constitute significant whitespace, for example, in the content of an element
whose content model is known to be mixed."

when serializing the result of an XQuery, does this mean that an implementation
SHOULD NOT add any whitespace unless the elements are known to have 
element-only content models, or simple content with the "whiteSpace" facet set
to "collapse"?  

Specifically, if an XQuery produces an untyped document, since xs:untyped is
mixed, does this mean that an implementation SHOULD NOT perform any
indentation?
Received on Thursday, 7 February 2008 13:42:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:49 GMT