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 "Johannes Koch (JIRA)" <xe...@xml.apache.org> on 2009/07/17 14:29:14 UTC

[jira] Commented: (XERCESJ-1386) Make HTMLCollectionImpl serializable

    [ https://issues.apache.org/jira/browse/XERCESJ-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732498#action_12732498 ] 

Johannes Koch commented on XERCESJ-1386:
----------------------------------------

Michael,

there's no requirement that a DOM be serializable; true. However, if a super-type (NodeImpl) is serializable, then all sub-types of this type are also serializable. But HTMLDocumentImpl, HTMLFormElementImpl, HTMLTableElementImpl and TableSectionElementImpl (being sub-types of NodeImpl) are in fact not serializable, because they have at least one non-serializable instance variable.

> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org