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 15966 - [XP3] XML 1.0 vs. XML 1.1 - "applied consistently by all aspects of the implementation"
Summary: [XP3] XML 1.0 vs. XML 1.1 - "applied consistently by all aspects of the imple...
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 06:00 UTC by Jonathan Robie
Modified: 2012-05-08 15:14 UTC (History)
1 user (show)

See Also:


Attachments

Description Jonathan Robie 2012-02-13 06:00:28 UTC
The following seems to imply that all inputs, outputs, and query modules must conform to the same sets of rules:

<quote>
Whether the implementation is based on the rules of [XML 1.0] and [XML Names] or the rules of [XML 1.1] and [XML Names 1.1]. One of these sets of rules must be applied consistently by all aspects of the implementation. If the implementation is based on the rules of [XML 1.0], the edition used must be at least Third Edition; the edition used is implementation-defined, but we recommend that implementations use the latest version.
</quote>

I think our spec does allow switches to choose which rules are applied, but it does not provide for environments where inputs, outputs, and query modules can each use a different set of rules.
Comment 1 Jonathan Robie 2012-02-13 17:37:22 UTC
After today's telcon, I think we're heading in this direction:

1. Data model always supports XML 1.1

2. The conformance section says XML processors SHOULD NOT impose restrictions on the use of characters allowed by some versions of XML and disallowed by others.

3. Eliminate all the "Whether the implementation is based on the rules of [XML 1.0] and [XML Names] or the rules of [XML 1.1] and [XML Names 1.1]" language in XQuery 3.0 / XPath 3.0.

4. Serialization can still decide which version to support

5. What about parse-xml()? Is it subject to rule 2 above?
Comment 2 Jonathan Robie 2012-05-08 15:14:08 UTC
This is closed now, adopting the wording in this message:

https://lists.w3.org/Archives/Member/w3c-xsl-query/2012Mar/0094.html