Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #401 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

XSDDuration doesn't support durations lower than a day

Reported by: user Assigned to: nahi
Priority: normal Milestone: 1.5.8
Component: soap4r Version: 1.5
Keywords: Cc:

Description

failure: The type XSDDuration doesn't accepts durations lower than a day. The W3C recommendation for duration http://www.w3.org/TR/xmlschema-2/#duration say that such values are valid.

example: "PT23H5M" is a valid value for a duration of 23 hours and 5 minutes.

location: datatypes.rb line 444 ( in version soap4r-1.5.6 )

workaround: change "if ($5 and ((!$2 and !$3 and !$4) or (!$6 and !$7 and !$8)))" to "if ($5 and (!$6 and !$7 and !$8))"

about me: i am a noob in ruby, but dealing a lot with webservices. working actualy at my diploma thesis and check the interoperability of ruby/soap4r with another webservice framework

Change History

08/23/07 20:39:04 changed by nahi

  • status changed from new to assigned.
  • milestone changed from undefined to 1.5.8.

08/23/07 21:01:29 changed by nahi

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [1919]) * should allow durations lower than a day. Thanks to an anonymous user for taking the time to file the ticket #401. closes #401.