[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: [ubl-cmsc] XSD Derivation
Matt's description of XDK sounds very similar to the objectives of standardizing a Java binding mechanism, which is the goal of JAXB (http://java.sun.com/xml/downloads/jaxb.html). Unfortunately, I've been very dissapointed with the lack of progress on JAXB which has been underway for more than 2 years. When a spec was finally published in June 2001, it only described DTD binding with no support for XML Schema. I hope that JAXB will include some of the programmatic derivation mechanism that you describe, if it ever surfaces... In the spirit of ignoring vaporware, we can't count on this for UBL. -- Dave ----- Original Message ----- From: "Matthew Gertner" <matthew.gertner@schemantix.com> 1) Commerce XDK and the like. These systems take XML Schema and map it directly into Java or C++ classes. The classes know how to consume and produce the appropriate XML in order to populate and serialize themselves. They also offer methods to get at the underlying data programmatically (getters and setters). Schema derivation maps into OO derivation, so the MyPrice class is derived from Price (to continue with this example) and all the principles of dynamic binding outlined by Bill hold when programming to the class. In other words, a program designed to work with Prices just ignores the extra stuff in MyPrice *but* the object always remains a MyPrice when stored and forwarded.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC