xmlToStruct in memory?
Author: firstname.lastname@example.org (istiller)
Is it possible to locate the XSD for xmlToStruct in memory?
Background: We do a full validation of a XML-stream with different given XSD files. First I extract the namespace out of the XML. Then I do a lookup in database for the XSD and dump this to disk. Now I can use xmlToStruct to validate the XML against this XSD-file
But, as we are now using concurrent processes, this dumping and using of external XSD is the source of an error Two USERVER-processes can not obtain the XSD at the same time (looks like this).
A workaround could be a postfix to the XSD filename, containing the process ID.
Best practice would be to have the XSD in memory of each process, but how to do this?