parse fails on doc xmlbeans just saved

2010-08-30 Thread Tim Watts
I'm having trouble figuring out why xmlbeans fails to parse the xml doc it just saved. It's a fairly simple setup: create a doc; save it; read it back. Can anyone see what I'm doing wrong? I'm using version 2.5.0 running under sun java 6 on Linux. (BTW, it fails the same way whether or not I use

RE: parse fails on doc xmlbeans just saved

2010-08-30 Thread Duane Zamrok
You're attempting to parse junk.xml not new File(junk.xml). That is, you're attempting to parse the file name and not the file. -Duane -Original Message- From: Tim Watts [mailto:t...@cliftonfarm.org] Sent: Monday, August 30, 2010 7:31 AM To: user@xmlbeans.apache.org Subject: parse fails

RE: parse fails on doc xmlbeans just saved

2010-08-30 Thread Tim Watts
Ha! Yep, that fixed it. Thanks. On Mon, 2010-08-30 at 09:51 -0400, Duane Zamrok wrote: You're attempting to parse junk.xml not new File(junk.xml). That is, you're attempting to parse the file name and not the file. -Duane -Original Message- From: Tim Watts