W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2002

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

From: John Cowan <jcowan@reutershealth.com>
Date: Fri, 19 Apr 2002 06:28:26 -0400 (EDT)
Message-Id: <200204191028.GAA04756@mail.reutershealth.com>
To: jeni@jenitennison.com
Cc: dareo@microsoft.com (Dare Obasanjo), paul_hermans@protext.be (Paul Hermans), xml-dev@lists.xml.org, xmlschema-dev@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:30 GMT