Re: XSV schema import failed

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 UTC