Re: XmlBeans - Maven2

2008-03-11 Thread David Jencks
code. thanks david jencks Thanks, P.Sathish kumar On 3/10/08, David Jencks <[EMAIL PROTECTED]> wrote: I don't understand. If you use the xmlbeans plugin in an existing project the generated classes get compiled and included in the project's jar If you have a separate project th

Re: XmlBeans - Maven2

2008-03-10 Thread David Jencks
endency in other projects. What's the problem? thanks david jencks On Mar 10, 2008, at 4:24 AM, P.Sathish Kumar wrote: Hi Friends, I am using the xmlbean-maven-plugin to generate the jar file by compiling xsds. I want to include this created jar file to the dependencies of my pr

Re: Help - Maven2 with XMLBean Integration

2008-03-07 Thread David Jencks
That's the maven 1 xmlbeans 2 plugin. The maven 2 xmlbeans 2 plugin is at codehaus. Docs are: http://mojo.codehaus.org/xmlbeans-maven-plugin/ thanks david jencks On Mar 6, 2008, at 9:27 PM, Jacob Danner wrote: This is documented in the src. You can access it online at:

Re: Help with integrating maven2 plugin and apache

2008-02-10 Thread David Jencks
are having. thanks david jencks On Feb 10, 2008, at 6:21 PM, Todd Nine wrote: Bump, I've been struggling with this for 2 days. Note that my title is incorrect, is should say integrating maven 2 plugin and Eclipse. I've tried downgrading xmlbeans.xbean from 2.2.0 to 2.1.0, whic

Re: Help with running in eclipse

2008-02-08 Thread David Jencks
t you have now? It's not too easy to tell but it looks to me that mvn idea:idea generates something similar to what you have, so I'm a bit mystified. thanks david jencks On Feb 7, 2008, at 2:54 PM, Todd Nine wrote: Hi all, I'm trying to run my JUnit tests in Eclipse, and I

Re: using inheritance in Xmlbeans

2007-10-25 Thread David Jencks
tantiating" the subtypes have to be in a substitution group for the element "instantiating" the base type. I don't know if this will be sufficient to get the output you want but I suspect it is necessary. maybe this is relevant and might help :-) david jencks On Oct 25,

Re: Getting concrete object from Any

2007-06-20 Thread David Jencks
emas are compiled at once. hope this helps david jencks On Jun 20, 2007, at 5:39 AM, Desmond Whewell (CV/ETL) wrote: Sorry about Yet-Another-Any question, but this is my first expedition in Xmlbeans and I have seached the documentation and Javadocs and I'm still banging my head again

Re: xs:any problem with WS-Enumerations

2007-04-08 Thread David Jencks
this helps david jencks On Apr 4, 2007, at 6:19 PM, Vinh Nguyen ((vinguye2)) wrote: Hi all, There is a problem with the way XmlBeans handles certain definitions in the WS-Enumeration-2004_09.xsd. For example, the xsd contains this element: maxOccurs="unbounded"/>

Re: the difference between xmlbeans and xbean?

2006-07-03 Thread David Jencks
oping it will become our future kernel. thanks david jencks -- View this message in context: http://www.nabble.com/the-difference- between-xmlbeans-and-xbean--tf1882782.html#a5146785 Sent from the Xml Beans - User forum at

Re: Maven2 plugin?

2005-11-22 Thread David Jencks
turity of the maven 2 plugin, but intend to look at it when geronimo moves to maven 2. thanks david jencks On Nov 22, 2005, at 1:47 PM, Nathan Sowatskey wrote: Oddly enough, no, and I added a Jira issue for that. The schemaDirectory configuration was being ignored. Regards Nathan N

Re: where is xmlbeans-jsr173-api

2005-11-16 Thread David Jencks
We are using stax/jars/stax-api-1.0.jar M1 or M2? thanks david jencks On Nov 16, 2005, at 5:59 AM, Mark Hansen wrote: I was using maven and had a dependency on xmlbeans-jsr173-api.jar. It seems to be gone from ibiblio. What should I use instead? -- Mark

Re: Set vs Add methods

2005-10-17 Thread David Jencks
convenient. thanks david jencks On Oct 17, 2005, at 4:21 PM, rabidgremlin wrote: Hi All, I have a curious problem. I am porting some existing code that uses another XML binding tool. This code uses uses "set" methods to associate different objects together. The port was thus pret

Re: Serialization (again)

2005-10-12 Thread David Jencks
retain references to the non-serializable xmlbeans DOM nodes. Is this expected to work? thanks david jencks - the DOM implementation is currently not serializable, I don't really know what the reason for that is. Radu -Original Message- From: Jason Vasquez [mailto:[EMAIL PROTECTED]

Re: Re-Generating schema from the generated code

2005-10-05 Thread David Jencks
schema from the schema type objects, but this is going to be a research project whereas saving your DOM node as text is going to be pretty easy to do. thanks david jencks On Oct 5, 2005, at 9:40 PM, Eran Chinthaka wrote: Radu, The problem is I don't have the xsd and my requirement

Re: Re-Generating schema from the generated code

2005-10-04 Thread David Jencks
with no path of the original schema? If so, what happens when you compile 2 schemas with the same file name but different namespaces into the same jar (e.g. they were located in different directories). Thanks david jencks On Oct 4, 2005, at 10:36 AM, Cezar Andrei wrote: Scomp saves the ori

Re: Parsing Document Fragments with StAX

2005-09-16 Thread David Jencks
paces.next(); cursor.insertNamespace((String) entry.getKey(), (String) entry.getValue()); } } finally { cursor.dispose(); } return parsed; } Hope this helps, david jencks On Sep 16, 2005, at 12:51 PM, Dan Diephouse wrote: We're having an issue us

Re: References to subnodes / changes not in parent | Part 2

2005-08-08 Thread David Jencks
object's factory: the add methods create a new subelement that is already a child of the parent and avoids copying. thanks david jencks On Aug 8, 2005, at 8:10 AM, Roman Seidl wrote: Dear XMLBeans-Users / Developers, i run another Test and now found out, that the following test p

Re: ClassCastException

2005-08-02 Thread David Jencks
changeType on the returned object, but I didn't check. thanks david jencks On Aug 2, 2005, at 6:10 AM, James Kavanagh wrote: As an addendum I've included the code snippet I'm using. RequestDocument req = RequestDocument.Factory.parse(new File("C:/Te

Re: Do schema model objects include info from "any" elements in schema?

2005-07-01 Thread David Jencks
Yes! this works! Many thanks, david jencks On Jun 29, 2005, at 10:24 AM, Lawrence Jones wrote: Hi David I had a quick look through the code. I haven't tried it, but this might work (where yourSchemaType is the SchemaType for ArrayOfstring): QName arrayTypeQName = new QName(

Do schema model objects include info from "any" elements in schema?

2005-06-28 Thread David Jencks
e some way to get back from a SchemaType object to an XmlObject from which I could extract the information? many thanks david jencks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: XMLBean jar file in ear's deployed in JBoss 3.2.6

2005-06-02 Thread David Jencks
idea what the current state of the code is or if such a mechanism is still present. IMO the fact that the problem goes away when you have only one copy of the xmlbeans classes in jboss indicates that this problem is not related to xmlbeans. thanks david jencks On Jun 2, 2005, at 8:20