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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]