Asmir Mustafic
Asmir Mustafic
Related to https://github.com/goetas/xsd2php/issues/34
@rtek I have in mind to generate Symfony validation xml rules and validate the object against these definitions.
The option 2 will be used just as suggestions
@rtek this will cause to have a lot of empty classes... (and useful just as code suggestion) - OTA XML has around 15% of empty classes. - www.irs.gov has around...
At the beginning there was enums... but after https://github.com/goetas/xsd2php/issues/34 i've removed them. later, with https://github.com/goetas/xsd2php/commit/21b6d0933221f065394872f7a17775ebefa2b6e8 i have simplified the generated classes (less extensions when extending a base type). > I...
The option for enum classes is a good idea! Doc block route? What you mean?
How this lib should help?
I like this PR. [Here](https://github.com/goetas/xsd2php/issues/49#issuecomment-67732801) you can find the reason behind the "_addTo_" prefix. Is your idea still valid?
Hmm... most probably because of the `xsd:element` If you consider this example: ``` xml ... ``` This will generate only a `Accommodation` and a `City` class. ``` php class Accommodation...
An "array" type is a different thing compared to an "array" element... most probably they should be handled differently...