default namespace for elements in no namespace

Simon Belanger <[email protected]> Tue, 25 Nov 2003 16:58:00 -0500
Newsgroups gmane.comp.java.enhydra.kxml
Message-ID <[email protected]>
Hi,

I try to parse un xml file which contains elements with default 
namespace = "".

Ex:

<DocumentsList xmlns="">
        <Documents diffgr:id="Documents1" msdata:rowOrder="0" 
diffgr:hasChanges="inserted" storageMode="ModeFilesStorage" 
status="Inbox" msdata:hiddenDocuments_Id="0"/>
</DocumentsList>

I receive the IllegalStateException("Cannot set default namespace for 
elements in no namespace").  The problem is that I don't have any 
control on the xml file, so how can I parse this file?

Thanks,

Simon