Identifiers in SAX Locators
by Bjoern Hoehrmann other posts by this author
Dec 8 2004 1:44AM messages near this date
view in the new Beta List Site
Frustration with XML::Simple
|
Re: Identifiers in SAX Locators
Hi,
Playing with the locator implementation in XML::SAX::ExpatXS 1.03 I
found that it reports the SystemId and PublicId of the external subset
rather than those of the currently processed entity, i.e. for a typical
XHTML document I would get start_element events with a locator of
...
SystemId => 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd',
PublicId => '-//W3C//DTD XHTML 1.0 Transitional//EN',
...
Not what I would have expected from the current Perl SAX 2.1 spec, is
this intentional? I think it should report the identifiers of the entity
that is currently processed (or none if those are not known).
regards.
--
Björn Höhrmann · mailto:bjoern@[...].de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Bjoern Hoehrmann
Petr Cimprich
|