Return-Path: Delivered-To: apmail-xml-xerces-j-dev-archive@xml.apache.org Received: (qmail 94605 invoked by uid 500); 25 Apr 2003 00:54:50 -0000 Mailing-List: contact xerces-j-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: xerces-j-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list xerces-j-dev@xml.apache.org Received: (qmail 94592 invoked from network); 25 Apr 2003 00:54:50 -0000 Received: from mail1.dynamicsoft.com (63.113.40.10) by daedalus.apache.org with SMTP; 25 Apr 2003 00:54:50 -0000 Received: from DYN-EXCH-001.dynamicsoft.com (dyn-exch-001 [63.113.44.7]) by mail1.dynamicsoft.com (8.12.8/8.12.8) with ESMTP id h3P0qmaC012399 for ; Thu, 24 Apr 2003 20:52:48 -0400 (EDT) Received: from dynamicsoft.com (63.113.46.50 [63.113.46.50]) by DYN-EXCH-001.dynamicsoft.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id JN888530; Thu, 24 Apr 2003 20:54:56 -0400 Message-ID: <3EA88759.8010109@dynamicsoft.com> Date: Thu, 24 Apr 2003 20:54:49 -0400 From: Anders Kristensen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: xerces-j-dev@xml.apache.org Subject: programmatically resolving namespaces to local schemas Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N With DTD's one can use an entity resolver to map a public or system ID of a DOCTYPE declaration to a local resource so as to avoid re-fetching the DTD from a remote location whenever parsing an XML doc conforming to that DTD. I've been unsuccessfully trying to figure out how to achieve the same thing with schemas in Xerces2 Java 2.3.0. That is, I have docs that conform to one or more schemas whose location are well-known http URLs and I want to include those xsd's in my own software distro and use the local version as opposed to the net-version when parsing the XML instances. It's not just a question of speed; some environments are closed off from the Internet and some do not have DNS access. I guess this must be supported but I was unable to find any mention of it in any docs. Any help is very much appreciated. Thanks, Anders --------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org For additional commands, e-mail: xerces-j-dev-help@xml.apache.org