Hi, Jeremy. I had an offline discussion about the XMLStreamHelper API for SDO and came out a question about the rationale behind the save() and saveObject() methods.
http://svn.apache.org/repos/asf/incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/helper/XMLStreamHelper.java 1) What's the use case to save a XMLDocument or DataObject to the XMLStreamWriter? If there's no such requirement, we can get rid of them. 2) With the createStreamReader() method, we can easily pipe the reader to writer with a utility (Axiom has one). Here's the implementation in my latest patch. XMLStreamReader reader = createXMLStreamReader(document); new XMLStreamSerializer().serialize(reader, writer); // XMLStreamSerializer is the utility to pull events from the reader and dump them into the writer Please clarify. Thanks, Raymond
