This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/27262] New: org.w3c.dom.Element.getElementById returns null after manual (setIdAttribute) identifying of element in Document instance.
- From: "kalle at enrogue dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 22 Apr 2006 19:58:36 -0000
- Subject: [Bug libgcj/27262] New: org.w3c.dom.Element.getElementById returns null after manual (setIdAttribute) identifying of element in Document instance.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Parsing a Document instance from file, setting the "id" attribute of an element
on that instance to some value, and then flagging the "id" attribute for that
element to be the IdAttribute using (Element).setIdAttribute("id", true) does
not seem to work.
Retrieving that very same element via getElementById on the Document instance
will return null, where one would expect the element.
[attaching tarball demonstrating this in a simple java script (67 lines)]
--
Summary: org.w3c.dom.Element.getElementById returns null after
manual (setIdAttribute) identifying of element in
Document instance.
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kalle at enrogue dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27262