I am using Castor 0.9.2. 

 

 

  I am using a file url in my include statement. Castor generates the following error.

 

  The file is found in f:\baker. I am running windows 2000.

 

  I am using xml spy 4.0 which has validated my files.

 

 

   CASTOR GENERATES THE FOLLLOWING ERROR

 

 

SAXParseException: org.xml.sax.SAXParseException: File "f:/baker/file:///F:/bake/hbstypes.xsd" not found.

- occured at line 0, column 0

 

My code follows:

 

  <?xml version="1.0" encoding="UTF-8"?>

<!-- edited with XML Spy v4.0 NT beta 1 build Jun 13 2001 (http://www.xmlspy.com) by Michael Robkin (Health Business Systems) -->

<xsd:schema targetNamespace="file:///F:/baker/order_summary_info" xmlns:ord="file:///F:/baker/order_summary_info" xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" elementFormDefault="qualified">

            <xsd:include schemaLocation="file:///F:/baker/hbstypes.xsd"/>

            <xsd:element name="order_summary_info">

                        <xsd:annotation>

                                    <xsd:documentation>header/detail information Will be able to contain multiple order information[original order split]</xsd:documentation>

                        </xsd:annotation>

                        <xsd:complexType>

                                    <xsd:sequence>

Reply via email to