Forwarded message 1
www-xml-schema-comments@w3.org
Subject: Re: Including schemas with no targetnamespace
References: <20011015131934.0652.KOHSUKE.KAWAGUCHI@sun.com>
<3549BAFD79A7D411A1CF00508B62B5BC0124B7EC@exchange-us.scenicsoft.com>
<20011015155808.065C.KOHSUKE.KAWAGUCHI@sun.com>
<11569232751.20011016102225@jenitennison.com>
From: ht@cogsci.ed.ac.uk (Henry S. Thompson)
Date: 16 Oct 2001 10:59:09 +0100
In-Reply-To: Jeni Tennison's message of "Tue, 16 Oct 2001 10:22:25 +0100"
Message-ID: <f5bsncjx5w2.fsf@cogsci.ed.ac.uk>
Lines: 24
User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.2(beta13) (Demeter)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Jeni Tennison <jeni@jenitennison.com> writes:
> Kohsuke Kawagushi wrote:
> > I do think that the chameleon feature is error-prone. All I wanted
> > to point out is that the spec has a significant problem on this
> > issue, and it's not going to be easy to fix it.
>
> The main place where it's horribly broken is in identity constraints.
> XPaths don't use the default namespace, so an XPath that selects
> elements/attributes in a particular namespace has to use prefixes
> associated with that namespace. If you want to use an identity
> constraints in a chameleon schema then you have to edit the XPaths in
> the identity constraints so that they use prefixes and the prefixes
> are associated with the target namespace of the including schema.
Good point, I think that's a bug and should be fixed.
ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
W3C Fellow 1999--2001, part-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
W3C Fellow 1999--2001, part-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/