xml-xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bau" <david....@bea.com>
Subject RE: XMLbeans with JAXB
Date Fri, 19 Dec 2003 02:48:19 GMT
Eric asks:

> I believe that we are looking at JAXB in v2.  I've forwarded this to the
dev alias, perhaps David could say something about the status of this work.

We haven't decided whether or not we are going to implement JAXB 1.0 in
XMLBeans v2.  You can see in the code that there is a bit of a beginning of
go at it, but we quickly discovered that there are some significant problems
with JAXB 1.0 that lead us to stop the work for now.  For example it is
impossible to implement XML schema type substitution while conforming the
JAXB binding spec.

A central premise of XMLBeans is to faithfully implement 100% of the W3C XML
Schema specification, and we have done that (including type substitution,
element substitution, full validation, etc, etc).  Implementing XML specs
correctly is very key for proper interoperability.  Correct XML is our
lifeblood and the basic reason for the usefulness of the library.  I don't
want us to implement JAXB 1.0 if it requires us to (as it appears to) back
off of correct implementation of XML Schema.  Lack of type substitution in
XML would be akin to having a JVM for Java that did not correctly support
polymorphism: it is very central to the spec, and it would make the library
untrustworthy.

One of the stated goals of JAXB 2.0 is to address these problems in the JAXB
spec and make it possible to implement all of schema; if JAXB 2.0 actually
makes this possible, we shouldn't have any trouble implementing JAXB.

David


----- Original Message ----- 
From: "Eric Vasilik" <ericvas@bea.com>
To: "Marius Gleeson" <mariusgleeson@audumla.net>
Cc: <xmlbeans-dev@xml.apache.org>
Sent: Thursday, December 18, 2003 2:14 PM
Subject: [xmlbeans-dev] RE: XMLbeans with JAXB



I believe that we are looking at JAXB in v2.  I've forwarded this to the dev
alias, perhaps David could say something about the status of this work.

- Eric

-----Original Message-----
From: Marius Gleeson [mailto:mariusgleeson@audumla.net]
Sent: Wednesday, December 17, 2003 5:05 PM
To: Eric Vasilik
Subject: XMLbeans with JAXB


Hi Eric,

I am currently investigating using XMLbeans for a large project at my
work. We are currently using the JAXB interfaces at the front end of the
code, so I was interested in knowing where the jaxb extensions you were
developing for xmlbeans are going. I have managed to get them built but
have had some issues with getting them to work off my schemas. If you
could let me know if there was going to be any more work done on them,
that would be great. I am willing to offer my services to try and get
them into a working state, however my work is so overloaded at the moment
that I am unsure of how much time I would be able to offer. I have used
the sun implementation of JAXB extensively and have a good understanding
of the inner code and workings of their implementation. I have also
contributed a few classes on the JAXMe project.

Thanks,
Marius Gleeson

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message