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


Jeni Tennison scripsit:

> (basic XML 1.0 well-formedness
> parsing should give a warning if xml:lang isn't a language code, I
> think).

No, the production rules given for xml:lang values in the First Edition were
not actually linked to any other production rules, and were removed by
erratum, as shown in the Second Edition.  So <foo xml:lang="$@#$"/>
is in fact well-formed and valid, though semantically bad.

-- 
John Cowan <jcowan@r...>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_

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