Title: Message

I found this comment for the uri attribute in the schema for xsdconfig files:

 

    <xs:attribute name="uri" type="xb:namespaceList">

      <xs:annotation>

        <xs:documentation>

          A list of any number of namespace URIs or ##local for the no-namespace,

          or ##any for all namespaces.

        </xs:documentation>

      </xs:annotation>

    </xs:attribute>

 

“##any” will probably work but will have that effect on any schema you compile using that xsdconfig. Try using “##local”.

 

Cheers,

 

Lawrence

 

 


From: Beagan, Patrick [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 1:29 PM
To: [email protected]
Subject: RE: noNamespace to somethingElse -

 

Shaun -

 

Try using

    <xb:namespace uri="##any">

instead of

<xb:namespace uri="">

 

-----Original Message-----
From: Shaun Farrugia [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 4:06 PM
To: [email protected]
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. . [EMAIL PROTECTED]
perm. desk.734.887.2148. . .cell.313.363.5006
aim.dier0b0t . . .

Reply via email to