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

Ticket #362 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

classname parameter for bin/xsd2ruby.rb

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

Description

I want the
specified classname to become the generated file name.  Looking at the
code I don't think it does that.  Correct?

I would like to be able to extend the bin/xsd2ruby.rb to codegen all
xsd files in a directory, but if defaults to naming the generated file
default.rb this won't work.

Change History

06/19/07 23:21:25 changed by nahi

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

(In [1857]) * let xsd2ruby.rb generate a mapping registry and a mapper from XML Schema definition. the mapper has obj2xml and xml2obj which uses the generated mapping registry. you can use this instead of XSD::Mapping.obj2xml and XSD::Mapping.xml2obj which does not know anything about mapping. closes #362, #363.