Here is my context:
 Let's assume I somehow lost my XSD text file which
was used to produce the Schema Jars using SCOMP. Is
there a way I can recover this complete XSD text file
using the XMLBeans environment (either runtime or
build time)? 

 When I said XSD text file above, I meant the actual
W3C schema text file. Not the SCOMP generated Java src
files.

-D

--- Cezar Andrei <[EMAIL PROTECTED]> wrote:

> Running scomp will include schema sources in the
> output jar. You can get
> to the name of the resource by calling
> getSourceName() on a SchemaType
> for example or any SchemaComponent.
> 
>  
> 
> Cezar
> 
>  
> 
> ________________________________
> 
> From: Jacob Danner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 10, 2008 4:17 AM
> To: user@xmlbeans.apache.org
> Subject: Re: is XSD text file stored at all in
> XMLBeans output?
> 
>  
> 
> Hi Dave,
> In most cases, running scomp will create a jar that
> includes the schemas
> in at 
> schemaorg_apache_xmlbeans\src in the java archive.
> 
> If you need direct access to it, you can always try
> accessing it via
> resources and/or classloaders. AFAIK, xmlbeans does
> not provide any
> methods for direct access to those bundled schemas. 
> 
> Hope this helps,
> -jacobd
> 
> On Jan 9, 2008 12:41 PM, dave <[EMAIL PROTECTED]>
> wrote:
> 
> 
> I know XMLBeans apis use the compiled schema Jars
> from
> scomp for any validation purpose. Just curious to
> know
> if XMLBeans also stores actual XSD text file (one of
> the input to scomp) anywhere in its run time
> environment?
> 
> -D



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to