You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Shaun Farrugia <fa...@dteenergy.com> on 2005/10/12 22:33:17 UTC
RE: noNamespace to somethingElse -
Thanks - that worked.. I wonder how we get that added to the FAQ?
Shaun.Farrugia. . .farrugias@dteenergy.com
perm. desk.734.887.2148. . .cell.313.363.5006
aim.dier0b0t . . .
"Beagan, Patrick"
<pb...@atg.com>
To
10/12/2005 04:28 <us...@xmlbeans.apache.org>
PM cc
Subject
Please respond to RE: noNamespace to somethingElse -
user@xmlbeans.apa
che.org
Shaun -
Try using
<xb:namespace uri="##any">
instead of
<xb:namespace uri="">
-----Original Message-----
From: Shaun Farrugia [mailto:farrugias@dteenergy.com]
Sent: Wednesday, October 12, 2005 4:06 PM
To: user@xmlbeans.apache.org
Subject: noNamespace to somethingElse -
I have an XML Schema which has no namespace attached to the schema.
The incoming data also has no namespace. How do i get XMLBeans to
generate the classes in a package i define? I've tried the .xsdconfig
file already but pointing url="" doesn't seem to work.
this is my .xsdconfig file...
--------------------------------------------
<xb:config xmlns:xb="http://www.bea.com/2002/09/xbean/config">
<!-- Use the "namespace" element to map a namespace to the Java
package
name that should be generated. -->
<xb:namespace uri="">
<xb:package>com.confirmhub.xmlbean.schema</xb:package>
</xb:namespace>
</xb:config>
Shaun.Farrugia. . .farrugias@dteenergy.com
perm. desk.734.887.2148. . .cell.313.363.5006
aim.dier0b0t . . .