<?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>10197</bug_id>
          
          <creation_ts>2010-07-18 12:05:18 +0000</creation_ts>
          <short_desc>xml:space is not listed as a global attribute</short_desc>
          <delta_ts>2010-10-04 14:57:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rouven We">me</reporter>
          <assigned_to>contributor</assigned_to>
          <cc>hsivonen</cc>
    
    <cc>ian</cc>
    
    <cc>julian.reschke</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36984</commentid>
    <comment_count>0</comment_count>
    <who name="Rouven We">me</who>
    <bug_when>2010-07-18 12:05:18 +0000</bug_when>
    <thetext>Section 3.2.3 and its subsections don&apos;t mention xml:space as a global attribute for XHTML documents.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38623</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-08 07:09:28 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: Indeed. Why would they?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38649</commentid>
    <comment_count>2</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2010-09-08 09:23:35 +0000</bug_when>
    <thetext>One reason that comes to mind is that it&apos;s allowed in XHTML1, and it&apos;s not clear why it&apos;s a good thing to remove it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38877</commentid>
    <comment_count>3</comment_count>
    <who name="Rouven We">me</who>
    <bug_when>2010-09-11 10:42:14 +0000</bug_when>
    <thetext>While I consider xml:space presentational it is allowed on any element by XML 1.0 (just like xml:lang, which is mentioned). Also it is mentioned as an attribute in section 8.1.2.3.

So clearly it is a attribute &quot;common to and may be specified on all HTML elements&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39641</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-28 01:28:06 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: It&apos;s not the job of language specifications of languages that use the XML syntax to remind the author of every last XML feature, especially features that have no effect (such as xml:space).

To address specific points raised above:

 - xml:space isn&apos;t removed, it&apos;s just not relevant.
 - it&apos;s mentioned as an attribute in the parsing section to make parsing work, but that&apos;s deep in a user-agent specific section, so I&apos;m not sure that matters. (The same section talks about many things in SVG and XLink, but doesn&apos;t discuss them either.)
 - xml:space can&apos;t be specified in HTML elements in text/html.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39665</commentid>
    <comment_count>5</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2010-09-28 06:49:41 +0000</bug_when>
    <thetext>Ian, can you please clarify whether it&apos;s conforming or not?

If it is, it needs to be mentioned. If it is not, then this seems to be an incompatible change from XHTML 1.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39696</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-28 07:27:23 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: Please ask the XML working group, since they invented it. xml:space has nothing to do with HTML.

(Note that &quot;incompatible changes&quot; are only of interest if they break real legacy content. Compatibility with previous versions of specs is uninteresting and of no concern.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39699</commentid>
    <comment_count>7</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2010-09-28 07:58:05 +0000</bug_when>
    <thetext>Again, can you please clarify whether it&apos;s conforming or not?

Validator.nu accepts it. Should I report a bug over there?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39726</commentid>
    <comment_count>8</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2010-09-28 12:35:09 +0000</bug_when>
    <thetext>Allowing xml:space makes it easier to edit XHTML5 in oXygen and possibly other XML editors that use xml:space to control source line wrapping. I suggest permitting xml:space on any element in the http://www.w3.org/1999/xhtml namespace and mentioning that xml:space can&apos;t be serialized in text/html.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39761</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-28 17:42:24 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Partially Accepted
Change Description: no spec change
Rationale: It&apos;s not our job to permit it or not. It&apos;s defined by XML, and the XML specification says it&apos;s allowed. It would be a layering violation to have any conformance criteria about it.

I&apos;ve added a paragraph explaining this since apparently the XML spec isn&apos;t a good enough reference (??).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39763</commentid>
    <comment_count>10</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-28 17:50:42 +0000</bug_when>
    <thetext>http://html5.org/tools/web-apps-tracker?from=5526&amp;to=5527</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39775</commentid>
    <comment_count>11</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2010-09-28 18:10:40 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; Rationale: It&apos;s not our job to permit it or not. It&apos;s defined by XML, and the
&gt; XML specification says it&apos;s allowed. It would be a layering violation to have
&gt; any conformance criteria about it.

Actually, it is. XML defines what it is, but it&apos;s up to the vocabulary definition to state where it&apos;s allowed (and with what values).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39784</commentid>
    <comment_count>12</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-28 19:27:26 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: No, it&apos;s not. Please read the XML spec. It clearly uses RFC2119 terms to allow the use of the attribute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39795</commentid>
    <comment_count>13</comment_count>
    <who name="Rouven We">me</who>
    <bug_when>2010-09-28 19:43:52 +0000</bug_when>
    <thetext>I&apos;m satisfied with the explanation given by Ian. Time to end the discussion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39799</commentid>
    <comment_count>14</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2010-09-28 19:50:19 +0000</bug_when>
    <thetext>&quot;A special attribute named xml:space may be attached to an element to signal an intention that in that element, white space should be preserved by applications. In valid documents, this attribute, like any other, MUST be declared if it is used.&quot;

The equivalent of &quot;valid&quot; in the context of HTML5 is the prose describing valid documents.

The new text now allows xml_space everywhere, whereas it was allowed only on certain elements in XHTML 1.0. This is a change that the differences document should mention then.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>