[esb-issues] [JBoss JIRA] Commented: (JBESB-590) Smooks processing of detached elements causing warning: Cannot count nodes before XXX has no parent

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Mon Sep 17 14:06:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBESB-590?page=comments#action_12377187 ] 
            
Tom Fennelly commented on JBESB-590:
------------------------------------

The warning is getting printed from debug code that tries to calculate an XPath for an element as Smooks tries to determine whether or not the element needs to have have transforms applied.

It's odd though and I need to look at this more closely (debug commons-logging), but it looks like the implementation of Log.isDebugEnabled() for log4j is returning true even though debug logging for that logger is not on (the actual enclosed Log.debug() isn't outputting a log).

> Smooks processing of detached elements causing warning: Cannot count nodes before XXX has no parent
> ---------------------------------------------------------------------------------------------------
>
>                 Key: JBESB-590
>                 URL: http://jira.jboss.com/jira/browse/JBESB-590
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Transformation Service
>            Reporter: Kevin Conner
>         Assigned To: Tom Fennelly
>             Fix For: 4.2.1 IR1
>
>
> Smooks displays warning messages about its inability to count nodes of a detached element, this can be seen in the XML2POJO QS.
> The reason for the warning is that the element in question has been replaced by previous processing in AbstractTemplateProcessingUnit.processTemplateAction.
> The result of the replacement is that the original element is detached from the document but processing still continues as if it were present.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list