Proposed new kind of SAX2 thing, with example

David Megginson david at megginson.com
Fri Mar 26 13:29:20 GMT 1999


John Cowan writes:

 > I believe there should be some way within SAX2 to ask for parser
 > properties (in the JavaBeans sense).  One example is the
 > architectural DTD public ID, which XAF provides access to but can't
 > report because it doesn't fit the SAX event model.

Use the following from Parser2 (née ModParser):

    public abstract Object get (String prop)
	throws SAXNotSupportedException;


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list