OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: getElementById() doesn't work in Xerces if...

[ Lists Home | Date Index | Thread Index ]
  • From: gupta@enode.com (Gupta)
  • To: xml-dev@xml.org
  • Date: Mon, 12 Jun 2000 18:26:35 -0700

Hi all,

The following message sent to the Xerces-J-dev mailing list failed to elicit
any response.

Since the bug database at http://xml.apache.org/bugs/ is not accessible,
I am hoping somebody here can shed some light on this problem, including the
status of the bug, in case it has been reported previously.



> If I change the document-class-name property of the Xerces DOMParser class,
> then getElementById() stops working even if the replacement document class
> is derived from org.apache.xerces.dom.DocumentImpl.
> This is happening because DOMParser initializes fDocumentImpl to a non-null
> value only if (documentClassName.equals(DEFAULT_DOCUMENT_CLASS_NAME)), and
> the identifier registration code is called from startElement() only if
> fDocumentImpl is not null. The fact that fDocument holds a valid reference
> to the replacement document implementation does not seem to matter.
> Is this a known bug in Xerces 1.1.1?
> Ramesh
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-dev-help@xml.apache.org

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS