[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-dev
Subject: Re: [xml-dev] Xerces, schema caching, and namespaces
From: Bob Foster <bob () objfac ! com>
Date: 2004-12-22 16:05:09
Message-ID: 41C99B35.2070008 () objfac ! com
[Download RAW message or body]
I've done a schema cache implementation using Xerces-J. In cases where a
schema location hint is provided, I compare both namespace and location.
If a cache didn't use the location hint when provided, I would consider
it to be broken unless the user had given specific instructions to
ignore the hint.
But if no schema location is specified, which is perfectly legitimate,
the cache will return any schema with the same namespace (or no
namespace). Though this could cause problems, it seems to fit the usage
patterns of people who do not like to specify locations, who tend to set
up a 1-1 correspondence between schema and namespace.
Bob Foster
http://xmlbuddy.com/
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic