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 1270 - "omit-xml-declaration" should be implementation-defined
Summary: "omit-xml-declaration" should be implementation-defined
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Don Chamberlin
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-25 21:11 UTC by Don Chamberlin
Modified: 2005-05-04 23:48 UTC (History)
0 users

See Also:


Attachments

Description Don Chamberlin 2005-04-25 21:11:02 UTC
Appendix C.3 of the XQuery document states that the default value of the "omit-
xml-declaration" serialization parameter is "yes". This means that an 
implementation is not allowed to provide an XML declaration in serialized 
output unless explicitly requested to do so. Providing an XML declaration is 
good practice, especially if an encoding other than UTF-8 or UTF-16 is used. 
The default value of this parameter should be changed to "implementation-
defined". This change will be consistent with several other serialization 
parameters, and will allow each implementation to define its own policy with 
respect to XML declarations.
Comment 1 Don Chamberlin 2005-05-04 23:48:44 UTC
This suggestion was accepted and implemented by the Query working group on May 
4, 2005.