Re: newbie question

2009-04-09 Thread luca paganotti
Thanks Jacob, i run anyway the sample directly from my jdk bin directory and then the run went ok, I was searching something similar, thank you again. The task was easy ... read the faq before asking ... -- -- Dott. Ing. Luca Paganotti -

Re: newbie question

2009-04-09 Thread Jacob Danner
Take a peek at this FAQ entry http://wiki.apache.org/xmlbeans/XmlBeansFaq#scompFindingJavac and let the list know if you are still having problems. -jacobd On Thu, Apr 9, 2009 at 7:14 AM, luca paganotti wrote: > Hello all, > > i'm totally new to xmlbeans and trying to run the examples in the tuto

Re: [newbie] difference between addNew and (Factory.newInstance + set)

2008-01-12 Thread Srinath C
-- > *From:* Jacob Danner [mailto:[EMAIL PROTECTED] > *Sent:* 12 January 2008 02:19 > > *To:* user@xmlbeans.apache.org > *Subject:* Re: [newbie] difference between addNew and (Factory.newInstance+ > set) > > Hi Paul, > This is actually working as expected :) I just spaced a

RE: [newbie] difference between addNew and (Factory.newInstance + set)

2008-01-12 Thread Paul French
To: user@xmlbeans.apache.org Subject: Re: [newbie] difference between addNew and (Factory.newInstance + set) Hi Paul, This is actually working as expected :) I just spaced and missed it the first time around. try something like: BusinessDescription.Contact contact

Re: [newbie] difference between addNew and (Factory.newInstance + set)

2008-01-11 Thread Jacob Danner
ave attached them. Look at the > BusinessDescription_v3_1.xsd schema. I looked at sending a small snippet but > couldn't see how > > Have a good weekend!! > > > -- > *From:* Jacob Danner [mailto:[EMAIL PROTECTED] > *Sent:*

Re: [newbie] difference between addNew and (Factory.newInstance + set)

2008-01-11 Thread Jacob Danner
ate); > > I assumed this must be due to XMLBeans passing back a copy of the Calendar > object when calling contact.getDateTime() > > > > > > -- > *From:* Jacob Danner [mailto:[EMAIL PROTECTED] > *Sent:* 11 January 2008 17:52 > *To:*

RE: [newbie] difference between addNew and (Factory.newInstance + set)

2008-01-11 Thread Paul French
Danner [mailto:[EMAIL PROTECTED] Sent: 11 January 2008 17:52 To: user@xmlbeans.apache.org Subject: Re: [newbie] difference between addNew and (Factory.newInstance + set) Hi Paul, Can you do a System.out.println(contact.xmlText()); in each of the scenarios below? How is Address defined in the s

Re: [newbie] difference between addNew and (Factory.newInstance + set)

2008-01-11 Thread Jacob Danner
Hi Paul, Can you do a System.out.println(contact.xmlText()); in each of the scenarios below? How is Address defined in the schema? Thanks, -jacobd On Jan 11, 2008 9:29 AM, Paul French <[EMAIL PROTECTED]> wrote: > Hello, > > I have created a library using scomp from an xml schema. > > I am buildi

RE: newbie--override schemaorg_apache_xmlbeans prefix

2007-12-12 Thread Lucente, Richard D
, 2007 3:08 PM To: user@xmlbeans.apache.org Subject: RE: newbie--override schemaorg_apache_xmlbeans prefix Richard, It isn't supposed to work like this. The XMLSchema spec assumes that everybody is using namespaces and that the QNames for different types and elements do not collide. Thi

RE: newbie--override schemaorg_apache_xmlbeans prefix

2007-12-12 Thread Cezar Andrei
Richard, It isn't supposed to work like this. The XMLSchema spec assumes that everybody is using namespaces and that the QNames for different types and elements do not collide. This is the model that XMLBeans uses, which is the same as java packages and classes work. In the rare cases when ther

RE: newbie

2006-12-04 Thread Wing Yew Poon
Andrey, user questions should be posted to the user list. You might find it useful to look through the posts on that list, as your question may already have been answered. You can look at http://xmlbeans.apache.org/samples/index.html for samples. - Wing Yew -Original Message- From: Konus

Re: Newbie question: XMLBeans does not order 'sequence' elements according to the schema definitions?!

2006-10-10 Thread Robert W. Wade
I do not believe you are correct, at least with the version of XMLBeans that I am using. I am using 2.2.0, JKD 1.4.2. The java class I used is attached. The output is listed below: first string second string Process finished with exit code 0 Rob --- Ophir Bleiberg <[EMAIL PROTECTED]>

Re: Newbie question - CData exception

2006-07-28 Thread B Moody
Figured it out - was passing the file name as a string to 'parse' - it's expecting xml. -- View this message in context: http://www.nabble.com/Newbie-question---CData-exception-tf2012623.html#a5542517 Sent from the Xml Beans - User forum at Nabble.com. -

RE: newbie need help

2005-08-19 Thread Lawrence Jones
.   Cheers,   Lawrence   From: Lawrence Jones Sent: Friday, August 19, 2005 2:44 PM To: 'user@xmlbeans.apache.org' Subject: RE: newbie need help   Hi Yixing   You can use the XmlCursor to insert attributes. Use the cursor to navigate to the element on which you wish

RE: newbie need help

2005-08-19 Thread Lawrence Jones
Hi Yixing   You can use the XmlCursor to insert attributes. Use the cursor to navigate to the element on which you wish to add the attributes. After that do something like the following:       QName attQN = new QName("http://www.w3.org/2001/XMLSchema-inst