in reply to Does XML::Smart::DTD not understand ENTITIES?

Do you have XML::Parser installed? If not XML::Smart will use its own parser, that doesn't seem to parse DTDs (from the doc: XML::Smart::Parser can only handle basic XML data (not supported PCDATA, and any header like: ENTITY, NOTATION, etc...).

  • Comment on Re: Does XML::Smart::DTD not understand ENTITIES?

Replies are listed 'Best First'.
Re^2: Does XML::Smart::DTD not understand ENTITIES?
by loris (Hermit) on Apr 11, 2005 at 11:20 UTC

    Thanks for bringing the documentation to my attention.

    I do have XML::Parser installed, although I am actually using XML::LibXML to do my parsing. However, even if I do

    my $dtd = XML::Smart::DTD->new($dtdName,'XML::Parser');

    I still have the same problem. Any ideas what could be causing this?

    loris