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

Ticket #442 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

name crash in generated classdef for simpleType enumeration

Reported by: nahi Assigned to: nahi
Priority: high Milestone: 1.5.9
Component: soap4r Version: 1.5
Keywords: Cc:

Description

      <s:simpleType name="Fiction">
        <s:restriction base="s:string">
          <s:enumeration value="NonFiction" />
          <s:enumeration value="Fiction" />
          <s:enumeration value="Tout" />
        </s:restriction>
      </s:simpleType>

=>

class Fiction < ::String
  Fiction = Fiction.new("Fiction") # "Fiction" conflicts here
  NonFiction = Fiction.new("NonFiction")
  Tout = Fiction.new("Tout")
end

Change History

10/02/07 23:23:29 changed by nahi

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

(In [1995]) * avoid name crash in generated classdef for simpleType enumeration. closes #442.