Updated bugzilla with a patch that does the following:
- removed the code that registers the id using the xerces hack
- instead store the id/element pair in WeakHashMap's (ONE per document, also a 
WeakHashMap)
- getElementById looks first in our WeakHashMap table, then looks in uses 
"doc.getElementById(id)"

This should satisfy both requirements:
- get rid of xerces dependency hack for id's that we register.
- still use standard DOM calls to "GET" id's from the document if it is not registered 
by us.

Bugzilla:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26789

-- dims 

--- Scott Cantor <[EMAIL PROTECTED]> wrote:
> I guess the unstated point I'm trying make here is that the best world is
> one in which the standard DOM calls are used in addition to whatever one-off
> solution the libraries decide to implement.
> 
> It should be simple to conditionally call those methods (if they exist) as a
> consequence of the proprietary calls. And enable/disable the proprietary
> schema as a library option.
> 
> -- Scott
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

Reply via email to