Could you please point me to this example code for the version 2.3.0 distribution? I want to use a local DTD file for parsing even though the XML refers to a URL for the DTD.
Regards, --Hieu -- --------- Original Message --------- DATE: Thu, 18 Sep 2003 12:00:58 From: "Erik Rydgren" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: >No, all requests for external entities are routed through your entity >resolver. Just have the resolver return an inputstream pointing to a >local file representing the URL. The parser will only try to open the >URL if the entityresolver doesn't provide an inputsource. > >/ Erik > >> -----Original Message----- >> From: Ilan Nehama [mailto:[EMAIL PROTECTED] >> Sent: den 18 september 2003 10:49 >> To: [EMAIL PROTECTED] >> Subject: RE: Validation against XML schema without internet connection >> >> 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 >> > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
