Re: parsing entities

"minh thu" <[email protected]> Tue, 10 Jun 2008 19:25:06 +0200
Newsgroups gmane.lisp.scheme.ssax-sxml
Message-ID <[email protected]>
2008/6/10  <[email protected]>:
>
> Hello!
>
>        Andy Wingo has given a thorough reply, and the texinfo parser
> does seem to be the best solution to the problem of parsing r5rs into
> an SXML-like form. I'd like to make a small comment regarding a
> particular technical question,
>
>> The paser tells me it skips the dtd declaration then yells
>> "[wf-entdeclared] broken for period".
>> period is one entity declared in the dtd.
>
> You might find helpful the following code
>        examples/daml-parse-unparse.scm
> in the examples directory of the SSAX distribution. DAML documents use
> many entities, and the file demonstrates how to handle them. In
> particular, the definition (define DAML-entities ...)  introduces the
> set of entities; these entities are then passed to the parser in the
> DOCTYPE handler (lines 221-229 of the file daml-parse-unparse.scm).

Thanks. I forgot to look there (I was aware of that example).
But, why using the texinfo would be the best solution, i.e. would it
give me more data
than using the XML output of makeinfo ?

Thanks,
Thu

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php