Problem with Serialization 2003-01-06 - By George Cristian Bina
Hi Tomas,
You can have a look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15768
Best Regards, George ------------------------------------------------------------- George Cristian Bina mailto:george@(protected) COO - sync.ro Phone +40-(0)251-461480, +40-(0)251-461481 Fax +40-(0)251-461482 Mobile +40-(0)723-224067 SyncRO Soft srl, Bd N. Titulescu 170, Craiova, 1100 - Romania http://www.sync.ro <oXygen/> XML Editor - http://www.oxygenxml.com/
----- Original Message ----- From: "Cirip Tomas" <tomas.cirip@(protected)> To: <xerces-j-user@(protected)> Sent: Friday, January 03, 2003 10:25 PM Subject: Problem with Serialization
> Hi, > > I had following piece of code: > > OutputFormat outputFormat = new > OutputFormat(document,OutputFormat.Defaults.Encoding, true); > XMLSerializer serializer = new XMLSerializer(outputStream, > outputFormat); > > serializer.serialize(document); > > This works fine when I use downloaded source code for Xerces 2.2.1. > Unfortunately when I use downloaded jar files I am getting following error: > > Exception occurred during event dispatching: > java.lang.NoSuchMethodError > at org.apache.xml.serialize.IndentPrinter.printText(Unknown Source) > > at org.apache.xml.serialize.XMLSerializer.startDocument(Unknown > Source) > at org.apache.xml.serialize.XMLSerializer.serializeElement(Unknown > Source) > at > org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source) > > at > org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(Unknown Source) > > at org.apache.xml.serialize.BaseMarkupSerializer.serialize(Unknown > Source) > ... > > Any ideas what I am doing wrong? Thank you > > Tomas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) > For additional commands, e-mail: xerces-j-user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|