From: Patrick on 7 Jan 2010 09:15 Hi everybody, I need to read xml files into Matlab. When calling the function xmlread i get the following error message: ??? Java exception occurred: ice.net.URLNotFoundException: Document not found on server at ice.net.HttpURLConnection.getInputStream(OEAB) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180) Error in ==> xmlread at 98 parseResult = p.parse(fileName); I do not understand enough of Java to decipher the Java error message and its implications on my Matlab code. While debugging, I brought the code back to the following line: xmlread(filename); I am running Matlab R2008a on a Mac with OS 10.6.2 (Snow Leopard). I would appreciate any help on that! Thanks in advance. Regards, Patrick
From: Yair Altman on 7 Jan 2010 15:21 > When calling the function xmlread i get the following error message: > > ??? Java exception occurred: > ice.net.URLNotFoundException: Document not found on server [snip] > Error in ==> xmlread at 98 > parseResult = p.parse(fileName); > > I do not understand enough of Java to decipher the Java error message and its implications on my Matlab code. > > While debugging, I brought the code back to the following line: > xmlread(filename); This is not a problem with understanding Java but a problem of understanding English. Let's look at the top line of the error message again: "Document not found on server" - what's not to understand here??? how do you expect to read a document that does not exist? Yair Altman http://UndocumentedMatlab.com
|
Pages: 1 Prev: Solver Configuration Error in my SIMSCAPE model Next: uigetfile default directory |