ZF-11313: Autodiscover does not allow setting of manually defined types or attributes
Description
Auto discovery has two major failings.
- if you want to pass a default element type i.e. 'xsd:DateTime' there is no mechanism for this.
- if you want to add custom attributes to an element there is no mechanism for this
Comments
Posted by Matt Cockayne (matt.cockayne@hotmail.co.uk) on 2011-04-21T14:42:59.000+0000
I have generated a patch for this to review and fix. unfortunately due to some weird issue with my CLA I dont seem to be able to do anything in Jira at the moment.I have asked BinaryKitten to upload for me
The patch will now allow you to define arbitrary xsd types for a property beware this does not have any validation for the type. It now allows
It will also now allow the setting of additional attributes for elements that hit the DefaultComplexType
Which will now allow you to define these attributes in a properties docblock
Posted by Kathryn Reeve (binarykitten) on 2011-04-21T14:46:36.000+0000
Attached Diff provided by Matt Cockayne
Posted by Jeannie BOFFEL (jboffel) on 2011-11-10T14:57:05.000+0000
I think your point is covered at least partially by the issue ZF-9180.