Skip Menu |
 

This queue is for tickets about the RPC-XML CPAN distribution.

Report information
The Basics
Id: 55628
Status: resolved
Priority: 0/
Queue: RPC-XML

People
Owner: rjray [...] blackperl.com
Requestors: aar [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.76



Subject: Not all ISO8601 are supported
Download (untitled) / with headers
text/plain 237b
The module should support any format specified by ISO8601, while it currently only parses one of them. See this POD for a list of all possible formats: http://search.cpan.org/dist/DateTime-Format-ISO8601/lib/DateTime/Format/ISO8601.pod
Download (untitled) / with headers
text/plain 582b
The support of ISO8601 in XML-RPC is already broken, as the author of the spec (XML-RPC) detailed the expression of dates incorrectly. I will try to handle parsing of all the varieties that are complete expressions (that is, I can only use strings that specify full date and time), but I will still be limited to only emitting strings that comply with the XML-RPC spec. Randy -- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Randy J. Ray Silicon Valley Scale Modelers: http://www.svsm.org rjray@blackperl.com randy.j.ray@gmail.com
Download (untitled) / with headers
text/plain 739b
Il Gio 01 Apr 2010 14:19:20, RJRAY ha scritto: Show quoted text
> The support of ISO8601 in XML-RPC is already broken, as the author of > the spec (XML-RPC) detailed the expression of dates incorrectly. I will > try to handle parsing of all the varieties that are complete expressions > (that is, I can only use strings that specify full date and time), but I > will still be limited to only emitting strings that comply with the > XML-RPC spec.
Hi Randy, in order to work around the loose XML-RPC spec, I'd follow the Postel's Law (http://microformats.org/wiki/be-strict) by accepting any date/time format described by ISO8601. This would be needed to comply with your POD too, which tells the user to look elsewhere for the specification for ISO8601.
Download (untitled) / with headers
text/plain 390b
OK, now if you have the DateTime::Format::ISO8601 package available, RPC::XML::datetime_iso8601 will use it to try and parse the string you pass in, to see if it fits ISO 8601 beyond just the limited format I support. If it does, it stringifies it into the XML-RPC (broken) format and stores it. This will be in the next release. -- Randy J. Ray rjray@blackperl.com randy.j.ray@gmail.com
Delivered in 0.76 release. -- Randy J. Ray rjray@blackperl.com randy.j.ray@gmail.com


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.