[
https://issues.apache.org/jira/browse/XERCESJ-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789993#action_12789993
]
Michael Glavassevich commented on XERCESJ-1386:
-----------------------------------------------
Implementing java.io.Serializable is not a guarantee that an object can be
serialized. Take the Java collection (java.util) classes for example. The Map
and List classes can contain non-serializable instances and an attempt to
serialize these Collections will fail if they contain such objects. The PSVI
DOM is another example. There are explicit guards in place to prevent it from
being serialized because there's no serialization support for the XSModel. Here
however, I think there was no intention to block serialization of HTML DOMs so
I'm going to honour your request.
> Make HTMLCollectionImpl serializable
> ------------------------------------
>
> Key: XERCESJ-1386
> URL: https://issues.apache.org/jira/browse/XERCESJ-1386
> Project: Xerces2-J
> Issue Type: Improvement
> Components: DOM (HTML)
> Affects Versions: 2.9.1
> Reporter: Johannes Koch
>
> All HTML element implementations extend org.apache.xerces.dom.NodeImpl, which
> implements java.io.Serializable. Some HTML element implementations contain
> instance variables of type org.apache.html.dom.HTMLCollectionImpl, which does
> not implement java.io.Serializable. So these HTML element implementations are
> in fact not serializable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]