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 2009/09/21 18:05:16 UTC

[jira] Commented: (XERCESJ-1393) LSSerializerFilter invoked twice for each Element (start and end)

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

Michael Glavassevich commented on XERCESJ-1393:
-----------------------------------------------

DOM Level 3 serialization support in Xerces is provided by the Xalan serializer. I've confirmed that this is a problem with serializer.jar, however this needs to be addressed in Xalan. The problem can be worked around by removing serializer.jar from the classpath which will cause a fall back to Xerces' deprecated serializer (that seems to have the correct behaviour).

> LSSerializerFilter invoked twice for each Element (start and end)
> -----------------------------------------------------------------
>
>                 Key: XERCESJ-1393
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1393
>             Project: Xerces2-J
>          Issue Type: Bug
>    Affects Versions: 2.7.1
>            Reporter: Steve Jones
>         Attachments: SerializerTest.java
>
>
> When using an LSSerializerFilter the "acceptNode" method is called twice for each element, once for the start of the element and once for the end.
> There should be one call to "acceptNode" for each element.

-- 
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