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 bu...@apache.org on 2003/05/21 09:06:38 UTC
DO NOT REPLY [Bug 20097] New: -
HTML DOM attribute 'selected' can't be set on option-elements
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20097>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20097
HTML DOM attribute 'selected' can't be set on option-elements
Summary: HTML DOM attribute 'selected' can't be set on option-
elements
Product: Xerces2-J
Version: 2.4.0
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: DOM
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: arno_schatz@yahoo.com
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).
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org