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/06/06 23:33:41 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_12312793 ] 

Carlin Rogers commented on BEEHIVE-498:
---------------------------------------

Do we have an XML expert out there that can help me on this bug?

I've been looking at this issue some more and have been unable to find a 
way to extend XHTML such that the documents output from NetUI 
- with the extra attrs (whether namespaced or not) we add
- validate
- and work / display correctly in browsers
- without creating a custom DTD (is this a requirement?)

The documents I've found indicate that having a custom DTD that extends
XHTML and defines the new attributes will render correctly in browsers
using "Standards compliance mode."  This solves the problem of the leading
"] >" being displayed in the page when using an internal subset (described 
earlier in this bug), but requires that validation of the document use the 
custom DTD. I don't think that a custom DTD is desired for NetUI, correct?

One different approach suggested to me was to use JavaScript  to add the
attributes to the elements rather than add them directly. Maybe based on the 
tag ID the additional attributes could be added. The JavaScript could be run
on page load. The document would then validate as it would not contain these
additional attributes for NetUI.  

I've asked a few other folks about this issue as well but have no real solution.
I'm really feeling stuck here... so I'm hoping someone else may have an idea
for this one. I will also post a question to xml-dev@lists.xml.org and see if I can 
get other ideas.

Thoughts?

> 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