<?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>19869</bug_id>
          
          <creation_ts>2012-11-05 21:47:27 +0000</creation_ts>
          <short_desc>Consider a normative reference for &quot;polyglot markup&quot;/polyglot HTML syntax</short_desc>
          <delta_ts>2013-09-01 20:35:57 +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>CR HTML/XHTML Compatibility Authoring Guide (ed: Eliot Graff)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html#introduction</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>12725</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="Leif Halvard Silli">xn--mlform-iua</assigned_to>
          <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>77919</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2012-11-05 21:47:27 +0000</bug_when>
    <thetext>See: http://lists.w3.org/Archives/Public/public-html/2012Nov/0049

DESCRIPTION: 

   (1) The introduction contains this code:
       &lt;dfn id=&quot;dfn-polyglot-markup&quot;&gt;polyglot markup&lt;/dfn&gt;.
   (2) Every time the spec uses the term &quot;polyglot markup&quot;,
       then it points to #dfn-polyglot-markup.
   (3) But Smylers pointed out that it perhaps is illogical
       that the definition of &quot;polyglot markup&quot; is kept in
       a section that bears the stamp &quot;This section is
       non-normative&quot;. 

HOW TO FIX:

EITHER: Remove the &quot;non-normative&quot; stamp.

    OR: Regardless of the normativity of the &apos;Introduction&apos;,
        create a new header called e.g. 

       &apos;The polylglot markup syntax&apos;, 

        and insert &lt;dfn id=&quot;syntax&quot;&gt;polyglot markup&lt;/dfin&gt; 
        in that section, and and point to *that* section
        when referring to a definition of &quot;polyglot markup&quot;.
 
        I would also move the currenct section 2 until section 10
        under the new header - under a subheader called
        &quot;Writing polyglot HTML documents&quot;

        All, in all, the document structure of the Polyglot 
        spec, would now look as follows:

1. Introduction
2. The polyglot HTML syntax [New]
   [definition of polyglot syntax goes here]
   [May be one could also include a reference 
    to HTML5’s 2 syntaxes here, see below.]

2.1 Writing polyglot HTML documents [New]

       [Current section 2 to 10: ]
2.1.2. Processing Instructions and the XML Declaration [… snip …]
2.1.10. Comments in Polyglot Markup
3. Example Document


JUSTIFICATION for the AND/OR variant - which is what I think I prefer:

  The AND/OR otion is inspired by HTML5 itself, 
  which operates with 2 syntaxes:

 HTML: http://dev.w3.org/html5/spec/syntax.html#syntax
XHTML: http://dev.w3.org/html5/spec/the-xhtml-syntax#the-xhtml-syntax

  And often when HTML5 refers to &quot;HTML&quot; or XML, then it
  points to the above syntax sections.

  Polyglot Markup is a specific third, hybrid syntax. And thus, the
  proposed, new structure follows, a littl bit, the structure found
  in HTML5&apos;s HTML syntax section 
  (http://dev.w3.org/html5/spec/syntax.html#syntax)

  There is a great attention to the fact that Polyglot Markup is
  &quot;just&quot; the hybrid of the XHTML syntax and the HTML syntax. May
  be these changes could underline that fact.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92798</commentid>
    <comment_count>1</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2013-09-01 20:35:32 +0000</bug_when>
    <thetext>Accepted. Change checked in.

I picked the following solution from the proposal in comment 0:


    OR: Regardless of the normativity of the &apos;Introduction&apos;,
        create a new header called e.g. 

       &apos;The polylglot markup syntax&apos;, 

        and insert &lt;dfn id=&quot;syntax&quot;&gt;polyglot markup&lt;/dfin&gt; 
        in that section, and and point to *that* section
        when referring to a definition of &quot;polyglot markup&quot;.
 
        I would also move the currenct section 2 until section 10
        under the new header - under a subheader called
        &quot;Writing polyglot HTML documents&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>