I love BaseX for the simplicity it brings to XML handling. But this is a problem I have not encountered before.

 

I am creating a DB from about 17,000 small zipfiles, each containing a directory structure and somewhere within each, some XML. BaseX chokes on one of these files giving the error:  “invalid entry size (expected 0 but got 11083 bytes)”.

 

So clearly one or more of the zips is invalid -  but which one(s)?

 

Is there any way that BaseX can echo to me the file that is causing the error? DEBUG is set to TRUE, but I don’t get any morer verbose output. I am using the GUI, and running a BSX script too.

 

Thanks in advance,

C.



Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The Netherlands, Registration No. 33156677, Registered in The Netherlands.