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
Re: Identifiers in SAX Locators
by Petr Cimprich other posts by this author
Dec 8 2004 6:40AM messages near this date
view in the new Beta List Site
Identifiers in SAX Locators | XML::Simple Error
& XSLT Hi,

Bjoern Hoehrmann wrote:

> 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? 
> 

Definitely not.

> I think it should report the identifiers of the entity
> that is currently processed (or none if those are not known).
>   
> 

Sure, this has to be fixed. Thanks for pointing it out.
Petr

-- 
Petr Cimprich
Ginger Alliance
www.gingerall.com
Thread:
Bjoern Hoehrmann
Petr Cimprich

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