Re: [xml-dev] which xml schema tools do it right concerning including attributes xml:lang and xml:space

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@reutershealth.com>     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_

Received on Friday, 19 April 2002 06:28:37 UTC