Return-Path: Delivered-To: apmail-xmlbeans-user-archive@www.apache.org Received: (qmail 41144 invoked from network); 14 Sep 2006 17:35:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Sep 2006 17:35:38 -0000 Received: (qmail 73637 invoked by uid 500); 14 Sep 2006 17:35:17 -0000 Delivered-To: apmail-xmlbeans-user-archive@xmlbeans.apache.org Received: (qmail 73510 invoked by uid 500); 14 Sep 2006 17:35:16 -0000 Mailing-List: contact user-help@xmlbeans.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: user@xmlbeans.apache.org List-Id: Delivered-To: mailing list user@xmlbeans.apache.org Received: (qmail 73355 invoked by uid 99); 14 Sep 2006 17:35:16 -0000 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jataylor@bea.com designates 63.96.162.5 as permitted sender) Received: from [63.96.162.5] (HELO ussjmh01.bea.com) (63.96.162.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2006 10:35:13 -0700 Received: from ussjfe01.amer.bea.com (ussjfe01b.bea.com [172.16.120.57]) by ussjmh01.bea.com (Switch-3.2.2/Switch-3.2.2) with ESMTP id k8EHWlcZ011656 for ; Thu, 14 Sep 2006 10:32:49 -0700 Received: from repbex02.amer.bea.com ([10.160.26.99]) by ussjfe01.amer.bea.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 14 Sep 2006 10:32:43 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6D823.C908B2E1" Subject: RE: Regarding JAXB 2.0 ... Date: Thu, 14 Sep 2006 10:32:42 -0700 Message-ID: <800D8DE3DF44164DABACCABFA180AAFE017608FD@repbex02.amer.bea.com> In-Reply-To: <011d01c6d803$e37bca00$2300000a@octocbl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Regarding JAXB 2.0 ... Thread-Index: AcbYA+ME7naIN60tS82GT+PbopS5ZQAE+zGQ From: "James Taylor" To: X-OriginalArrivalTime: 14 Sep 2006 17:32:43.0716 (UTC) FILETIME=[C92B7040:01C6D823] X-PMX-Version: 4.7.0.111621, Antispam-Engine: 2.0.2.0, Antispam-Data: 2006.9.14.95442 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C6D823.C908B2E1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Here are some advantages that XMLBeans has over JAXB 2.0: * 100% XML Infoset preserving. XMLBeans preserves all of the information in the XML Infoset. Not only are comments, processing instructions, and whitespace preserved, but XML data that is invalid or missing from the XMLSchema will be preserved as well. For example, if a purchase order schema represents a part number as an integer and the part number comes in as a string, the value will be preserved. * Native DOM representation. XMLBeans is backed by a store that allows the XML to be viewed and/or manipulated through either the standard DOM interfaces or through the generated setter/getters. There's no performance penalty for this because there's no copying/cloning necessary under-the-covers when using these representations. * XPath/XQuery support. XMLBeans allows querying and navigating through the object hierarchy using XPath and/or XQuery. * Schema metadata access. XMLBeans has an API that allows access to the underlying XMLSchema metadata through a schema object model API.=20 * On-demand validation. XMLBeans is able to perform validation against the XMLSchema at any time as opposed to only at marshalling/unmarshalling time. * Support for pre-1.5/5.0 JDKs. As already mentioned, XMLBeans can be used with older versions of the JDK. =20 Cheers, =20 James =20 ________________________________ From: Christian Blavier [mailto:cblavier@octo.com]=20 Sent: Thursday, September 14, 2006 6:44 AM To: user@xmlbeans.apache.org Subject: Regarding JAXB 2.0 ... =20 Hello, =20 A simple question : what could encourage me to use xmlbeans rather than Jaxb2.0 ? The initial motivation of xmlbeans is to have a full coverage of XML schema ; so do JAXB 2.0. =20 I still see many people prefering xmlbeans to JAXB, and I'm just wondering why :) =20 Thank you for your responses Christian >>Register now for BEA World 2006 --- See http://www.bea.com/beaworld<< _______________________________________________________________________ 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. ------_=_NextPart_001_01C6D823.C908B2E1 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Here are some advantages that XMLBeans= has over JAXB 2.0:

  • 100% XML Infoset preserving<= font size=3D2 face=3DArial>.  XMLBeans preserves all of the information in the XML Infoset.  Not only are comments, processing instructions, and whitespace preserved, = but XML data that is invalid or missing from the XMLSchema will be preserved as well.  For example, if a purchase order schema represents a part number as an integer and the part number comes in as a string, the val= ue will be preserved.
  • Native DOM representation.  XMLBeans is backed by a store that allows the XML to be viewed and/or manipulated through either the standard DOM interfaces or through the = generated setter/getters.  There’s no performance penalty for this because there’s no copying/cloning necessary under-the-covers wh= en using these representations.
  • XPath/XQuery support.  XMLBeans allows querying and navigating through the object hierarchy u= sing XPath and/or XQuery.
  • Schema metadata access.  XMLBeans has an API that allows access to the underlying XMLSchema met= adata through a schema object model API.
  • On-demand validation.  XMLBeans is able to perform validation against the XMLSchema at any ti= me as opposed to only at marshalling/unmarshalling time.
  • Support for pre-1.5/5.0 JDKs= .  As already mentioned, XMLBeans can be used with older versions of the = JDK.

 

Cheers,

 

      &n= bsp;     James

 


From: Christian Blavier [mailto:cblavier@octo.com]
Sent: Thursday, September 14= , 2006 6:44 AM
To: user@xmlbeans.apache.org=
Subject: Regarding JAXB 2.0 = ...

 

Hello,

 

A simple question : what could encourage me to use xmlbeans rather than Jaxb2.0 ?

The initial motivation of xmlbeans is to have a full coverage of XML schema ; so do JAXB 2.0.

 

I still see many people prefering xmlbeans to JAXB, and I’m just wondering why :)

 

Thank you for your responses

Christian

>>Register now for BEA World 2006 --- See http://www.bea.com/beaworld<<
_______________________________________________________________________
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.
------_=_NextPart_001_01C6D823.C908B2E1--