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

Schema viewer unable to render anonymous complex types #2134

Open
at055612 opened this issue Mar 23, 2021 · 0 comments
Open

Schema viewer unable to render anonymous complex types #2134

at055612 opened this issue Mar 23, 2021 · 0 comments
Labels
Milestone

Comments

@at055612
Copy link
Member

image

Clicking on Hash gives you

image

The .xsd for Hash is

                    <xs:element name="Hash" minOccurs="0" maxOccurs="1">
                        <xs:complexType>
                            <xs:simpleContent>
                                <xs:extension base="xs:string">
                                    <xs:annotation>
                                        <xs:documentation>The value obtained from applying a hash function (e.g. MD5, SHA-256, etc.) to the contents of the file.</xs:documentation>
                                    </xs:annotation>
                                    <xs:attribute name="Type" type="xs:string" use="optional">
                                        <xs:annotation>
                                            <xs:documentation>The type of hashing algorithm used, e.g. MD5, SHA-256, etc.</xs:documentation>
                                        </xs:annotation>
                                    </xs:attribute>
                                </xs:extension>
                            </xs:simpleContent>
                        </xs:complexType>
                    </xs:element>

Either we need to only use named complex types in the schema or the viewer needs to handle this.

Seen in v7.0-beta.93 and 6.1

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

No branches or pull requests

1 participant