Thanks for the quick response

After writing the EntityResolver that finds the XSD file and attach it the
DOMParser, I'll still have http links in my XML and XSD files.
In the XSD:
      !DOCTYPE xs:schema SYSTEM "http://www.w3.org/2001/XMLSchema.dtd"; [
      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
elementFormDefault="unqualified">
In the XML:
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

Should I delete those?
Aren't them the cause to my problem?

Thanks
      Ilan



|---------+---------------------------->
|         |           "Erik Rydgren"   |
|         |           <[EMAIL PROTECTED]|
|         |           darinen.se>      |
|         |                            |
|         |           18/09/2003 11:20 |
|         |           Please respond to|
|         |           xerces-c-dev     |
|---------+---------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       <[EMAIL PROTECTED]>                                                
                                |
  |       cc:                                                                          
                                          |
  |       Subject:  RE: Validation against XML schema without internet connection      
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|




You will have to write an EntityResolver and jack it into the parser.
I believe there is an example that shows how to do it.

Best regards
Erik Rydgren
Mandarin FS
Sweden

> -----Original Message-----
> From: Ilan Nehama [mailto:[EMAIL PROTECTED]
> Sent: den 18 september 2003 09:57
> To: [EMAIL PROTECTED]
> Subject: Validation against XML schema without internet connection
>
> Hi
>
> I want to validate a locally stored XML file against a locally stored
XSD
> file using xerces 2.2.0 .
> I am using a unix machine that often does not have connection to the
> global
> web.
> Whenever the connection is down, the parsing collapses.
>
> How can I configure the DOMParser or change my files to parse the file
> without relying on internet connection.
>
>
> Thanks
>     Ilan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to