Comment 4 for bug 1234114

Revision history for this message
scoder (scoder) wrote :

Thanks for the test case. Interestingly, you are actually using a different way to parse the schema file in it than in your original example. And in fact, there is a substantial difference between the two. If you pass in a tree, it remembers its original parser and can reuse its configuration. In your original example, there is only a file path, so no additional parser configuration. I wonder what the expected configuration is in both cases, and how to allow users to change it in the case where a plain file path (or file object) is passed. Would use the default parser, I guess, but that's a bit far away from the perspective of a user whose code has just been broken by disabling network access...