Are you just using the SchemaReader class(es), or are you using the XML source generator to create Java domain classes from e.g. your type definitions in your WSDLs ?
Werner stoil valchkov wrote: > My project is graphical BPEL designer and wsdl4j together with castor > provide information about web services. In such scenario I need > information of all available wsdl & xsd files in workspace. You can > imagine what happens when I try loading every single file of complex > dependency tree - some files might be parsed hundreds times. Of course > I use SchemaLocation to optimize it little bit, but the best would be > if I can optimize it in the way described. > > On 5/3/07, Werner Guttmann <[EMAIL PROTECTED]> wrote: >> Can you just - by the means of a sample - highlight what you are doing >> in terms of code ? I'd like to understand your usage of Castor a bit >> better before trying to comment upon it. >> >> Werner >> >> stoil valchkov wrote: >> > Hi, >> > >> > I use castor schema support and it is great. Now there is kind of >> > performance problem because it reads all imports and includes for >> > every schema and this is big overhead for complex import/include >> > dependency tree. >> > I would like to skip auto parsing of includes and imports of schema >> > being read. Instead I want to add them later in Schema once I read >> > them in separate SchemaReader and at this stage call >> > schema.validate(). Is this possible? >> > >> > Regards, >> > Stoil >> > >> > --------------------------------------------------------------------- >> > To unsubscribe from this list please visit: >> > >> > http://xircles.codehaus.org/manage_email >> > >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

