Hi Sven,

can you create a JIRA with the *full* stacktrace, your code and the
sample xml you have used?

-- Chinthaka


[EMAIL PROTECTED] wrote:
> Hallo,
> 
> I am trying to serialize a document that I construct in my programm but I get 
> a "org.apache.axiom.om.OMException: Unsupported Operation" Exception. The 
> code I tried to get the xml is:
> 
> BufferedOutputStream bostream = new BufferedOutputStream(new 
> FileOutputStream(fileName));            
> document.serialize(bostream);                                    
> bostream.close();
> 
> or
> 
> XMLOutputFactory xof = XMLOutputFactory.newInstance();
> XMLStreamWriter writer = xof.createXMLStreamWriter(new FileWriter(fileName));
> lineItem.serializeAndConsume(writer);
> writer.close();
> 
> But in both cases I get the same Exception. So the Question is serialize() 
> implemented in the 1.0 Release of Axiom or where else should I look for the 
> solution? I am greatful for all ideas.
> 
> Yours
> Sven


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to