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

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 UTC