Note the difference between "XML schema" and "XML Schema". The former includes DTDs and XML Schemas. I don't believe JAXB currently works with XML Schemas, only DTDs.
-----Original Message-----
From: Walden Mathews [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 8:32 AM
To: '[EMAIL PROTECTED]'
Subject: RE: XML to XSD

Sun has JAXB (Java Architecture for XML Binding) that compiles an XML schema into
java classes.  It's in early release form, and it only supports DTD schema now, although
their docs say they intend to support W3C schema sometime soon.
 
JAXB is interesting in that you can control the way java classes are generated by writing
a binding descriptor that overrides the compiler's assumptions, pay as you go.  Don't know
if this product has a future, though.
-----Original Message-----
From: Adam Greene [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 8:43 AM
To: [EMAIL PROTECTED]
Subject: XML to XSD

Does anyone know of a good (and free) program that would help one create an XML Schema from an XML file.  I'm still kind of new to all these different XML formats (DTD, XML, XSD, WSDL, and the list goes on), but I want to use Castor to create classes for loading and saving XML and it wants to start with an XSD.  Or as a another possibility an XML to Java maker / compiler.  Does Xerces have one (like Xalan has the XSLT compiler)??


***************************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
***************************************************************************************

Reply via email to