[Home] [By Thread] [By Date] [Recent Entries]

  • From: Jonathan Borden <jborden@m...>
  • To: Michael Brennan <Michael_Brennan@a...>,'David Brownell' <david-b@p...>, xml-dev@l...
  • Date: Fri, 13 Jul 2001 06:28:38 -0400

Michael Brennan wrote:
>
>
> I'd like to see a standard SAX extension for a resource resolver. It could
> perhaps take some cues from RDDL -- i.e. allow the parser to ask for
> resources related to a namespace URI based on a nature, purpose, or both.
> Perhaps something like:
>
>  public interface ResourceResolver
>  {
>     public InputSource resolveResourceByNature(
>         String namespaceURI, String nature );
>     public InputSource resolveResourceByPurpose(
>         String namespaceURI, String nature );
>     public InputSource resolveResource(
>         String namespaceURI, String nature, String purpose );
>   }
>
> This addresses the problem while remaining extensible (i.e. it doesn't tie
> the API to a specific purpose or schema grammar).
>
> I'd really, really like to see parsers supporting a portable, scalable API
> for this sort of thing.
>

Does the API at http://www.rddl.org/docs fit the bill? Particularly note the
RDDLFilter (a SAX2 filter) and RDDLURL classes and the Namespace interface.

-Jonathan


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member