Java bean classes may be generated in a specified package even when a
namespace is not specified in the schema.
Define the .xsdconfig file as
<?xml version="1.0" encoding="UTF-8"?>
<xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config">
<xb:namespace>
<xb:package>com.xmlbeans</xb:package>
</xb:namespace>
</xb:config>
Define the .xsdconfig file as
<?xml version="1.0" encoding="UTF-8"?>
<xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config">
<xb:namespace>
<xb:package>com.xmlbeans</xb:package>
</xb:namespace>
</xb:config>
- Wing
Yew
From: Green, Jason M. [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 5:28 AM
To: dev@xmlbeans.apache.org
Subject: Creating class files from schema help
Hey all,
I would like to be able to specify a different directory
structure other than noNamespace when compiling my schema. Is this
possible if there is no namespace declared in the schema?
Thanks,
Jason
_______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.