You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/11/14 13:49:40 UTC

DO NOT REPLY [Bug 14534] - java.io.StreamCorruptedException: InputStream does not contain a serialized object

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14534>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14534

java.io.StreamCorruptedException: InputStream does not contain a serialized object





------- Additional Comments From santiago.pericasgeertsen@sun.com  2002-11-14 12:49 -------
A serialized Templates object and a translet are two *different* things. 
Unfortunately, the JAXP API does not support the creation of a Templates from 
a class, so what you would need for this two work is (at least conceptually) 
two separate JAXP programs: one to compile the stylesheet in memory and then 
serialize the resulting Templates object, and another to deserialized the 
templates Object (as attached to this message). Future versions of JAXP *may* 
support the creation of a Templates object from a set of classes.