[cddlm] dumping failing CDL test docs to files

Steve Loughran steve_loughran at hpl.hp.com
Thu Dec 1 10:56:45 CST 2005


Jun, Ayla and anyone else running the CDL test cases

I'm finding I have to extend the Test code to dump the in and out docs 
to the output stream. That way I can diagnose the problems I'm having.

Question is,

1. do I try and get the DOM3 APIs to work consistently,  and use the 
dom3 factory stuff, that never seems to work well for me.
2. or can I assume that everyone is running Xerces and use their API

3. or do I extend the CdlSmartFrogProcessor to let everyone provide 
their own dump() operation to save the doc to a PrintStream?

I'm biased towards (3) as I have all the code to serialize something 
under Xom working, and hate working with dom.


Comments?

-steve

see:  http://xerces.apache.org/xerces2-j/faq-dom.html#faq-3





More information about the cddlm-wg mailing list