OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamically structuring an xml doc based on given schema



hello =)

I am a beginner to Java XML programming and wish to ask if it is possible 
to programmatically generate a xml document based on the schema as made 
public by another party?

Also, i have setup JXAP but there seems to be some problem with it locating 
the DefaultHandler class. Compilation is fine, but gives an error whenever 
i try to execute the parser. Anyone has any idea what the problem might be?

This is the error generated:

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/xml/sax/helpers/D
efaultHandler
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Thanks for any help or advise folks!


Yours sincerely,
Javier


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com