[Home] [By Thread] [By Date] [Recent Entries]


> <p lang="en">
>   Here is an example of some C code:
>   <pre xml:lang="">
>      #include "stdio.h"
>      main() {printf("Hello world!"};}
>   </pre>
> </p>

Just out of curiousity, is this example typical usage? Overriding HTML's
lang attribute with an xml:lang? It seems this would only apply XHTML 1.0 as
1.1 removes the lang attribute and HTML 4.01 didn't have xml:lang. This
example seems to show a good area for confusion. I am not sure this is an
argument against an erratum, just an observation. If/when there is an
example published in 1.1 or an erratum can we get that first "lang" changed
to "xml:lang"?

Thanks!
Jeff Rafter
Defined Systems
http://www.defined.net
XML Development and Developer Web Hosting


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member