W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2003

RE : validation issue for extensible schema - XMLSpy issue ?

From: Laurent Le Meur <laurent.lemeur@afp.com>
Date: Fri, 14 Feb 2003 17:09:22 +0100
To: "'Henry S. Thompson'" <ht@cogsci.ed.ac.uk>
Cc: <xmlschema-dev@w3.org>, "'newsml'" <newsml@yahoogroups.com>
Message-ID: <007101c2d443$6fda9ad0$2687329e@par.afp.com>

In fact the original "Instance 3" was done without the 'c' element (and
should have been valid in my opinion), the error given by XMLSpy being :
"Namespace mismatch - 'b' should be in namespace ##other".

<a xmlns="urn:newsml:iptc.org:a"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:newsml:iptc.org:b  b.xsd  urn:newsml:iptc.org:a
a.xsd  ">
	<b xmlns="urn:newsml:iptc.org:b">
		<bb>ffff</bb>
	</b>
</a>

I will follow your advice, try XSV, and notify XMLSpy of the problem.

Cheers llm

-----Message d'origine-----
De : ht@inf.ed.ac.uk [mailto:ht@inf.ed.ac.uk] De la part de Henry S.
Thompson
Envoyé : vendredi 14 février 2003 15:45
À : Laurent Le Meur
Cc : xmlschema-dev@w3.org; newsml
Objet : Re: validation issue for extensible schema - XMLSpy issue ?

Note your Instance3 still contains a <c/>, so is indeed invalid.

Otherwise there does seem to be some problem with the validator you're
using -- I suggest you try XSV online to see if you get results in
line with your expectations.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of
Edinburgh
                      Half-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 Friday, 14 February 2003 11:14:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT