|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: getElementById() doesn't work in Xerces if...
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. Thanks, Ramesh > 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@x... > For additional commands, e-mail: xerces-j-dev-help@x... > *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








