[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: What am I overlooking...? (namespaces, validation, & xsv)

  • To: xml-dev@l...
  • Subject: RE: What am I overlooking...? (namespaces, validation, & xsv)
  • From: "Atchley, John" <John.Atchley@f...>
  • Date: Mon, 4 Feb 2002 09:26:46 -0500

signature validation schemalocation


-----Original Message-----
From: Atchley, John 
Sent: Monday, February 04, 2002 8:03 AM
To: 'Christopher R. Maden'
Subject: RE:  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.
mailto:John.Atchley@F...



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



-----BEGIN PGP SIGNED MESSAGE-----
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
stupider
>than I look?

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

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

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.

~Chris
- -- 
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

iQA/AwUBPFu2qaxS+CWv7FjaEQJThgCfS6OUuf/TzUUsFwqOBOt1djxOsMYAoKDg
q1kmHM2yXNeToGtnk9efBofr
=uBfH
-----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
manager: <http://lists.xml.org/ob/adm.pl>

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.