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...
--Sean
Scott Cantor wrote:
Back to square one :) Since we can't really wait for or depend on a specific Xerces version, we
should fix the problem on our end.
Well, that would be nice, but I don't see how. There's no parser-independent portable way to set ID attributes during document creation except for DOM3 which is only supported in recent versions of Xerces, and perhaps a few other parsers.
If you're thinking this is fundamentally broken with respect to XML in general, you'd be right, but that's another discussion.
-- Scott
