<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14820</bug_id>
          
          <creation_ts>2011-11-14 11:31:32 +0000</creation_ts>
          <short_desc>Implementation-defined features checklist</short_desc>
          <delta_ts>2012-01-06 23:45:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Structures: XSD Part 1</component>
          <version>1.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="David Ezell">David_E3</assigned_to>
          <cc>cmsmcq</cc>
    
    <cc>liam</cc>
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60014</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-11-14 11:31:32 +0000</bug_when>
    <thetext>In the (normative) appendix E of Part 1 listing implementation-defined features, the first entry reads:

For the datatypes defined by [XML Schema: Datatypes] which depend on [XML 1.1] or [XML Namespaces 1.1], it is </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60027</commentid>
    <comment_count>1</comment_count>
    <who name="Liam R E Quin">liam</who>
    <bug_when>2011-11-14 17:07:23 +0000</bug_when>
    <thetext>One of the changes in XML 1.1 was the introduction of Unicode NEL into the S production, so that whitespace is not in fact the same in XML 1.1; this was one of the reasons cited by vendors for not adopting 1.1.

The other significant remaining differences between 1.1 and 1.05e are
(1) handling of the version declaration;
(2) C0 control characters allowed in 1.1 and not  in 1.0 (but must be escaped).
    (character zero is still not allowed, however)
(3) C1 control characters must be escaped (to try to detect character encoding
    problems)

The purpose of XML 1.0 5e was to bring the spec up to date with Unicode and to fix an error related to the version declaration, so 5e did not affect whitespace or C0/C1 control characters.

Hope this helps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60034</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-11-14 18:18:08 +0000</bug_when>
    <thetext>&gt;One of the changes in XML 1.1 was the introduction of Unicode NEL into the S
production, so that whitespace is not in fact the same in XML 1.1

This is a surprisingly common belief even among experts. Perhaps it was true some draft of XML 1.1. In the actual Rec, NEL is a line ending character but it is not a whitespace character (production [3]). The set of line ending characters has changed, but XSD does not reference these. The set of whitespace characters has not changed.

&gt;The other significant remaining differences between 1.1 and 1.05e are...

I don&apos;t believe any of these affect XSD, except perhaps the definition of xs:string:

It is </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60035</commentid>
    <comment_count>3</comment_count>
    <who name="Liam R E Quin">liam</who>
    <bug_when>2011-11-14 18:56:20 +0000</bug_when>
    <thetext>Well, I see what you mean. It&apos;s comparable to the difference between lexical and value space in XSD: in XML 1.1, where the production S is used, a Unicode NEL (#x2028) can appear, whereas it would be an error in a 1.0 document. This is not done editorially by a direct change in the S production, but to the end of line handling. But it is still a change to the whitespace rules, and indirectly affects &quot;S&quot;.

The difference starts to matter if other languages (e.g. XPath, XQuery) try to layer on top of XML to use &quot;S&quot; without including the line ending rules.  However, I don&apos;t _think_ it matters for XSD, because an XML 1.1 parser would have been used to consume the input, and would have normalised NEL to #xA already.

So I wouldn&apos;t want to leave unchallenged the assertion that there&apos;s no change in whitespace rules between 1.0 and 1.1.

For xs:string, it might be worth adding a note, I agree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60784</commentid>
    <comment_count>4</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2011-12-02 17:03:56 +0000</bug_when>
    <thetext>Proposal: 
(1) accept MK&apos;s change to the wording (possibly modulo xsd:string).

(from the original comment)
XSD 1.1 depends on other specifications for the definitions of some data types
such as xs:NCName and the definition of whitespace. Although all current
editions of [XML 1.0], [XML 1.1], [Namespaces in XML 1.0], and [XML Namespaces
1.1] have identical definitions of these constructs, future editions could
introduce changes. Implementations may support either the definitions in the
current specifications, or definitions in future specifications that supersede
them, or both.
[this wording leaves out a crucial bit concerning xs:string.]

 (2) Add a Note to say that the mapping from the XML character sequence to the infoset which serves as input to the validator is, strictly speaking, not constrained by this spec, so either the 1.0 mapping or the 1.1 mapping can be used by a conforming processor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62083</commentid>
    <comment_count>5</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2011-12-28 01:24:46 +0000</bug_when>
    <thetext>A wording proposal adapted from MKay&apos;s original suggestion, with what I hope are minor changes to account for the difference in string, is at

  https://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.b14820.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62364</commentid>
    <comment_count>6</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2012-01-06 23:37:59 +0000</bug_when>
    <thetext>The wording proposal mentioned in comment 5 was adopted by the XML Schema WG at its telcon today, and the change has been integrated into the status-quo version of the specification.

Michael, if you would formally close the issue, I&apos;d be grateful.  Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>