--
> *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
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
Time(someDate); // line 2
> >
> > If I call contact.getDateTime() now it will still hold the same date and
> > time set in line 1
> >
> >
> > I had to change the code to do:
> >
> > Calendar cal = Calendar.getInstance();
> > cal.setTime(s
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:*
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
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
Hello,
I have created a library using scomp from an xml schema.
I am building a XML document using this library. I have come across some
behaviour I do not understand. For this example a BusinessDescription may
have a Contact and a Contact may have an Address.
If I do the following:
Busin
7 matches
Mail list logo