"J. J. Merelo" wrote:
> 
> Hi,
>         In this code:
>  DOM_NodeList list =  grand.getChildNodes(); // works
>  DOM_Node param = grand.getFirstChild();     // coredumps with
> segmentation violation
> 
> How come I get the child nodes as a list without a problem, but not get
> the first child? How can I test if the FirstChild is available or not?

What version of Xerces-C? What platform? Surely getFirstChild() is used
somewhere in the examples. Have you called
XMLPlatformUtils::Initialize()?

-- 
Murray Cumming
www.murrayc.com
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to