[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Parser/Object Builder for w3-XML-Schema

  • From: Patrick Ohl <Patrick.Ohl@o...>
  • To: Himanshu Gupta <hgupta@D...>
  • Date: Fri, 25 May 2001 18:32:41 +0200

xml schema builder
Hi,

When I get you right, you are looking for an implementation of a XML
Data Binding facility as supposed in
http://java.sun.com/xml/jaxp-docs-1.0.1/docs/bind.pdf . Well, I think
there is no implementation - especially for XML Schema - yet.

Suns JAXB -- formerly known as Project Adelard -- got stuck somewhere,
and despite the release was scheduled for second quarter of 2001, it all
got a little quite around it. It, too, is just a specification and it is
not known when there will be a reference implementation. (See:
http://www.javaworld.com/javaworld/javaone00/j1-00-adelard.html )

Brett McLaughlin's Zeus is aiming in exactly that direction, but it is
nothing more than a framework of 26 little interfaces and classes. I
judge it rather poor. If you have to implement the whole generator you
can implement the classes as well. (See: http://zeus.enhydra.org and
http://www-4.ibm.com/software/developer/library/data-binding1/index.html
)

I am currently working on an implementation called 'XML2Java', but the
XML Schema support won't be up until end of summer. (See:
http://www.jNerd.de/xml2java.html ) It generates Java source code
according to a DTD. The hierarchy is very flat, so you can sub- and
super class the classes, to give them a little 'life'. A SAX based (any
JAXP does) reader and a writer gets generated as well. With little
effort you can easily customize the generated classes to constrain
certain fields to be Integers, Dates or whatever. But you need a DTD
first.

Oracle has a free 'Class Generator' in their XDK (
http://technet.oracle.com/tech/xml/ ). It is still in development (I
think software always is!). The problem I see with Oracles Class
Generator, is that you are bound to the Oracle XML Parser. AND: No XML
Schema support.

Another tool for Data Binding is Jato (http://www.krumel.com/jato ). It
supports dynamic mapping functionality via XML scripts. It is quite
flexible, but you have to do a lot of scripting though.

I haven't checked out Breeze Factor's XML Studio yet. This is probably
the overkill application for this job (it is a commercial solution for
building XML based web sites.), but it should be able to handle XML
Schema. It too imports some breeze factor classes in the generated java
sources. (See: http://www.breezefactor.com ) 

Hope these info helps you along,

Cheers,

		PAtrick


Himanshu Gupta wrote:
> 
> Hi,
> 
> I'm looking for the following:
> 
> Software tool that creates an appropriately defined XMLSchema object
> from an XMLSchema file/document. In other words, it takes in an XML
> Schema (w3 proposed) file as an input and creates a XML Schema object
> (something more meaningful than a DOM). Java is most preferable.
> 
> Thanks,
> 
> --Himanshu
> 
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org, an initiative of OASIS
> <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: xml-dev-request@l...
begin:vcard 
n:Ohl;Patrick
tel;cell:+49-1708607430
tel;home:+49-89-38859084
tel;work:+49-89-358680-45
x-mozilla-html:FALSE
url:http://www.jNerd.de
adr:;;Ainmillerstr. 6;Munich;;80801;Germany
version:2.1
email;internet:Patrick.Ohl@o...
fn:Patrick Ohl
end:vcard

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.