Lists Home |
Date Index |
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).
Senior Software Analyst
Engineering and Design, Courseware Support
FlightSafety International, Inc.
From: Christopher R. Maden [mailto:firstname.lastname@example.org]
Sent: Saturday, February 02, 2002 3:52 AM
Subject: Re: [xml-dev] What am I overlooking...?
-----BEGIN PGP SIGNED MESSAGE-----
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:
>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
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8
-----END PGP SIGNATURE-----
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