[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|