[plt-scheme] xml library: getting DTD information

From: John Clements (clements at brinckerhoff.org)
Date: Tue May 27 16:38:55 EDT 2008

On May 25, 2008, at 9:29 AM, Richard Cobbe wrote:

> I'm having a little difficulty with the XML library, and I'm not sure
> whether this is a bug in the library or in my XML file.

...

This is regression advice rather than actual advice, but it might be  
helpful: have you tried parsing the same file with the sxml library?   
It'll be something like

(require (planet "sxml.ss" (lizorkin "sxml.plt" 2 0)
    (planet "ssax.ss" (lizorkin "ssax.plt" 2 0)))

(xml->sxml (open-input-file ...))

...

I've probably got the minor revision number wrong on one of these... I  
seem to recall a 2.1 in there.

Ignore if not useful,

John


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2484 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20080527/c5cf8c48/attachment.p7s>

Posted on the users mailing list.