W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > July 2004

RE: lang=""

From: Jonathan Marsh <jmarsh@microsoft.com>
Date: Wed, 7 Jul 2004 14:06:41 -0700
Message-ID: <DF1BAFBC28DF694A823C9A8400E71EA2042B5950@RED-MSG-30.redmond.corp.microsoft.com>
To: "Elliotte Harold" <elharo@metalab.unc.edu>, <www-xml-xinclude-comments@w3.org>

In this situation, preserving the fact that no language information is
known about the included portion of the document is recorded by
xml:lang="".  This is by design.  We don't provide features in XInclude
to help change language information during inclusion (though that
certainly would be a possible way to extend XInclude.)

There are many ways validation can fail after XInclude; users have to be
careful.  Language fixup doesn't change that fact significantly.

We remain committed to supporting the comments we received which led us
to add language fixup in the first place.

> -----Original Message-----
> From: www-xml-xinclude-comments-request@w3.org
[mailto:www-xml-xinclude-
> comments-request@w3.org] On Behalf Of Elliotte Harold
> Sent: Friday, June 04, 2004 9:24 AM
> To: www-xml-xinclude-comments@w3.org
> Subject: xml:lang=""
> 
> 
> I'm working on implementing xml:lang handling in XOM for XInclude. One
> thing strikes me as very funny. Suppose I have a document written in
> English that uses xml:lang="en" on its root element. Suppose this
> document includes another doucment also written in English that does
> not, however, use any xml:lang attributes. The inclusion process will
> create lots of unnecessary and indeed misleading xml:lang=""
attributes.
> This seems unnecessarily confusing.
> 
> Furthermore, the addition of extra xml:lang attributes in unpexpected
> places may mess up validation, since most schema languages require
these
> attributes to be declared like any others.
> 
> I still prefer giving no special treatment to xml:lang compared to any
> other attribute.
> 
> --
> Elliotte Rusty Harold
Received on Wednesday, 7 July 2004 17:06:51 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:16:10 GMT