From: Alan K. <jyt...@xh...> - 2011-10-20 20:54:00
|
[J.] > Eclipse Debugger Output: > TSS_EDA_input.setCharacterStream("/home/jmarcedwards/EclipseIndigo_workspace/XMLExamples/TSS_EDA_Apps_Schema.xml") > TypeError: setCharacterStream(): 1st arg can't be coerced to java.io.Reader This is telling you that the 1st arg is expected to be a subclass of java.io.Reader. Try this TSS_EDA_input.setCharacterStream(FileReader("/home/jmarcedwards/EclipseIndigo_workspace/XMLExamples/TSS_EDA_Apps_Schema.xml")) Of course, you will have to import the class from java.io import FileReader http://download.oracle.com/javase/1.5.0/docs/api/java/io/FileReader.html Alan. |