<?xml version="1.0" encoding="iso-8859-1"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title> Conformance Tests</title>
  <link rel="alternate" type="application/xhtml+xml" href="http://golem.ph.utexas.edu/~distler/blog/archives/000793.html" />
  <link rel="self" href="http://golem.ph.utexas.edu/~distler/blog/files/atomTests.xml" />
  <updated>2006-04-19T02:04:43-06:00</updated>
  <subtitle>Tests of Atom Conformance</subtitle>
  <id>tag:golem.ph.utexas.edu,2003:Tests/1</id>
  <rights>Copyright (c) 2006, Jacques Distler</rights>
  <entry>
    <title type="html">XHTML: Implicit Elements Test</title>
    <link rel="alternate" type="application/xhtml+xml" href="http://golem.ph.utexas.edu/~distler/blog/archives/000793.html#TortureXHTML" />
    <updated>2006-04-19T02:04:13-06:00</updated>
    <published>2006-04-18T02:02:13-06:00</published>
    <id>tag:golem.ph.utexas.edu,2006:%2F~distler%2Fblog%2F1.TableTest</id>
    <summary type="text">The TBODY element. Is it there?</summary>
    <author>
      <name>distler</name>
      <uri>http://golem.ph.utexas.edu/~distler/blog/</uri>
      <email>distler@golem.ph.utexas.edu</email>
    </author>
    <category term="Feeds" />
    <content type="xhtml" xml:base="http://golem.ph.utexas.edu/~distler/blog/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <style type="text/css">tbody {color:green}</style>
        <p>In HTML, the TBODY element is inferred, even if it is not present in the markup of a table.
           In XHTML, that is not true. What will happen here? Will your aggregator treat the following
           table as XHTML?</p>
        <table>
         <tr><td>This text should not be green!</td></tr>
        </table>
        <p>If the above text was green, then your aggregator is ignoring the <em>explicit</em>
           injunction that the content of this entry is of <code>type="xhtml"</code> and is,
           instead, treating it as tag-soup.
        </p>
      </div>
    </content>
  </entry>
  <entry>
    <title type="html">XHTML: Case-sensitivity and Namespace Test</title>
    <link rel="alternate" type="application/xhtml+xml" href="http://golem.ph.utexas.edu/~distler/blog/archives/000793.html#TortureXHTML" />
    <updated>2006-04-20T02:05:13-06:00</updated>
    <published>2006-04-19T02:02:13-06:00</published>
    <id>tag:golem.ph.utexas.edu,2006:%2F~distler%2Fblog%2F1.CaseTest</id>
    <summary type="text">Another test of XHTML parsing rules</summary>
    <author>
      <name>distler</name>
      <uri>http://golem.ph.utexas.edu/~distler/blog/</uri>
      <email>distler@golem.ph.utexas.edu</email>
    </author>
    <category term="Feeds" />
    <content type="xhtml" xml:base="http://golem.ph.utexas.edu/~distler/blog/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <style type="text/css">tbody {color:green}</style>
        <p>In HTML, element names are case-insensitive and namespaces are not
           supported. In XHTML, the opposite is true. What will happen here?</p>
        <p xmlns:x="http://www.w3.org/1999/xhtml"><B>This sentence should not
           be bold.</B> <x:b>But this one should!</x:b></p> 
        <p>If the above text was incorrectly-bolded, then your aggregator is
            ignoring the <em>explicit</em> injunction that the content of this
            entry is of <code>type="xhtml"</code> and is, instead, treating it
            as tag-soup.</p>
      </div>
    </content>
  </entry>
  <entry>
    <title type="html">MathML Test</title>
    <link rel="alternate" type="application/xhtml+xml" href="http://golem.ph.utexas.edu/~distler/blog/archives/000793.html#TortureMathML" />
    <updated>2006-04-19T02:02:23-06:00</updated>
    <published>2006-04-18T02:02:23-06:00</published>
    <id>tag:golem.ph.utexas.edu,2006:%2F~distler%2Fblog%2F1.MathMLTest</id>
    <summary type="text">How about embedded MathML?</summary>
    <author>
      <name>distler</name>
      <uri>http://golem.ph.utexas.edu/~distler/blog/</uri>
      <email>distler@golem.ph.utexas.edu</email>
    </author>
    <category term="Feeds" />
    <content type="xhtml" xml:base="http://golem.ph.utexas.edu/~distler/blog/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>If your aggregator failed the XHTML test, then you haven't a prayer of this one
          succeeding. That requires that your aggregator treats the content here as XHTML
          <strong>and</strong> that it support MathML. Thunderbird is a Mozilla product. So it
          has a fighting chance to pass this test. As far as I know, it fails.</p>
        <math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><msubsup><mo>&#x0222B;</mo>
           <mrow><mo lspace="verythinmathspace" rspace="0em">&#x02212;</mo><mn>&#x0221E;</mn></mrow>
           <mn>&#x0221E;</mn></msubsup><msup><mi>e</mi>
           <mrow><mo lspace="verythinmathspace" rspace="0em">&#x02212;</mo><mi>a</mi><msup><mi>x</mi>
           <mn>2 </mn></msup></mrow></msup><mi>d</mi><mi>x</mi><mo>=</mo>
           <msqrt><mrow><mi>&#x003C0;</mi><mo stretchy="false">/</mo><mi>a</mi></mrow></msqrt></math>
         <p>Was that good for you?</p>
      </div>
    </content>
  </entry>
  <entry>
    <title type="html">SVG Test</title>
    <link rel="alternate" type="application/xhtml+xml" href="http://golem.ph.utexas.edu/~distler/blog/archives/000793.html#TortureSVG" />
    <updated>2006-04-19T02:02:34-06:00</updated>
    <published>2006-04-18T02:02:33-06:00</published>
    <id>tag:golem.ph.utexas.edu,2006:%2F~distler%2Fblog%2F1.SVGTest</id>
    <summary type="text">SVG embedded via the OBJECT element</summary>
    <author>
      <name>distler</name>
      <uri>http://golem.ph.utexas.edu/~distler/blog/</uri>
      <email>distler@golem.ph.utexas.edu</email>
    </author>
    <category term="Feeds" />
    <content type="xhtml" xml:base="http://golem.ph.utexas.edu/~distler/blog/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>I use SVG for figures. For those without the Adobe SVG plugin (or native SVG support
           in the client), I use a GIF image as a fallback. If you see the SVG image, but it's
           screwed up, then the native SVG support in your aggregator's rendering engine is buggy and
           substandard.  If your aggregator's rendering engine  doesn't support SVG, it should
           display the fallback GIF image instead. Most likely, however, you see nothing at all.</p>
       <div style="width: 20.0625em; margin:10px 10px 10px 0; overflow:auto;">
           <object type="image/svg+xml"
                   data="http://golem.ph.utexas.edu/~distler/blog/svg/bhformation.svg"
                   width="100%" height="100%" style="width: 20em; height: 28em;">
               <img src="http://golem.ph.utexas.edu/~distler/blog/svg/bhformation.gif"
                   width="319" height="448" alt="Penrose diagram for a collapsing shell of radiation" />
           </object><br />
           <span style="color:#630;">This is an SVG figure with a fallback to a GIF image.</span>
        </div>
      </div>
    </content>
  </entry>
</feed>
