Daij-Djan / xsd2cocoa

Parses XSD files and generates Swift (or Objective-C) classes for IOS (or OSX) -- uses libxml only
Apache License 2.0
37 stars 21 forks source link

Retain namespacing on xsd imports #8

Open doncorsean opened 8 years ago

doncorsean commented 8 years ago

Any easy way to retain the namespacing of imported schema?

For instance I have a shared common entity schema (CMENT namespace) containing Address. When I convert the common entity schema I get what I would expect. CMENTAddress.h CMENTAddress.m

When I convert a schema (HOMESVC namespace) that imports the common entity schema I get: HOMESVCAddress.h HOMESVCAddress.m HOMESVCHome.h HOMESVCHome.m

I would expect: CMENTAddress.h CMENTAddress.m HOMESVCHome.h HOMESVCHome.m

Daij-Djan commented 8 years ago

k.. Ill look into that for a future version :) It shouldnt bee too hard. I specifically made it as it is right now ;)