[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: What am I overlooking...? (namespaces, validation, & xsv)
-----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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|