[Bug 1858] New: [Ser] Indentation in mixed content

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

           Summary: [Ser] Indentation in mixed content
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization
        AssignedTo: scott_boag@us.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


Section 5.1.3 (XML output method, indent parameter) says:

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.

Perhaps it would be clearer to say "a validated element". In untyped data, all
content is mixed, so it doesn't make sense to apply this rule. 

Note also a couple of typos in this para: the use of "--" for em-dash, and the
missing space after the comma.

Michael Kay

Received on Thursday, 18 August 2005 17:20:58 UTC