You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2003/02/09 19:47:17 UTC

DO NOT REPLY [Bug 16917] New: - printable_docs does not work

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: jmeter-dev@jakarta.apache.org
        ReportedBy: jkb@stian.freeserve.co.uk


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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org