Re: [Docstring-develop] Re: [XML-SIG] Validation from Python code?
Status: Pre-Alpha
Brought to you by:
goodger
|
From: David G. <dgo...@bi...> - 2001-07-29 23:35:45
|
on 2001-07-29 7:02 PM, Garth T Kidd (ga...@de...) wrote: > PyTREX looks like it can nicely validate the parser output (via > ``.asdom().toxml()``), but doesn't seem to provide tools for > automatically generating the patterns from the DTD. I'm not worried about that. There are tools out there, and it shouldn't be a frequent task. Incremental maintenance should be easy. > I can understand David's reluctance to use an external parser if he can > possibly avoid it; it just took me Much Work to get PyXML and 4Suite to > build and install under Cygwin. Yes, and I'm loathe to include anything but pure Python in the project. I work on a compiler-challenged OS, so feel like a second-class citizen when I'd like to use some C extension. Not to mention that I haven't done any C programming for 10 years. > David, are you intending your tests to be run only during testing, or as > an optional "paranoid mode" for dps and restructuredtext where people > can have all of their output checked for validity versus the DTD? Both? Both. Just having "paranoid mode" automatically means that it's available for testing too. David |