Re: [dom4j-dev] Problem with DOMDocument.getDocumentElement

2004-02-27 Thread Maarten Coene
Hi Henner, I've committed your fix to CVS. Please use the patches tracker on sourceforge next time to avoid that your patches could get lost. You can submit new patches here: http://sourceforge.net/tracker/?group_id=16035&atid=316035 thanks Maarten Henner Kollmann wrote: Hi all, Another problem

[dom4j-dev] Problem with DOMDocument.getDocumentElement

2004-02-24 Thread Henner Kollmann
Hi all, Another problem with DOM support: The method getDocumentElement will generate an exception if the DOMDocument has no root element. It should return null in this case. Looking into the DOMNodeHelper class shows that if ( (element instanceof org.w3c.dom.Element) ) { r