Re: [SDO C++] Caching the types parsed from XSDs

2007-03-30 Thread Pete Robbins
I've checked in these changes. I also found some severe perfomance killers in the defineTypes method that attempts to handle substitutionGroups. The code was iterating the entire Type/Property tree when adding any new property :-( ?? This iteration is only needed when adding properties to the

[SDO C++] Caching the types parsed from XSDs

2007-03-28 Thread Pete Robbins
I've been playing around with ways to avoid having to repeatedly parse large schema where the performance isn't great. The scenario is that I have a base set of types from a schema that I need (e.g. WSDL schema) and a variable set of types from some user defined schema. So each time I want a

Re: [SDO C++] Caching the types parsed from XSDs

2007-03-28 Thread Caroline Maynard
Pete Robbins wrote: XSDHelperPtr myHelper = HelperProvider::getXSDHelper(); myHelper-defineTypes(wsdlHelper-getDefinedTypes()); which creates a new XSDHelper and DataFactory containing the Types and Properties from the wsdlHelper + all the schema information (which is held in the

Re: [SDO C++] Caching the types parsed from XSDs

2007-03-28 Thread Caroline Maynard
Pete Robbins wrote: XSDHelperPtr myHelper = HelperProvider::getXSDHelper(); myHelper-defineTypes(wsdlHelper-getDefinedTypes()); which creates a new XSDHelper and DataFactory containing the Types and Properties from the wsdlHelper + all the schema information (which is held in the