[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Announcement: SAX2 1999-06-01 alpha release for Java
David Brownell wrote, > Miles Sabin writes: > > > Is there any chance of us changing that? How about > > an alternative start tag reporting interface which > > reports, > > > > startOpenElement(String name); > > startAttribute(String name); > > attributeCharacters(char[] chars, int off, int len); > > endAttribute(String name); > > endOpenElement(String name); > > Making an extra 2 (+3x #attributes) invocations per > element could also be a performance issue of no small > note! Don't forget that those calls are traded off against an awful lot of String construction (constructor calls and object allocation). > Miles -- you're on the right track re using the > extension mechanism for this functionality. What'd be > needed is parsers which would use it... I think that > the API calls you sketched above might do the job, > maybe even within the DTD. (I have no interest in > exposing parameter entity handling, FWIW!) Err ... well, actually, my parser _does_ work more or less the way I've described: SAX is layered on top. I'd quite like to be able to expose this additional information via SAX rather than having to use our proprietary APIs. Clearly, tho', this'd only be of any use if other parsers also implemented such a handler. Cheers, Miles -- Miles Sabin Cromwell Media Internet Systems Architect 5/6 Glenthorne Mews +44 (0)181 410 2230 London, W6 0LJ msabin@c... England xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... 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@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|