Bug 178740 Missing <a> element in dynamic text when publish to pdf
Steps to show the bug: 1 create a design file 2 add a dynamic text, input <code>Just a <a href="/text.html">Test</a></code> 3 publish it to PDF 4 open the pdf, you will get ONLY <code>Just a</code> Cause: In org.eclipse.birt.report.engine.layout.pdf.util.HTML2Content#handleElement when tagName is "a", only setParent function is called. Actually, the parent attribute of "container" is setted, but the "container" is not in the child list of that parent. So we will miss this ContainerContent. We can see <code>container.setParent(content);//FIXME addChild to replace?</code> there. I think add a sentence <code>addChild(content, container);</code> may solve this bug.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
* Visits the children nodes of the specific node
	 * 
	 * @param visitor
	 *            the ITextNodeVisitor instance
	 * @param ele
	 *            the specific node
	 * @param needEscape
	 *            the flag indicating the content needs escaping
	 */
	private void processNodes( Element ele, boolean needEscape, HashMap cssStyles, IContent content )
	{
		int level=0;
		for ( Node node = ele.getFirstChild( ); node != null; node = node
				.getNextSibling( ) )
		{
			if ( node.getNodeName( ).equals( "value-of" ) ) 
			{
				if ( node.getFirstChild( ) instanceof Element )
				{
					processNodes( (Element) node.getFirstChild( ), checkEscapeSpace( node ), cssStyles, content );
				}
			}
			else if ( node.getNodeName( ).equals( "image" ) ) 
			{
				if ( node.getFirstChild( ) instanceof Element )
				{
					processNodes( (Element) node.getFirstChild( ), needEscape, cssStyles, content);
				}
			}
			else if(node.getNodeType() == Node.TEXT_NODE)