You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the XSD the group 'gp.record_metadata' specifies an element 'DeletionText' with maxOccurs="unbounded". In the code above this element is created as a single, but I would expect the output for this field to be:
Ok, well for now I guess I'll just modify the created classes to fix the elements that should be arrays as I have a project I need to finish.
I would like to try and fix this though if I get some time. I noticed that the phpunit tests don't seem to test for this scenario of an array element inside of a group. Is it likely the bug is here in xsd2php or in the xsd-reader?
Hi,
not sure if this issue should be posted here in xsd2php or in xsd-reader, but I have the following fragment of an XSD:
This currently produces the following code fragment for the class Product:
In the XSD the group 'gp.record_metadata' specifies an element 'DeletionText' with maxOccurs="unbounded". In the code above this element is created as a single, but I would expect the output for this field to be:
and for there to be additional methods:
Is this a bug, or a missing feature?
Here is the full XSD:
ONIX_BookProduct_3.0_reference_strict.xsd.zip
and my config:
The text was updated successfully, but these errors were encountered: