You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Carlin Rogers (JIRA)" <be...@incubator.apache.org> on 2005/05/11 23:33:09 UTC

[jira] Commented: (BEEHIVE-498) netui trees with runAtClient=true are not HTML / XHTML compliant

     [ http://issues.apache.org/jira/browse/BEEHIVE-498?page=comments#action_65073 ]
     
Carlin Rogers commented on BEEHIVE-498:
---------------------------------------

Note that documents with the namespace, xmlns:netui, in the root 
html element will validate by adding new attributes to existing 
elements of the XHTML DTD. You can define them as an internal 
subset in the DOCTYPE declaration of the document. So something 
like...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
[
  <!ATTLIST html
    xmlns:netui CDATA #FIXED "http://beehive.apache.org/netui/tags"
  >
  <!ATTLIST div netui:treename CDATA #IMPLIED>
  <!ATTLIST div netui:treeanchor CDATA #IMPLIED>
  <!ATTLIST div netui:treelevel CDATA #IMPLIED>
  ...
]
> 

This makes the document validate but there's one major problem.
The IE browser displays a leading "] >" at the top of the 
document. 

> netui trees with runAtClient=true  are not HTML / XHTML compliant
> -----------------------------------------------------------------
>
>          Key: BEEHIVE-498
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-498
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Krista Baker
>     Assignee: Carlin Rogers
>      Fix For: TBD
>  Attachments: Controller.jpf, HTML_TreeCreationDeepTagRunClient_1.html.txt, j498rollback.txt, myReallyDeepTree.jsp
>
> Netui trees with runAtClient=true  are not HTML 4 loose or XHTML 1 transitional compliant.  A namespace declaration needs to be added at the top to resolve the unknown attributes.
> The following errors are recieved when the generated HTML from a runAtClient tree is run through an html/xhtml validator:  there is no attribute: NETUI:TREENAME, NETUI:TREELEVEL, NETUI:IMAGECOLLAPSE, NETUI:TREEANCHOR, NETUI:TREEANCHORINIT, NETUI:TREEID, NETUI:EXPANDLAST, NETUI:IMAGEEXPAND

-- 
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