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

Re: No, I Don't Want No Namespace!

From: Tyson Tate <tytate@cadrc.calpoly.edu>
Date: Wed, 23 Nov 2005 09:51:50 -0800
Message-ID: <4384AC36.2030808@cadrc.calpoly.edu>
To: xmlschema-dev@w3.org

That's what XMLSpy 2005 puts in when you assign a schema to it through 
the GUI, so it appears that this is an XMLSpy 2005 issue. Can anyone 
verify this?

-Tyson

Michael Kay wrote:
> Your xsi:schemaLocation looks wrong. The first string should be the
> namespace URI, that is http://www.xyzcorp.com/Vessel rather than
> www.xyzcorp.com/Vessel. The second string should be a location URI rather
> than a Windows filename. I suspect that XMLSpy lets you get away with the
> incorrect location URI, but is tripping up on the incorrect namespace URI.
> 
> Michael Kay
> http://www.saxonica.com/
> 
>> -----Original Message-----
>> From: xmlschema-dev-request@w3.org 
>> [mailto:xmlschema-dev-request@w3.org] On Behalf Of Tyson Tate
>> Sent: 21 November 2005 18:11
>> To: xmlschema-dev@w3.org
>> Subject: No, I Don't Want No Namespace!
>>
>> ...
 >>
>> <Vessel xmlns="http://www.xyzcorp.com/Vessel" 
>> xmlns:cdm="http://www.xyzcorp.com/cdmtypes" 
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>> xsi:schemaLocation="www.xyzcorp.com/Vessel
>> C:\path\to\schema\Vessel2.xsd">
Received on Wednesday, 23 November 2005 18:13:33 GMT

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