[XML-SIG] Some points & ideas
Lars Marius Garshol
larsga@ifi.uio.no
04 Oct 1998 20:15:03 +0100
I'm going away for the next month and will be offline for at least two
weeks to come, so I'm posting some thoughts here before I log off.
--- saxlib
Two problems have shown up:
- Jack Jansen unearthed a bug in saxutils.ErrorPrinter
- Paul Prescod pointed out that EntityResolver.resolveEntity should
return a file-like object instead of the system identifier. (In
the Java version it returns an InputSource.)
I've also been thinking that once we have support for different
character sets (whether in Python itself or the parsers) we will need
InputSource.
This clashes with my wish to keep saxlib 1.0 untouched until SAX 1.0
itself changes, which still seems to be a long way off.
Any thoughts/opinions on this? Does anyone use the resolveEntity
method enough to be upset by a modification to it? Anyone against
InputSource being added to saxlib?
--- More functionality
Something like John Cowan's ParserFilters for SAX would be nice to
have for saxlib and also very simple to make. See
<URL:http://www.ccil.org/~cowan/XML/>
What do people think, do we want this? Anyone feel like making it?
--- Even more functionality
A validation package that used regular expressions to express
constraints on element content and attribute values, as well as
predicate functions (identified by module.function) to validate
documents. This would be nice to have and should be easy to implement
as a ParserFilter.
Any comments on this?
That's just some of what I had in my head right now. I'll be going
offline in about 2-3 hours.
--Lars M.