Hi everybody,

I've installed the latest (stable) version of Xerces, i.e. libxerces-x.so.27. 
My OS is Ubuntu Linux 6.06LTS. I've built from sources and installation seems 
to be fine. I have two questions:

1.) Xerces causes a runtime exception when executed on very large XML files 
(5GB):

Fatal Error at file , line 0, char 0
  Message: An exception occurred! Type:RuntimeException, Message:The primary 
document entity could not be opened. 
Id=/home/michael/research/cvs/cwprojection/experiments/xquery_xmark/xml/auction5000.xml

I had similar problems when using a self-written XML parser, but easily fixed 
the problem by using fopen64() instead of fopen() to open the input document. 
Is there any compile time option I can use to support these large files? Or 
does anybody know how to fix this problem? I did not yet try to change xerces 
source code...

2.) Xerces by default uses the "-O" compile time option to generate the 
librarises. Is there any benefit when using "-O3" instead?

Help would be appreciated
Michael
_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222

Reply via email to