It seems that your application has no problem accessing the XML file, but while it is processing an element in the XML file it attempts to access some other resource which is not available.
It's difficult to debug your application without seeing it.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference