W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2000

Re: XSV schema import failed

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 30 Nov 2000 12:09:52 +0000
To: Mike_Leditschke@nemmco.com.au
Cc: xmlschema-dev@w3.org
Message-ID: <f5br93t4q5r.fsf@cogsci.ed.ac.uk>
Mike_Leditschke@nemmco.com.au writes:

> Hi. I am attempting to validate the following document using the WEB based
> XSV.
> 
> http://www.nemmco.com.au/aseXML/examples/r2/MeterIdentifierStandingDataReq.xml
> 
> Contents as follows:-
> 
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>    <ase:aseXML xmlns:ase="urn:aseXML:r2" xmlns:xsi="
>    http://www.w3.org/1999/XMLSchema-instance" xsi:schemaLocation="
>    urn:aseXML:r2 http://www.nemmco.com.au/aseXML/schemas/r2/aseXML_r2.xsd">

> Attempt to import a schema document from urn:aseXML:r2 for urn:aseXML:r2
> failed

Sorry for slow reply, I've been on the road (at XML Schema meetings :-).

You've got the stale namespace URI for the instance namespace -- if
you change to

  xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"

you'll get more useful (real) error messages.

Note for better or worse the XML parser under XSV does not normalize
namespace declaration values, so you need to get rid of that initial
newline as well.

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/
Received on Thursday, 30 November 2000 07:10:10 GMT

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