API versioning in SAX

Toby Speight tms at ansa.co.uk
Tue Aug 4 11:13:37 BST 1998


Michael> Michael Kay <URL:mailto:M.H.Kay at eng.icl.co.uk>

=> In article
=> <000f01bdbf08$d031a540$1e09e391 at mhklaptop.bra01.icl.co.uk>, Michael
=> wrote:

Michael> Every time I use SAX, I forget that the parser is allowed to
Michael> hand me data one character at a time if it chooses.  Perhaps
Michael> someone should write a SAX parser that does just that, so I
Michael> can test that my application would cope with it.

You could write a SAX filter that accepts input from the parser of the
moment, and delivers it a character at a time.  It should be fairly
trivial given the filter interface recently posted here.

-- 


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/
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