<?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>11508</bug_id>
          
          <creation_ts>2010-12-09 15:12:36 +0000</creation_ts>
          <short_desc>suboptimal CDATA example</short_desc>
          <delta_ts>2011-06-17 10:11:12 +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>HTML5: The Markup Language (editor: Michael(tm) Smith)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="David Carlisle">davidc</reporter>
          <assigned_to name="Michael[tm] Smith">mike</assigned_to>
          <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>43205</commentid>
    <comment_count>0</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2010-12-09 15:12:36 +0000</bug_when>
    <thetext>the CDATA example at

http://dev.w3.org/html5/markup/syntax.html#cdata-sections

isn&apos;t ideal (if any use of CDATA is ideal) as it is an example of a completely redundant CDATA section, the content has no &lt; or &amp; so the section isn&apos;t quoting anything. A better LaTeX example would be a matrix, as that uses &amp; as the cell separator, so using CDATA there would save quoting them all as &amp;.

(This comment should not be seen as a blocker for the next publication round,
it can be taken as a comment on the next release)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43471</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2010-12-20 07:19:58 +0000</bug_when>
    <thetext>I&apos;d welcome a better example; if you or somebody else can provide a complete one I will replace the current one with that instead</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43474</commentid>
    <comment_count>2</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2010-12-20 10:59:15 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I&apos;d welcome a better example; if you or somebody else can provide a complete
&gt; one I will replace the current one with that instead


I&apos;ll supply something. I am supposed to know a bit of latex:-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43475</commentid>
    <comment_count>3</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2010-12-20 11:44:01 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; I&apos;d welcome a better example; if you or somebody else can provide a complete
&gt; &gt; one I will replace the current one with that instead
&gt; 
&gt; 
&gt; I&apos;ll supply something. I am supposed to know a bit of latex:-)

Surprisingly hard to find a small sensible example that uses both &amp; and &lt;
Perhaps this definition of abs(x) which has 2 &amp; and a &lt; 


\documentclass{article}
\usepackage{amsmath}
\begin{document}
The absolute value of $x$:
\[
\left|x\right|= \begin{cases}-x&amp; \text{if $x&lt;0$}\\
                              x&amp; \text{otherwise}\end{cases}
\]
\end{document}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49493</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-06-13 11:10:40 +0000</bug_when>
    <thetext>David,

I seem to have missed the update that you posted to this at the end of last year. Thanks for the example -- I&apos;ll replace the current one with this one as soon as I&apos;m back somewhere with a reliable Internet connection.

  --Mike</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49777</commentid>
    <comment_count>5</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-06-17 08:52:40 +0000</bug_when>
    <thetext>http://dev.w3.org/cvsweb/html5/markup/spec.html.diff?r1=1.329;r2=1.330;f=h

please check and let me know if you spot any formatting problems -

http://dev.w3.org/html5/markup/syntax.html#cdata-sections</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49778</commentid>
    <comment_count>6</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2011-06-17 10:11:12 +0000</bug_when>
    <thetext>thanks, and I reconfirmed it is valid latex (not that that is that important for this document), closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>