RE: Feature request: Array Reordering

2006-06-19 Thread Cezar Andrei
This is already possible using the XmlCursor API. Check out XmlCursor's
moveXml() and moveXmlContents() methods.

Cezar 

 -Original Message-
 From: Ole Matzura [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 19, 2006 5:53 PM
 To: user@xmlbeans.apache.org
 Subject: Feature request: Array Reordering
 
 Hi all!
 
 this may be a little late for the upcoming release, but it would be
 great if a future release had support for reordering the contents of
 List (as generated for a sequence) without requiring to recreate
 affected element(s); today if I want to reorder the contents of a List
I
 need to create copies of the existing XmlObjects instead of just being
 able to move them, for example:
 
 FooType[] array = t.getFooArray(); // array.length == 4
 
 FooType f = (FooType) array[3].copy(); // you need to do a copy here,
 otherwise the next statement will obliterate array[3]
 
 t.setFooArray(3, array[1]);
 
 t.setFooArray(1, f);
 
 should be replaced by something like
 
 t.moveFooArrayItem( int sourceIndex, int targetIndex );
 
 ie
 
 t.moveFooArrayItem( 3, 1 );
 
 understandable? Maybe this is already possible in some other way?
 
 best regards!
 
 /Ole
 eviware.com
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[VOTE] Release of XMLBeans 2.2.0

2006-06-19 Thread Cezar Andrei
Please send your vote for the release of XMLBeans version 2.2.0, as it
currently exists on http://xmlbeans.apache.org/dist/
(xmlbeans-2.2.0-RC1*). The files have been available for the last few
days, they have been checked and tried out on different environments. If
the vote closes positive the files will be renamed, digitally signed and
uploaded on the distribution sites.

This vote will close on end of Thursday, June 22 '06 (approx 72 hours).

For the vote to pass, we must reach majority approval, which requires at
least 3 binding +1 votes and more +1 votes than -1 votes.  Binding votes
are those cast by XMLBeans committers or members of the PPMC, but
everyone is encouraged to vote their opinion.

Please respond with: 

[ ]  +1  -  I am in favor of this release, and can help 
[ ]  +0  -  I am in favor of this release, but cannot help 
[ ]  -0  -  I am not in favor of this release 
[ ]  -1  -  I am against this proposal (must include a reason)




My vote is +1!

Cezar
___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]