-
Notifications
You must be signed in to change notification settings - Fork 61
Allow xsd:enumeration #121
base: master
Are you sure you want to change the base?
Conversation
* goetasmaster: (37 commits) 2.1 branch Fix tests for the latest runtime Fixed dependencies that should allow to use the official jms serializer added group check readme.md fix misspell and additional requirement added to make serializer example works use semantic version install Update .scrutinizer.yml test fix symfony is not needed Referenced elements should receive the namespace of the scheme of the element that's being referenced. Updated doc re format all the code Move to https://github.com/goetas-webservices/xsd-reader Fixed some dependencies Fixed code coverage upload split xsd2php into two components, xsd2php and xsd2php runtime split repo, dymanic part goes on xsd2php-runtime new jms serializer require php 5.5 added support for serializer 1.0 ... # Conflicts: # composer.json # lib/Php/ClassGenerator.php # lib/Php/PhpConverter.php # lib/Php/Structure/PHPClass.php
…ant as an option as well
|
For the record, here's the issue where I found out about the fork: #35 And here's the fork: https://github.com/rtsde/xsd2php |
|
Tests are failing |
|
I wonder how the test may fail, in the end, this is simply the second PHP 5.5 build with prefer lowest and it can't call a method which should be available in Zend |
|
add constant was added in 2.4. the minimum is 2.3 at the moment |
|
I see, the |
|
@goetas So what is the way to go now? |
|
In previous version of the library i had this feature, but i have removed it (and added) many times. Talking for my self, I found out that having constants does not provide a real advantage, and there are so many edge cases that can not be handled. Keeping this open anyway. Maybe a great solution will pop up one day :) Ah, as it stands in the readme, I'm moving the development to https://github.com/goetas-webservices/xsd2php |
* enumeration-cdata-fix: make enumeration elements not use CDATA
I wanted to get values from xsd:enumeration elements in my project and I saw that @demonkoryu had done work to add that feature. This repo has been updated a bit since @demonkoryu forked and added that feature so I took the liberty of merging the changes in, and added a feature to allow numeric constants, and an empty string constant.
Thoughts?