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

Reply via email to