Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for group element #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marek-veber
Copy link

I don't study any specification, byt my code works for /usr/bin/xsd2ruby.rb --xsd filter.xsd --mapper --mapping_registry --force --classdef pohoda-xsd --module_path 'PohodaXsd'

Old code generate exeption with xsd like:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ftr="http://www.stormware.cz/schema/version_2/filter.xsd"
xmlns="http://www.stormware.cz/schema/version_2/filter.xsd"
targetNamespace="http://www.stormware.cz/schema/version_2/filter.xsd"
elementFormDefault="qualified"

<xsd:complexType name="requestInvoiceType">
<xsd:group ref="ftr:groupFilter_1"/>
</xsd:complexType>

<xsd:group name="groupFilter_1">
xsd:all
<xsd:element name="filter" type="ftr:filterDocsType" minOccurs="0">
xsd:annotation
xsd:documentationSeznam polí, podle kterých se budou filtrovat doklady.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="userFilterName" type="xsd:string" minOccurs="0">
xsd:annotation
xsd:documentationIdentifikátor uživatelského filtru v požadované agendě, který má být použit pro filtraci záznamů.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
</xsd:group>

</xsd:schema>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant