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
|