Re: Generating class libraries to read DOM documents

Barbara,

It's supposed to be free for  re-distribution and use.   Ok, I see that the beta

license is different from the production license, which is the desired one.
I'll
try to get that changed and get back to you.

Ben

Barbara Samson wrote:

> Ben:
>
> This looks like a useful tool. The license is too restrictive for me to
> build my own software on top of it, however. Does Oracle have plans to make
> it freely available?
>
> Barbara Samson
>
> At 10:32 AM 1/2/2001 -0800, Benjamin C. Chang wrote:
> >Take a look at http://technet.oracle.com/tech/xml/classgen/index.htm --
> >you'll need to register first, but this class generator can take as input an
> >XML Schema, and generate Java code that you can use to construct, etc.,
> >an XML document that is conformant to this XML Schema.
> >
> >A C++ class generator that does the same thing ia also available but needs
> >to be staged on technet.
> >
> >Email me directly if you need further details.
> >
> >Ben
> >Michael Grazebrook wrote:
> >
> > > Are there tools which will read a complex XML Schema specification, and
> > > generate a class library which can convert a DOM document into
> > > representations of the schema objects?
> > >
> > > We had a pretty good search of the Web, but the nearest we could come up
> > > with was some interesting looking vaporware from Sun for Java (no news
> > > since
> > > August):
> > http://java.sun.com/aboutJava/communityprocess/jsr/jsr_031_xmld.html.
> > > There are lots of great tools to help parse, write and check XML, but
> > > nothing I could find to create usable, efficient data structures from
> > > DOM nodes.
> > >
> > > The DOM is an effective way to get a document into memory. But the
> > > in-memory form is not ideal for application development - the developer
> > > must know both XML Schema and how to use the DOM. Also the application
> > > code becomes bulky. So I've been asked to write a class library which
> > > converts DOM nodes into C++ objects (though there's talk of C and Java
> > > too). Something like (simplified):
> > >
> > > class Name {
> > >     string    title;
> > >     string    familyName;
> > >     list<string> personalName;
> > > public:
> > >     Name( DOM_Node );
> > >     void writeToXml();
> > >     / / etc.
> > > };
> > >
> > > Does anyone know of any such tools?

Received on Tuesday, 2 January 2001 14:19:03 UTC