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

Support xs:all element #140

Open
Tails opened this issue Sep 3, 2022 · 0 comments
Open

Support xs:all element #140

Tails opened this issue Sep 3, 2022 · 0 comments

Comments

@Tails
Copy link

Tails commented Sep 3, 2022

Thank you for this awesome repo! Don't hesitate to host on crates.io.

I am trying to parse a schema that has an xs:all element, which seems to be unsupported still.

thread 'main' panicked at 'internal error: entered unreachable code: Unsupported node:
 Element { tag_name: {http://www.w3.org/2001/XMLSchema}all, attributes: [], namespaces: [Namespace { name: Some("xs"), uri: "http://www.w3.org/2001/XMLSchema" }, Namespace { name: None, uri: "http://www.customer.com/Risks" }] }
parent = Some(Element { tag_name: {http://www.w3.org/2001/XMLSchema}complexType, attributes: [Attribute { name: name, value: "Risk" }], namespaces: [Namespace { name: Some("xs"), uri: "http://www.w3.org/2001/XMLSchema" }, Namespace { name: None, uri: "http://www.customer.com/Risks" }] })
', xsd-parser/src/parser/node_parser.rs:43:14
 <xs:complexType name="Risk">
        <xs:all>
           ...
        </xs:all>
</xs:complexType>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant