in reply to Re^3: XML::Compile template initialized from XML document
in thread XML::Compile template initialized from XML document
I do create the Schema only once. As I have only the one Schema and I use it repeatedly while looping over the contents of a file and then it is gone I saw no advantage to using Cache. This is a "utility" script that consumes a web service, not a web service itself.
The schema comes from a commercial application. It looks to me like it is an oversight that "mixed" is "true" on their complex types. Again, I'm only passing familiar with the full XML Schema definition. It looks to me like "mixed" should only be true when an element can contain both content (text/data) AND other elements (tags) mixed. Is that right? The actual XML documents I have seen from this interface do not have that. Right now I actually pull the schema from the web service. Would I be better off grabbing a copy and setting "mixed" to "false" for my work?
|
|---|