OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: SAX2 ... missing features?



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