My application uses DOM-Parsing of XML documents and validates the xml documents via a xsd file. This works on my Development and test machines (Win XP/OSX 10.6) and on most pcs (homogenous XP business pcs) it was deployed to. Now one pc throws a SAXParseException(failed to read schema document). I've verified that the expected file is in the expected location. Please see below for an extract of the code in question and the stack trace. I'm not able to reproduce this behaviour on my machines. Any tips on debugging this or possible root causes appreciated.
1. Make it run - 2. Make it run correctly - 3. Make it pretty OR fast/small - 4. ??? - 5. Profit
Have you checked whether the OS user that is executing the code on that machine has permission to read the file ?
Stephan Mueller
Ranch Hand
Joined: May 05, 2010
Posts: 50
posted
0
No, I'll have to do this. But honestly, I can't imagine how this would be possible. All machines to which this application was deployed are business-machines in the same company with a homogenous-setup - this also applies to the user setup.