You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2005/10/24 05:51:03 UTC

[jira] Updated: (XERCESJ-730) HTML DOM attribute 'selected' can't be set on option-elements

     [ http://issues.apache.org/jira/browse/XERCESJ-730?page=all ]

Michael Glavassevich updated XERCESJ-730:
-----------------------------------------

    Bugzilla Id:   (was: 20097)
      Component: DOM (HTML)
                     (was: DOM (XML))
    Description: 
Since Xerces reverted to the original HTML DOM Level 1 API, the 'setSelected'
method is no longer available in the API. According to the spec the
'setDefaultSelected' should be used as server side API to set the
'selected'-Attribute on the Option-elements. However, the method-call
'setDeaultSelected(true)' will only result in the attribute 'default-selected'
to be set. This attribute is not valid according to the HTML 4.01 DTDs.
(I will send a patch later).

  was:
Since Xerces reverted to the original HTML DOM Level 1 API, the 'setSelected'
method is no longer available in the API. According to the spec the
'setDefaultSelected' should be used as server side API to set the
'selected'-Attribute on the Option-elements. However, the method-call
'setDeaultSelected(true)' will only result in the attribute 'default-selected'
to be set. This attribute is not valid according to the HTML 4.01 DTDs.
(I will send a patch later).

    Environment: 
Operating System: All
Platform: All

  was:
Operating System: All
Platform: All

      Assign To:     (was: Xerces-J Developers Mailing List)
       Priority: Minor

> HTML DOM  attribute 'selected' can't be set on option-elements
> --------------------------------------------------------------
>
>          Key: XERCESJ-730
>          URL: http://issues.apache.org/jira/browse/XERCESJ-730
>      Project: Xerces2-J
>         Type: Bug
>   Components: DOM (HTML)
>     Versions: 2.4.0
>  Environment: Operating System: All
> Platform: All
>     Reporter: Arno Schatz
>     Priority: Minor
>  Attachments: patch20097.txt
>
> Since Xerces reverted to the original HTML DOM Level 1 API, the 'setSelected'
> method is no longer available in the API. According to the spec the
> 'setDefaultSelected' should be used as server side API to set the
> 'selected'-Attribute on the Option-elements. However, the method-call
> 'setDeaultSelected(true)' will only result in the attribute 'default-selected'
> to be set. This attribute is not valid according to the HTML 4.01 DTDs.
> (I will send a patch later).

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


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org