RE: SchemaType.getSourceName()

2008-02-15 Thread Wing Yew Poon
Denis, Jacob is correct. When you scomp an xsd, the xsd itself is archived inside the jar that is produced. SchemaType.getSourceName() will return a String containing the path to the xsd (in this jar), relative to schemaorg_apache_xmlbeans/src/. You are not meant to decode this string. Perhaps you

RE: SchemaType.getSourceName()

2008-02-15 Thread Cezar Andrei
Denis, SchemaType.getSourceName() returns a name of a resource that represents the original xsd file from which the type came from. You can get to the resource by using a SchemaTypeLoader that has access to it. See the following example on how to use it: static void

SchemaType.getSourceName()

2008-02-14 Thread Denis.Sitnitsa
Hi, everybody! Doesn anybody know how can I decode the result of SchemaType.getSourceName() method? Regards, Denis. Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you

Re: SchemaType.getSourceName()

2008-02-14 Thread Jacob Danner
returns null. Does this help, or was there something more specific you were looking for? -jacobd On Thu, Feb 14, 2008 at 12:11 AM, [EMAIL PROTECTED] wrote: Hi, everybody! Doesn anybody know how can I decode the result of SchemaType.getSourceName() method? Regards, Denis. Visit our website

RE: SchemaType.getSourceName()

2008-02-14 Thread Denis.Sitnitsa
@xmlbeans.apache.org Subject: Re: SchemaType.getSourceName() Hi Denis, From what I remember, SchemaComponent.getSourceName() will return the path/location of the xsd used to create the type system. http://xmlbeans.apache.org/docs/2.2.0/reference/org/apache/xmlbeans/Sche maComponent.html#getSourceName

Re: SchemaType.getSourceName()

2008-02-14 Thread Jacob Danner
: Jacob Danner [mailto:[EMAIL PROTECTED] Sent: Thursday, February 14, 2008 8:32 PM To: user@xmlbeans.apache.org Subject: Re: SchemaType.getSourceName() Hi Denis, From what I remember, SchemaComponent.getSourceName() will return the path/location of the xsd used to create the type system