[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no xml:lang = Weak I18N for entry
On Sun, 13 Jun 2004 11:39:23 +0900, Martin Duerst <duerst@xxxxxx> wrote:
XML is clear that you have to say which elements xml:lang can be
used on in a DTD.
True. Afaik, Atom hasn't got a DTD, but the XSD[1] and RelaxNG[2] schemas
should reflect this.
By the way; when and how will the XSD, RelaxNG and possibly other schemas
get «official»?
As I can't see that W3C has specyified this; yes, it should.
Well, it actually turns out that this is specified, namely that
the absense of xml:lang means the absense of language information.
So no 'xml:lang' attribute can be considered the same as 'xml:lang=""'?
It's not ISO 639, and not RFC 3066, that counts here.
But RFC 3066 points to ISO 639 where the language tags are defined(?).
And the XML spec is pretty clear. No chance to make Japanese, Chinese,
or Hindi (the most spoken language in India, but NOT a dialect) the
default.
Good. But still, 'xml:lang' should be possible to put on any element in
Atom, and I think the validator should cough up a warning if no 'xml:lang'
is defined in the feed.
____
[1] <url: http://www.kbcafe.com/iBLOGthere4iM/atom2.xsd>
[2] <url: http://www.tbray.org/ongoing/pie/0.2/pie02.rnc>
--
Asbjørn Ulsberg -=|=- asbjornu@xxxxxxxxxxx
«He's a loathsome offensive brute, yet I can't look away»