[jboss-jira] [JBoss JIRA] Closed: (JBXB-192) Incorrect particle is logged when trace is enabled
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Mon Mar 9 11:40:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBXB-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky closed JBXB-192.
----------------------------------
Resolution: Done
This may also result in an exception when popping an exhausted cursor over unordered sequence.
Done.
> Incorrect particle is logged when trace is enabled
> --------------------------------------------------
>
> Key: JBXB-192
> URL: https://jira.jboss.org/jira/browse/JBXB-192
> Project: JBoss XML Binding (JBossXB)
> Issue Type: Bug
> Affects Versions: JBossXB-2.0.1.Beta2
> Reporter: Alexey Loubyansky
> Assignee: Alexey Loubyansky
> Fix For: JBossXB-2.0.1.Beta3
>
>
> In SundayContentHandler in the pop() method it should be cursor.getParticle() instead of cursor.getCurrentParticle().
> private StackItem pop()
> {
> StackItem item = stack.pop();
> if(trace)
> {
> if(item.cursor == null)
> log.trace("poped " + ((ElementBinding)item.particle.getTerm()).getQName() + "=" + item.particle);
> else
> log.trace("poped " + item.cursor.getCurrentParticle().getTerm());
> }
> return item;
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list