OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] What am I overlooking...? (namespaces, validation, & xsv)

[ Lists Home | Date Index | Thread Index ]

-----Original Message-----
From: Atchley, John 
Sent: Monday, February 04, 2002 8:03 AM
To: 'Christopher R. Maden'
Subject: RE: [xml-dev] What am I overlooking...? (namespaces,
validation, & xsv)

Huh?  Now I'm really puzzled.  I thought xsi:schemaLocation was supposed to
specify that the schema for the URI given in the first part of the value
(before the whitespace) (i.e. http://notarealurl.com/sourcedata/2002_01_31)
was located where specified after the whitespace (i.e.
file:gensrcschema.xsd)  (the mailer wrapped the text of my original message
at the whitespace separating the two parts of the value)

I.e. the first portion of the value is the URI and the second portion of the
value is the location of the schema.  In this example the file
gensrcschema.xsd DOES exist.

If this is not the case, how would it even be possible to specify more than
one schema location?

FWIW, I've tried Microsoft's validation demo and it does find the schema
file, though it doesn't seem to actually do anything.  (I.e. I know it is
using the schema file because it pukes if I move the schema file, but as
long as it can find the schema file it reports as "valid" instance files
that violate the schema).

John Atchley
Senior Software Analyst
Engineering and Design, Courseware Support
FlightSafety International, Inc.

-----Original Message-----
From: Christopher R. Maden [mailto:crism@maden.org]
Sent: Saturday, February 02, 2002 3:52 AM
To: xml-dev@lists.xml.org
Subject: Re: [xml-dev] What am I overlooking...?

Hash: SHA1

At 09:05 1-02-2002, Atchley, John wrote:
>Has anyone used XSV successfully?  It appears to be treating namespace URIs
>as URLs, and ignoring Schema-instance extensions, or am I just even
>than I look?

Not stupid, but here's the answer to your subject question:

>         xsi:schemaLocation="http://notarealurl.com/sourcedata/2002_01_31
>Error: can't find address for host "notarealurl.com" in http URL

XSV isn't trying to load that URL because it's in your namespace URI, but 
because you've said that your schema can be found there.

- -- 
Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc.
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://www.hmmci.com/ > <URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
Version: PGP Personal Privacy 6.5.8


The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS