You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Weilkiens,Tim" <we...@draeger.com> on 2000/07/27 18:16:07 UTC

Problem with getDocumentElement()

Hi,

I use getDocumentElement() to retrieve the root element. I call this method
at the document object retrieved from the parser.

The problem is that the getDocumentElement() returns an invalid object (NULL
reference).
Did I miss a function call?

Thanks in advance,

   Tim


----------------------------------------------------------------------------
-------
Tim Weilkiens, Dipl.-Inform.
Draeger Medizintechnik GmbH
Business Unit mt-a-euk-i (Kst. 5550)
Moislinger Allee 53-55; 23542 Luebeck 
Phone: +49 (451) 882-4699 | Fax: +49 (451) 882-74699
E-Mail: mailto:tim.weilkiens@draeger.com 
----------------------------------------------------------------------------
-------


Re: Problem with getDocumentElement()

Posted by Arundhati Bhowmick <ar...@hyperreal.org>.
It works fine on many of the tests that available ( <xerces/tests directory ).
Not sure what's your usage.

Arundhati

"Weilkiens,Tim" wrote:

> Hi,
>
> I use getDocumentElement() to retrieve the root element. I call this method
> at the document object retrieved from the parser.
>
> The problem is that the getDocumentElement() returns an invalid object (NULL
> reference).
> Did I miss a function call?
>
> Thanks in advance,
>
>    Tim
>
> ----------------------------------------------------------------------------
> -------
> Tim Weilkiens, Dipl.-Inform.
> Draeger Medizintechnik GmbH
> Business Unit mt-a-euk-i (Kst. 5550)
> Moislinger Allee 53-55; 23542 Luebeck
> Phone: +49 (451) 882-4699 | Fax: +49 (451) 882-74699
> E-Mail: mailto:tim.weilkiens@draeger.com
> ----------------------------------------------------------------------------
> -------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

--


Arundhati Bhowmick
IBM -- XML Technology Group (Silicon Valley)