version 2.5.0 not in maven repo?

2010-08-28 Thread Tim Watts
Hello, Looks like version 2.5.0 is not in the maven repo (http://repo2.maven.org/maven2/org/apache/maven/ ). Any chance of it getting published there? Also, the dependencies in 2.4.0 look suspiciously incorrect. Is that a build-time or runtime dependency? For 2.5.0 I don't have stax and it seems

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 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 [mailto:t

Re: Fast Infoset

2010-09-12 Thread Tim Watts
For serializing, looks like you could use a SAX approach with the XmlBean's save(ContentHandler,LexicalHandler) method: OutputStream out = ... SAXDocumentSerializer saxOut = new SAXDocumentSerializer(); saxOut.setOutputStream(out); myXmlBeanDocument.save(saxOut,

RE: Error compiling schema

2010-09-24 Thread Tim Watts
Intermittent errors usually lead me to suspect a threading issue -- either in your code or XmlBeans. Is the marshaling in your code being handled in another thread? Or perhaps there are multiple threads doing the export work from the database? Can anyone on the list assert how thread-safe the

Re: While parsing with xmlBeans, sub branch is coming null

2010-11-08 Thread Tim Watts
I could be wrong, but the odd thing I noticed was that the .xsd doesn't have a targetNamespace attr. I don't think simply declaring a namespace in the .xsd makes it part of the xml schema being defined. But maybe I'm misunderstanding your intent. It looks like you're trying to define a schema that

Re: While parsing with xmlBeans, sub branch is coming null

2010-11-09 Thread Tim Watts
Tim Watts-3 wrote: I could be wrong, but the odd thing I noticed was that the .xsd doesn't have a targetNamespace attr. I don't think simply declaring a namespace in the .xsd makes it part of the xml schema being defined. But maybe I'm misunderstanding your intent. It looks like you're

Re: using xmlbeans on client side (in conjunction with axis2); null returns although data is available

2012-11-26 Thread Tim Watts
On Mon, 2012-11-26 at 08:37 +0100, moh.sushi wrote: Hello together, i have a problem with using xmlbeans. Following situation is given. - remote wsdl available (see http://pastebin.com/5qnFScMx) - code generation using axis2 and databinding xmlbeans i can do a request and i get a

Re: using xmlbeans on client side (in conjunction with axis2); null returns although data is available

2012-11-26 Thread Tim Watts
be sufficient. Also, maybe consider using the latest version of XmlBeans if possible. I've been using v2.5.0 so I may be talking apples to your oranges. Regards, Sascha On Mon, Nov 26, 2012 at 12:09 PM, Tim Watts t...@cliftonfarm.org wrote: On Mon, 2012-11-26 at 08:37 +0100, moh.sushi