Raynard Sandwick added the comment:

I have opened issue #17318 to try to specify the problem better. While I do 
think that catalogs are the correct fix for the validation use case (and thus 
would like to see something more out-of-the-box in that vein), the real trouble 
is that users are often unaware that they're sending requests to DTD URIs, so 
some combination of fixes in default behavior and/or documentation is 
definitely needed.

The external_ges feature does help, in a way, but is poorly communicated to new 
users, and moreover does not respect the difference between external DTD 
subsets and external general entities (there's a reason "DOCTYPE" isn't spelled 
"ENTITY").

The default behavior is not well documented, and the constraining behavior of 
DTDs is frequently unnecessary. Either a user should have to explicitly enable 
validation, or it should be irrevocably obvious to a user that validation is 
the default behavior, and in both cases it should be blatantly documented that 
validation may cause network side effects. I think the input has been 
reasonable all around, and yet I find it rather insane that this issue didn't 
eventually at least result in a documentation fix, thanks to what looks like 
push-back for push-back's sake, though I will gladly admit the conclusion that 
it was underspecified is entirely valid.

Anyway, further info in the new issue...

----------
nosy: +rsandwick3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2124>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to