Re: doctype public id

[email protected] Fri, 1 Dec 2006 19:08:32 -0800 (PST)
Newsgroups gmane.lisp.scheme.ssax-sxml
Message-ID <[email protected]>
Hello!

> I notice that the handler interface for DOCTYPE discards any PublicId
> that it finds.

Well, the handler for DOCTYPE receives whatever ssax:read-external-id
passes to it. It is the latter procedure that disregards PUBLIC id

         ((eq? discriminator (string->symbol "PUBLIC"))
           (skip-until (list delimiter) port) ; this skips over public id

although the procedure may well read PublicID, and return a pair of
PublicId and SystemID. Thus, the make-parser interface does support
PublicId handling; it is ssax:read-external-id that needs small
modifications...

	Cheers,
	Oleg


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV