Skip to content

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