xsd2php icon indicating copy to clipboard operation
xsd2php copied to clipboard

Sequence any namespace

Open vphant opened this issue 9 years ago • 3 comments

There is a problem when generating classes and meta data yml.

<xs:element name="site-specifics">
  <xs:complexType>
    <xs:sequence>
      <xs:any namespace="http://services.mobile.de/schema/seller/site-specifics-1.0"
              minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="site-id" use="optional"/>
  </xs:complexType>
</xs:element>

Inside SiteSpecifics class and meta data only SiteId is generated, but expected elements from namespace are absent.

vphant avatar Nov 20 '15 12:11 vphant

+1

lazyants avatar Nov 20 '15 14:11 lazyants

This is a know limitation. I had some idea on how to tackle it... If someone need this feature and is interested to implement it, i'm open to talk about it.

goetas avatar Jan 16 '16 10:01 goetas

Hi, goetas I need this feature, could you share your idea? thanks.

azole avatar Mar 17 '16 09:03 azole