- From: Guillaume Rousse <rousse@ccr.jussieu.fr>
- Date: Thu, 6 Dec 2001 12:00:20 +0100
- To: xmlschema-dev@w3.org
- Cc: Jeni Tennison <jeni@jenitennison.com>
Ainsi parlait Jeni Tennison : > Hi Guillaume, > > > It seems xerces-j try to validate the <name> element as the global > > definition, not as the local one. And curiously, this conflict only > > happens here, whereas i have plenty of other local name elements > > elsewhere... > > In the example you posted, you had a *locations* element whereas the > local declaration of the name element is within the declaration for > the *location* element - I don't know whether that's something that > was mistyped when you posted or something you actually have in your > XML document? That's not a mystiping: - <locations> is an collection of <location> element - <location> is a global element with <country> as a possible substitution - <location> uses LocationType, <country> uses CountryType subtype - <name> is defined for LocationType Is this clearer :-) ? -- Guillaume Rousse <rousse@ccr.jussieu.fr> GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html
Received on Thursday, 6 December 2001 06:01:37 UTC