You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2006/09/09 00:40:22 UTC
[jira] Resolved: (XERCESJ-502) Error When serializing a document
[ http://issues.apache.org/jira/browse/XERCESJ-502?page=all ]
Michael Glavassevich resolved XERCESJ-502.
------------------------------------------
Resolution: Incomplete
Assignee: (was: Xerces-J Developers Mailing List)
This is a four year old Bugzilla issue against Xerces 2.0.0. The reporter never responded and there isn't enough information to reproduce the problem. Given the number of changes to this code since issue was first reported there's a good chance it doesn't exist anymore.
> Error When serializing a document
> ---------------------------------
>
> Key: XERCESJ-502
> URL: http://issues.apache.org/jira/browse/XERCESJ-502
> Project: Xerces2-J
> Issue Type: Bug
> Components: Serialization
> Affects Versions: 2.0.0
> Environment: Operating System: Solaris
> Platform: Sun
> Reporter: Srinivas Kalla
>
> I am trying to serializing a Document. I am getting the following error.
> 1323 got XMLSerializer
> 1324 trying to serialize the doc
> 1325 Exception in thread "main" java.lang.AbstractMethodError
> 1326 at org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(B
> seMarkupSerializer.java:952)
> 1327 at org.apache.xml.serialize.BaseMarkupSerializer.serialize(BaseM
> rkupSerializer.java:431)
> 1328 at com.Verizon.Gateway.util.XMLUtil.serialize(XMLUtil.java:930)
> Here is the code:
> StringWriter sw = new StringWriter();
>
> /**
> * apache serializer using base class format
> */
> System.out.println("getting XML serializer");
> XMLSerializer serializer = new XMLSerializer(sw, format)
>
> System.out.println("got XMLSerializer");
>
> /**
> * serialize the Document
> */
> try {
> System.out.println("trying to serialize the doc");
> serializer.serialize(doc);
> System.out.println("after serializing the doc");
> }
> catch (IOException e) {
> GWServletLog.printInfo("Exception while serializng:" + e.getMessage
> () );
> throw new GatewayException(className+methodName,
> "error in writing out the dom model ",e);
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org