[ 
https://issues.apache.org/jira/browse/XERCESJ-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790045#action_12790045
 ] 

Johannes Koch commented on XERCESJ-1402:
----------------------------------------

Oh yes, I didn't notice this. However, then I quote DOM Level 1 HTML 
(<http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html#ID-40002357>):

elements of type HTMLCollection, readonly
    Returns a collection of all control elements in the form.

Does this make fieldset and label elements control elements in a form?

> HTMLCollectionImpl does not contain enough elements 
> ----------------------------------------------------
>
>                 Key: XERCESJ-1402
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1402
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: DOM (HTML)
>    Affects Versions: 2.9.1
>            Reporter: Johannes Koch
>         Attachments: HTMLCollectionImplTest.java
>
>
> An org.apache.html.dom.HTMLCollectionImpl for a FORM element's form controls 
> does not contain all form controls because the recursion stops at an element 
> found to be a form control. So form controls within a FIELDSET element are 
> not found.
> <FIELDSET>
>   <LABEL ...></LABEL> <INPUT ...>
> </FIELDSET>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to