W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

[xmlschema-dev] <none>

From: Henry Thompson <ht@cogsci.ed.ac.uk>
Date: Tue, 16 Oct 2001 10:59:09 +0100 (BST)
Message-Id: <200110160959.KAA17321@mcilvanney.cogsci.ed.ac.uk>
To: Jeni Tennison <jeni@jenitennison.com>
Cc: Kohsuke KAWAGUCHI <kohsuke.kawaguchi@Sun.COM>, Jeff Lowery <jlowery@scenicsoft.com>, xmlschema-dev@w3.org
Subject: Re: Including schemas with no targetnamespace
References: <20011015131934.0652.KOHSUKE.KAWAGUCHI@sun.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.

  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/
Received on Tuesday, 16 October 2001 05:58:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:54 UTC