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: Namespace support in SAX serialisers
by Petr Cimprich other posts by this author
Oct 20 2005 7:00AM messages near this date
view in the new Beta List Site
Re: Namespace support in SAX serialisers | Re: Namespace support in SAX serialisers
& XSLT I think it's not a problem to add a sentence like:

"Each hash reference passed as argument to a handler method MUST contain 
all properties listed for the method in this document, failing which the 
event stream is not conforming the Perl SAX API. On the contrary, the 
hash references MAY contain additional properties without loss of 
conformance."


Robin Berjon wrote:

>  On Oct 20, 2005, at 01:21, A. Pagaltzis wrote:
> 
> > If you really do not to make rules for the handlers, then the
> > Perl-SAX spec should at least explicitly say that behaviour in
> > the case of fragmentary streams is undefined; so that users know
> > to expect that fragmentary streams should not be expected to
> > work.
> 
> 
>  Well, the spec doesn't use RFC 2119 wording (maybe it should) but  
>  it's quite clear as to what a conformant stream is. It always says  
>  "foo is a hash reference with these properties: (list)". If you omit  
>  some of those properties, you're not conforming to the spec and will  
>  get implementation-dependent behavior (because error handling hasn't  
>  been strongly enough specified).
> 


-- 
Petr Cimprich
Ginger Alliance
www.gingerall.com

_______________________________________________
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