Re: One more Xerces dependency

2004-02-08 Thread Berin Lautenbach
Dims, One of our dirty little secrets :. Unfortunately the DOM API (regardless of level) has no way of registering that an attribute is of Type ID (except during parse with a DTD or schema). Level 2 and above have ways of finding (getElementById) and checking (isId), but no way of setting,

Re: One more Xerces dependency

2004-02-08 Thread Davanum Srinivas
that's exactly what they do in Xerces as well :) http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/src/org/apache/xerces/dom/CoreDocumentImpl.java?annotate=1.62 -- dims --- Berin Lautenbach [EMAIL PROTECTED] wrote: Dims, One of our dirty little secrets :. Unfortunately the DOM API

RE: One more Xerces dependency

2004-02-08 Thread Scott Cantor
Unfortunately the DOM API (regardless of level) has no way of registering that an attribute is of Type ID (except during parse with a DTD or schema). Level 2 and above have ways of finding (getElementById) and checking (isId), but no way of setting, other than at parse time. DOM3 does.