|
Re: w3c html dom versioning oddities: msg#00021java.enhydra.xmlc
Hi Jake, (first question already answered by Michael.) Jacob Kjome wrote: A further question. Since Xerces2 seems to be doing the "correct" thing in distributing only the original html dom level1 standard interfaces rather than the level2, it seems that consumers of the interfaces ought to fall into line with the original standard, if possible. To that end, what is the appropriate change to make to the following code... You are using a serverside API. The 'setSelected'-method really makes only sense on the client (that mean in the browser). The 'setDefaultSelected' method is what you should use. That what I got out from reading the spec. That being said, I know, that the 'setDefaultSelected' is not fully implemented in the Xerces HTML DOM Implementation (that's what the comments in the source code say.) I have tested it with xmlc and plain Xerces yesterday and it did not behave correctly. I think this is a bug, which just hasn't been detected, since people just used 'setSelected'. I will file a bug-report with a patch.
This is of course a good workaround, since it is the code being executed internally anyway.
I patched setDefaultSelected, if you are interested, I can send you the patch. -Arno
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: w3c html dom versioning oddities, Jacob Kjome |
|---|---|
| Next by Date: | Re: w3c html dom versioning oddities, Michael Rafael Glavassevich |
| Previous by Thread: | Re: w3c html dom versioning oddities, Jacob Kjome |
| Next by Thread: | Re: w3c html dom versioning oddities, Jacob Kjome |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |