"Jason Malcolm" <[EMAIL PROTECTED]> writes:
> > Anyone know the timeframe for being able to use TrAX/JAXP API to create
> > translets that accept something besides 'StreamSource' (As documented in
> > the 'Translets and TrAX' section of
> > http://xml.apache.org/xalan-j/readme.html). More specifically, it would
> > be helpful if DOMSource or SAXSource were implemented to support in
> > memory xml.
burtonator wrote:
> Why don't they work? I am using TrAX and a SAX source and they work fine!
SAXSource, SAXResult and DOMSource are implemented, but not thoroughly
tested. Todd is working on DOMResult at the moment.
> Would I see a performance increase if I migrated to StreamSource?
I very much doubt it. The StreamSource is handed to a SAX parser, which
will pass SAX events to the compiler/translet. So you might even see a
performance degradation, depending on how your SAX events are generated.
Morten