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 testXbGetSourceName

RE: SchemaType.getSourceName()

2008-02-15 Thread Wing Yew Poon
"_3A", ":"); > path = path.replaceAll("_5F", "_"); > path = path.replaceAll("file:/", ""); > > But I'm not sure that this is correct. > > Regards, > Denis. > > > > -Original Message---

Re: SchemaType.getSourceName()

2008-02-14 Thread Jacob Danner
eAll("_5F", "_"); > path = path.replaceAll("file:/", ""); > > But I'm not sure that this is correct. > > Regards, > Denis. > > > > -Original Message- > From: Jacob Danner [mailto:[EMAIL PROTECTED] >

RE: SchemaType.getSourceName()

2008-02-14 Thread Denis.Sitnitsa
--Original Message- From: 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

Re: SchemaType.getSourceName()

2008-02-14 Thread Jacob Danner
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/SchemaComponent.html#getSourceName() If the schema was built from a string, this method retu