DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16917>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16917

printable_docs does not work

           Summary: printable_docs does not work
           Product: JMeter
           Version: 1.8.1
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


A build of printable-docs does not work properly - the output HTML files are 
mostly empty. [Build docs is OK]

This is because site_printable.vsl uses an obsolete (and now deleted) JDOM 
method, viz. getMixedContent(). The method in JDOM-b8 is called getContent().

Here is the code from site_printable.vsl:

        #foreach ($node in $itemToLoop.getMixedContent())
                #if($node.getClass().getName().indexOf("Element") > -1)
                        #unknown($node)
                #else
                        $node
                #end

And the same code from site.vsl:

        #foreach ($rl_node in $itemToLoop.getContent())
                #if($rl_node.getClass().getName().indexOf("Element") > -1)
                        #unknown($rl_node)
                #else
                        $rl_node.getText()
                #end

Another problem with the site_printable.vsl file is evident above: the #else 
statement should be $node.getText(), not just $node (which sort of works, but 
outputs the node type as well as the content).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to