> I'm not sure I understand why it is tied to the parser. > You can implement a solution for registering/retrieving > IDs that is not dependent on DOM L3/Xerces, which is what > we did for JSR 105. It is just a simple Map containing > Elements and using the ID attribute value as a key...
Sorry, I meant if you wanted the parser to be aware of them. Obviously you can do it yourself, yes. But there's no way getElementByID or the like will work then (barring some fairly weird hacking), which may or may not cause some people problems depending on the APIs they want to use. -- Scott