Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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>