|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: prob in picking xsd file
Srinivas,
Hanumaiahgari, Srinivas wrote:
> hi all,
> i am using xerces 1.4.3. got schema validated against spy and w3c as well.
> The prob is SAX parser doesnt pick up the xsd file.
>
> xml File:
>
> <?xml version='1.0' encoding='utf-8'?>
>
> <SupplierInvoice
> xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
> xsi:noNameSpaceSchemaLocation="C:\srinivas\ibmSchema.xsd">
You don't show the exception message that is raised and I can only try
to guess it, but chances are that your SAX parser would prefer a URL
than a Microsoft directory path and interprets "C:" as a URI scheme that
it doesn't recognize.
You could try instead things that are more "URL like", such as
"file:///c:/srinivas/ibmSchema.xsd"...
Hope this helps,
Eric
--
Rendez-vous à Paris pour une visite guidee de la nebuleuse XML.
http://dyomedea.com/formation/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
http://xsltunit.org http://4xt.org http://examplotron.org
------------------------------------------------------------------------
|
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
|
|||||||||

Cart








