I'm curious...
If Xerces is keeping an internal Map of "identifiers" (in CoreDocumentImpl), why does HTMLDocumentImpl need to override getElementById(String) and recurse through the document looking for an element with an "id" attribute with the value provided? Why not just look it up from the "identifiers" map? Seems to me that would be much more efficient. Is it because the "identifiers" map doesn't get populated for HTMLDocumentImpl objects? If not, why not? getElementById(String) is such a commonly used method that it would make sense to implement it as efficiently as possible, don't you think?
Jake --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
