This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: scheme DTD parser
On Tue, Aug 22, 2000 at 02:42:40AM +0200, Thierry Bezecourt wrote:
> "Peter C. Norton" <spacey@lenin.nu> writes:
>
> > What parsers did you try? The expat interface should do this
> > reliably.
>
> How? The DTD parsing in expat is minimal: it expands the entity
> declarations, but does not call specific handlers on element
> declarations. It would be possible, but not very easy, by using the
> default handler, i.e by doing much of the parsing yourself
> (XML::Parser does that).
OK, point, but it should not be incapable of working. I guess my questions
should have been: "What did you expect" and "What did it do instead".
> Furthermore, my interface to expat (Mixp) does not parse the DTD at
> all, because that feature was not available in the standard version of
> expat when I wrote Mixp, and I forgot to integrate it later. I'm
> trying to fix that now.
Huh? Oh, I guess I've been using the python interface with the book I
bought. I'll shut up now.
--
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.