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
RootType so I changed that and it speeds up things a lot.

There were also places where PropertyList and TypeDefinitions etc were being
copied by assigning them to an instance rather than a reference so I fixed
these.

Cheers,




On 28/03/07, Caroline Maynard <[EMAIL PROTECTED]> wrote:

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 TypeDefinitions).

Pete, that looks just what we need in the PHP implementation. The time
taken to reload the schema gets us some grief - your proposal would
allow us to parse the file just once and cache the results, which would
be a great help.


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




--
Pete

Reply via email to