WD-xhtml2-20030506: What is "computer code"?

The <blockcode> element looks useful -- "<blockcode>foo</blockcode>"
would appear to be the equivalent of "<pre><code>foo</code></pre>".

One query -- the <blockcode> and <code> elements are both intended to
contain "a fragment of computer code".  It seems clear this covers the
likes of programming and scripting languages (C, Perl, etc.), but what
about other types of "computer code"?  For example:

  * Some SGML or LaTeX markup
  * An ASCII-armoured OpenPGP key
  * A UUencoded binary

I think some clarification of this in section 9.3 would be beneficial.

Thanks

Dave

P.S., an observation:

    <blockhaiku>
        <code>&lt;blockcode/&gt;</code> element!
        Rich markup for computing;
        Poets feel left out
    </blockhaiku>

;o)

Received on Friday, 9 May 2003 18:26:56 UTC