<?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>9976</bug_id>
          
          <creation_ts>2010-06-21 21:37:19 +0000</creation_ts>
          <short_desc>Base Polyglot Markup&apos;s XML requirements on Canonical XML (C14N)</short_desc>
          <delta_ts>2010-10-05 13:07:43 +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 HTML/XHTML Compat. Authoring Guide (ed: Eliot Graff)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>FPWD</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="Eliot Graff">eliotgra</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>xn--mlform-iua</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>36311</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-06-21 21:37:19 +0000</bug_when>
    <thetext>As I noted in Bug 9965, Canonical XML - aka C14N - have some requirements that looks like relevant design principles for Polyglot Markup - at least in some stake holders&apos; opinions. For example C14n requires:

* that &lt;li/&gt; should be written as &lt;li&gt;&lt;/li&gt;
* that document uses UTF-8
* that class=&quot;   one     two&quot; is written class=&quot;one two&quot; 
* XML declaration must be removed

For overview: http://www.w3.org/TR/xml-c14n#Terminology

Hence i suggest as a design principle for the Polyglot Markup that the XML requirements should be based on Canoncical XML - except when that principle is incompatible with HTML5. (One place where it is incompatible is in C14N&apos;s requirement to remove the DOCTYPE).)

Positive: Adopting such a principle would make it simpler to justify and agree about the design of Polyglot Markup. 

Negative: The requiremetns of C14N are, however, stricter than the the _real_ requirements of Polyglot Markup.

JUSTIFICATION: It seems to be the case that quite a few people with a stake in Polyglot Markup wants to base the polyglot requirements on something that is stricter thant the the _real_ requirements. And because of that, I think it is important to have something solid to base those extra requirements on. Rather than randomly picking one&apos;s favorite restrictions/permissions.

(For example, there are conditionas when it is not necessary to write &lt;li/&gt; as &lt;li&gt;&lt;/li&gt; - even when the document is meant to be polyglot. But instead of defining the exceptions  - or our own restrictions - we could simply pick Canonical XML&apos;s rulings as base.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36315</commentid>
    <comment_count>1</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2010-06-22 06:03:08 +0000</bug_when>
    <thetext>I guess, that that this bug can be closed ... The main service Canonical XML can do to us may be that it a) can serve as example of what &quot;plain&quot; XML does _not_ require. Plain XML does not remove multiple spaces in the DOM. On the other side, C14N also shows us that many of the HTML5 requirements, can also find justification in C14N. But the polyglot spec should be based on compatibility with &quot;normal&quot; XML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36354</commentid>
    <comment_count>2</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-06-22 19:25:35 +0000</bug_when>
    <thetext>See Leif&apos;s comments.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>