ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved