Hi, I'm new to XMLbeans and I've got some questions about it:

* Is there a way to use scomp for obtaining .java source files which I could use in my application?. I mean, not obtaining a .jar, but only the source files. I know there's a -srconly option, but I can't use those source files in my application because I get a java.lang.RuntimeException: "Cannot load SchemaTypeSystem. Unable to load class with name schemaorg_apache_xmlbeans.system.s43B4BB6513DB8C25ACC914901C0C8C83.TypeSystemHolder. Make sure the generated binary files are on the classpath", so I suppose the .java files are not enough.

* I've got an XSD with no namespaceTarget:

 <?xml version="1.0" encoding="UTF-8"?>
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";>
 ...

and I want to compile it and obtain a package different from the default "noNamespace" one. I've tried using this .xsdconfig file, but it doesn't work:

 <xb:config  xmlns:xb="http://www.bea.com/2002/09/xbean/config";>
 <xb:namespace uri="##any">
   <xb:package>es.tid.websemantica.buscador.querySchema</xb:package>
 </xb:namespace>
</xb:config>

What's wrong with it?

Thank you very much.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to