Hi All,

On 24 Oct 2007 at 13:22, Dale Newfield wrote:

> DBUnit has the ability to "stream" the execution of certain tasks so 
> that ginormous collections of data should be able to execute w/o running 
> out of memory...
> ...is that what you're looking for?
> 
> Why do you need to split up the files--because they're too big for your 
> file system or because dbunit chokes on them?  If the latter, take a 
> look at the INSERT operation instead of CLEAN_INSERT.  INSERT supports 
> streaming.

In case anyone else thinks of trying this, I tried the <!ENTITY ...> "general 
entities" stuff, as described here:

http://www.ibm.com/developerworks/xml/library/x-tipgentity.html

After I'd set up my <!DOCTYPE  > tag correctly, I had something that Firefox 
would render OK, but without the included data.  IE 6 rendered it correctly 
with the included data (but displayed part of the <!DOCTYPE ..> tag as well.

Unfortunately when I tried it with maven/dbunit, the xml parser there barfed - 
"org.xml.sax.SAXParseException - the content of elements must consist of 
well formed character data or markup".

Now I don't believe there's a problem with my included file and I'm not sure if 
the error message is referring to the contents of the file itself, or the 
filename 
I put in my <!ENTITY tag, but unfortunately I don't have the time to 
investigate further.

Cheers,
Rob Hills
Waikiki, Western Australia
Mobile +61 (412) 904-357
Fax: +61 (8) 9529-2137

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

Reply via email to