xsd2php icon indicating copy to clipboard operation
xsd2php copied to clipboard

The long naming strategy doesn't have any effect

Open Sevavietl opened this issue 6 years ago • 0 comments

Hi. Thank you for the great library.

I'm having trouble with enabling the long naming strategy. As per example, I set the following in config:

naming_strategy: long

And regenerated files. But after this, I ended up with the same files I had before manipulations. Do I understand correctly, that all my element classes should have Element suffix and all my types classes should have the Type suffix after generating when using this naming strategy?

~~Actually, what forced me to try using the long naming, is that among the generated classes I found the class named PRINT, which I cannot use as this is a reserved word.~~ My bad, I have not updated to the latest version, where more reversed words were added.

Thank you in advance.

Sevavietl avatar Mar 18 '18 16:03 Sevavietl