[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wss4j-dev
Subject:    [jira] [Updated] (AXIOM-360) OMNodeImpl fails to properly set
From:       "Andreas Veithen (JIRA)" <jira () apache ! org>
Date:       2011-06-23 21:38:47
Message-ID: 2036755601.34678.1308865127492.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/AXIOM-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Andreas Veithen updated AXIOM-360:
----------------------------------

    Fix Version/s: 1.2.12
         Assignee: Andreas Veithen

> OMNodeImpl fails to properly set parent for insertSiblingBefore
> ---------------------------------------------------------------
> 
> Key: AXIOM-360
> URL: https://issues.apache.org/jira/browse/AXIOM-360
> Project: Axiom
> Issue Type: Bug
> Components: LLOM
> Affects Versions: 1.2.11
> Reporter: Eric Johnson
> Assignee: Andreas Veithen
> Fix For: 1.2.12
> 
> 
> When attempting to use Axiom with the \
> https://code.google.com/a/apache-extras.org/p/santuario-genxdm/, I noticed a test \
> case that failed after trying to encrypt, then decrypt XML in the same document. \
> Turns out it was failing because the parent OMContainer was not being set properly \
> on the child in OMNodeImpl.insertSiblingBefore(). If you look at \
> OMNodeImpl.insertSiblingAfter(), it has a line: ((OMNodeEx) \
> sibling).setParent(parent); However, insertSiblingBefore() sets the parent \
> differently, and misses the case where there is no previous sibling. I marked this \
> as a major bug, because the only way I see to work around the issue is to write to \
> the OMNodeEx interface, an internal implementation detail.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic