Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

DO NOT REPLY [Bug 27454] - Traversing the DOM throws NullPointerExcept: msg#00080

text.xml.xerces-j.devel

Subject: DO NOT REPLY [Bug 27454] - Traversing the DOM throws NullPointerException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27454>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27454

Traversing the DOM throws NullPointerException





------- Additional Comments From mrglavas@xxxxxxxxxx 2004-03-19 19:10 -------
We clearly state in our documentation that Xerces' DOM implementation is not
thread-safe [1]. The DOM specification doesn't require that implementations be
thread-safe and indeed some of the ones out there are not, including the ones
in Xerces.

Even if the Xerces' DOM implementations were thread-safe, code written to the
DOM interfaces is supposed to be interoperable, meaning users should be able to
swap between DOM compliant parsers which may also not have a thread-safe DOM
implementation. So as long as you've coded to what the DOM spec says and not
assume things like thread-safety and that instanceof checks on nodes are
equivalent to calling getNodeType() you should be seeing the same behaviour
from any compliant parser.

It's up to the application to synchronize it's access to an instance of the DOM
even if it's only reading it.

[1] http://xml.apache.org/xerces2-j/faq-dom.html#faq-1


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation