Folks,

Can someone guide me on how to use
org.exolab.castor.xml.schema.util.XMLInstance2Schema ? I am trying to create
an xsd from my source xml and invoking this command line utility as follows:

java org.exolab.castor.xml.schema.util.XMLInstance2Schema "xml source file"
"target xsd required"

I already have "castor-xml.jar" and "Xerces.jar" on my classpath but I
always get these exceptions:

java.io.IOException: java.lang.NullPointerException
        at
org.exolab.castor.xml.schema.util.XMLInstance2Schema.createSchema(Unknown
Source)
        at
org.exolab.castor.xml.schema.util.XMLInstance2Schema.createSchema(Unknown
Source)
        at org.exolab.castor.xml.schema.util.XMLInstance2Schema.main(Unknown
Source)

Would really appreciate any inputs.

Thanks in advance,
Saurabh



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to