[Please keep these questions on the public mailing lists rather than 
mailing them direct to me; much more efficient, since it gives everyone a 
chance to get involved in the discussion.]

As far as I know, nobody has been working on bug 7294. We're aware of it, 
but it hasn't come to the top of the priority queue. Of course Xalan is an 
open-source project, so you don't necessarily have to wait for the core 
Xalan team to propose a solution; if you've got an idea, feel free to 
propose a patch...


Addressing it properly would require working with the TrAX team to get 
consensus, since the DOMResult interface is defined by TrAX. It _ought_ to 
be relatively simple... but someone has to find time and take the lead to 
make it happen. 

Or we could implement our own extended-TrAX API which adds this, as a 
temporary measure and to help show everyone else why we think this change 
is desirable.


Workarounds: The simplest solution for now -- short of modifying TrAX or 
Xalan -- would be for your code to request that Xalan output to SAX, and 
plug in a SAX-to-DOM builder which does understand how to construct 
documents which have DocType nodes. I outlined the required approach in my 
comment in the Bugzilla entry.

______________________________________
Joe Kesselman  / IBM Research

Reply via email to