Re: type

"Franz-Josef Herpers" <franz-josef.herpers@spmtechnologies.com> writes:

> > > Good question, presuming books.xsd (which you didn't include)
> > > makes . a key for <isbn> within <books>.
> > > 
> > > I think the answer is 'yes', that instance should raise an error
> > > -- the values are the same.  xsi:type functions to establish a
> > > type for an element prior to all notions of PSVI content and
> > > value.  Key/keyref enforcement should be agnostic about where
> > > the type information which induced the values comes from.
> 
> But at least Xerces 2.2 doesn't raise an Error

Neither does XSV, but it should.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, 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/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]

Received on Tuesday, 29 October 2002 12:06:19 UTC