W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2001


From: Greg Stein <gstein@lyra.org>
Date: Wed, 25 Apr 2001 21:42:15 -0700
To: WebDAV WG <w3c-dist-auth@w3.org>
Message-ID: <20010425214215.G1374@lyra.org>
I'm with Julian on this. The XML specification *clearly* states that
xml:lang imposes its value on all its children. That is, it is scoped. Thus,
any properties appear within a scope defined by any/all ancestors.

The prefixes defined by the xmlns: attribute are similarly behaved. We
persist those, without regard to where they may have occurred. xml:lang is
exactly the same.

We should *not* start reinterpreting the XML specifications to suit our
perceptions of how things should work. We chose XML, so we need to abide by
its rules. And one of those is that xml:lang is a scope.


On Wed, Apr 25, 2001 at 10:54:16PM +0200, Julian Reschke wrote:
> No,
> Canonical XML is very clear in that *all* attributes in the XML namespace
> are inherited when XML fragments are persisted/serialized. Thus:
> a) xml:lang may appear in the prop element or on any ancestor,
> b) what needs to be clarified is the behaviour for *other* attributes from
> the XML namespace, such as xml:space and xml:base.
> See also
> <http://lists.w3.org/Archives/Public/w3c-dist-auth/2001AprJun/0102.html>
> -----Ursprungliche Nachricht-----
> Von: w3c-dist-auth-request@w3.org
> [mailto:w3c-dist-auth-request@w3.org]Im Auftrag von Jason Crawford
> Gesendet: Mittwoch, 25. April 2001 21:44
> An: Clemm, Geoff
> Cc: WebDAV WG
> Betreff: RE: Issue: XML_LANG_CLARIFY
> To be persistant, I think we all agree the xml:lang attribute can be on the
> property node and doesn't have to be on a child.  Do we agree that it can
> even be on the parent of the property node and still be persistant?
> Should we discourage the client from doing this though?
> <D:set>
>  <D:prop xml:lang="NL">
>    <D:displaynname>Kikkers in de koek</D:displayname>
>  </D:prop>
> </D:set>
> ------------------------------------------
> Phone: 914-784-7569,   ccjason@us.ibm.com

Greg Stein, http://www.lyra.org/
Received on Thursday, 26 April 2001 01:42:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:22 UTC