URLs in response from XmlHttpRequestServlet for XHTML doc contain '&' char
--------------------------------------------------------------------------

         Key: BEEHIVE-609
         URL: http://issues.apache.org/jira/browse/BEEHIVE-609
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1Beta    
    Reporter: Carlin Rogers
 Assigned to: Carlin Rogers 
     Fix For: TBD


When creating a tree (except runAtClient trees), the expansion and selection 
actions are generated as anchor hrefs which include the parameter of 
netui_treeid=tree.  These generated URLs do not encode the & symbol into & 
when the document type is set to html4-loose, causing the following error when 
the html is run through an html validator:  general entity "netui_treeid" not 
defined and no default entity.

The generated XHTML when the document type is set to xhtml1-transitional is 
correctly encoded as &

Example incorrect href:
<a href="/basicPFTree/select.do?netui_treenode=0&netui_treeid=tree1">

Example valid html href:
<a href="/basicPFTree/select.do?netui_treenode=0&amp;netui_treeid=tree1">

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

Reply via email to