RE: targetnamespace problem with XSV?

I changed the schema location in my instance doc, so it now reads


<?xml version="1.0" encoding="UTF-8"?>
<DigitalObject DigitalObjectID="cornell/sampleDO" xmlns="http://DO"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://DO
http://www.cs.cornell.edu/naomi/test/ns/DigitalObject.xsd">
	<DataStream DSID="DS-2">
		<descriptor>description of image</descriptor>
	</DataStream>
	<DataStream DSID="DS-3">
		<descriptor>thumbnail of image</descriptor>
	</DataStream>
</DigitalObject>


and it works!

Guess XSV was matching some other schema to my previous location of
"DigitalObject.xsd".


- Naomi


> -----Original Message-----
> From: Jeni Tennison [mailto:jeni@jenitennison.com]
> Sent: Monday, December 10, 2001 12:52 PM
> To: Naomi Dushay
> Cc: xmlschema-dev@w3.org
> Subject: Re: targetnamespace problem with XSV?
> 
> 
> Hi Naomi,
> 
> > I'm using the one here:
> >
> > http://www.w3.org/2001/03/webdata/xsv
> 
> I tried validating using this online service with the XML document and
> XML Schema you posted and again didn't get any errors from 
> XSV. Perhaps
> there's something in the part of the schema that you didn't post
> that's causing the problem?
> 
> > which is the one that comes up first with a google search on "xsv".
> > It's also the URL linked to from this page:
> >
> > http://www.w3.org/XML/Schema
> 
> If you want to, you can download XSV from:
> 
>   http://www.ltg.ed.ac.uk/~ht/xsv-status.html
> 
> That way you can run it locally from a command line.
> 
> Cheers,
> 
> Jeni
> 
> ---
> Jeni Tennison
> http://www.jenitennison.com/
> 
> 

Received on Wednesday, 12 December 2001 13:43:04 UTC