This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1858 - [Ser] Indentation in mixed content
Summary: [Ser] Indentation in mixed content
Status: CLOSED WONTFIX
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Serialization 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Scott Boag
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 17:20 UTC by Michael Kay
Modified: 2005-09-29 09:59 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-08-18 17:20:55 UTC
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
Comment 1 Joanne Tong 2005-08-30 16:16:47 UTC
The XSL and XQuery working groups discussed this bug in the Aug 30 
teleconference and felt that no change is necessary because the serialization 
specification currently does not contain text that distinguishes validated and 
unvalidated content.  Making such distinction might cause other problems which 
the working groups would like to avoid.  

Your editorial suggestions were accepted.