Re: Parsing from input stream

2007-11-13 Thread Balakumar Narayanasamy
ctory.parse(Unknown >> > Source) >> > at >> > >> com.itt.ems.seed.messages.util.converters.TestDDSConvertAction.testDDSConverter >> > (TestDDSConvertAction.java:42) >> > at >

Re: Parsing from input stream

2007-11-12 Thread Jacob Danner
gt; TestDDSConvertAction.java:25) > > Caused by: org.apache.xmlbeans.impl.piccolo.io.IllegalCharException: > > Illegal > > XML character: 0x0 > > at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError( > > Piccolo.java:1038) > > at > > org

Re: Parsing from input stream

2007-11-11 Thread Balakumar Narayanasamy
olo.reportFatalError( > Piccolo.java:1038) > at > org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:717) > at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java > :3435) > ... 6 more > > > When i try to read from file directly it works. > > Any ideas ? > -- > The human knowledge belongs to the world. > > -- View this message in context: http://www.nabble.com/Parsing-from-input-stream-tf2952430.html#a13701164 Sent from the Xml Beans - User mailing list archive at Nabble.com.

Parsing from input stream

2007-01-10 Thread Miroslav Genov
Hi everyone I have problem with parsing from memory input stream. This is my code: File f = new File("c:\\msg.xml"); byte b[] = new byte[(int) (f.length() + 1)]; FileInputStream fin = new FileInputStream(f); fin.read(b,0,b.length); ByteArrayInputStream sid = new ByteArrayInputStream(b); When i in