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
Namespace support in SAX serialisers
by A. Pagaltzis other posts by this author
Oct 14 2005 1:29PM messages near this date
view in the new Beta List Site
Re: [PATCH] attribute namespace bug in XML::SAX::PurePerl | Re: Namespace support in SAX serialisers
& XSLT Hi all,

whatâ??s the skinny on this? I see the following elements available
when emitting, say a start_element event:

    Name
    LocalName
    Prefix
    NamespaceURI

Now, my question is, which of this data is minimally required
according to the spec?

F.ex., XML:SAX::Writer requires Name, Prefix and NamespaceURI to
work, at minimum, and seems to ignore LocalName. OTOH
XML::Genx::SAXWriter seems to ignore Name altogether. Etc etc.

It really makes me wonder though. Why should I have to specify a
Name *and* a Prefix? Ideally Iâ??d like to specify only a LocalName
and a NamespaceURI, and the only Prefix I care to control
directly is the empty prefix for the default namespace. All other
management should be done by the serialiser on my behalf.

Is that a reasonably expectation?

Regards,
-- 
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just-> another->Perl->hacker;
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
A. Pagaltzis
Petr Cimprich
A. Pagaltzis
Petr Cimprich
A. Pagaltzis
Robin Berjon
Petr Cimprich
Dominic Mitchell
A. Pagaltzis
Robin Berjon
Dominic Mitchell
Robin Berjon
A. Pagaltzis
Robin Berjon
A. Pagaltzis
Robin Berjon
A. Pagaltzis
A. Pagaltzis
Dominic Mitchell
Robin Berjon
Dominic Mitchell
A. Pagaltzis
Dominic Mitchell
Dominic Mitchell

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