-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : InvalidRead
issued by : G4GDMLRead::Read()
ERROR - Empty document or unable to validate schema!
Check Internet connection is ON in case of schema
validation enabled and location defined as URL in
the GDML file - …/box-and-ccd.gdml - being imported!
Otherwise, verify GDML schema server is reachable!
*** Fatal Exception *** core dump ***
**** Track information is not available at this moment
**** Step information is not available at this moment
I haven’t changed anything since the last time I worked on the simulation a few weeks ago, and things worked fine then. I changed the URL with the path to the gdml.xsd file in the Geant source code. This allows the simulation to run, but gives validation errors for every line in the GDML file. Any ideas how to fix this?
Which platform is this on, and which version/install options of Xerces-C are you building with? The server has migrated to SSL only recently, and we have seen some issues on Windows platforms - @gunter and @gcosmo can provide more details here.
Hello,
the web server is not down, it currently redirects http requests to use https. The library to read GDML files, XercesC, depending on OS and build options may not be able to to read a file via https.
As workaround, download the schema file http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd
using a web browser and save this file. Then, as written above by Zhiyhep, replace the url in your gdml file by a url pointing to your local file.