On Mon, 3 Nov 2003, Andy Clark wrote: > You mean instead of implementing the XMLDTDHandler to > get that information?
SAXParser and DOMParser already implement XMLDTDHandler. You could conceivably figure out if an attribute was declared by tracking all the attributeDecl events in some structure. It doesn't seem like building such a thing and querying it for each attribute would perform as well as attaching this information to each attribute. Also, when the user is caching grammars it doesn't look like this approach would work, because I don't believe we generate any DTD events. --------------------------- Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
