[#] CS128 [Section] 9.2 [Statement text] 
As the Portlet writes URLs into the markup it MUST encode them based on the markupType. For example, XML based markup requires that all "&" characters have to be encoded as "&".