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

Xsd provider requires wrapper element #771

Closed
nwolverson opened this issue Jan 3, 2015 · 1 comment
Closed

Xsd provider requires wrapper element #771

nwolverson opened this issue Jan 3, 2015 · 1 comment

Comments

@nwolverson
Copy link
Contributor

Seems like the XSD provider can't parse documents conforming to those schemas that it supports - it requires a wrapper element around those defined in the schema (tests have a top level <schema> element in the XML being parsed for some reason - not the schema, the actual XML document).

On top of that if the schema namespace is included it won't parse either.

@nwolverson
Copy link
Contributor Author

I see ParseRootType generated method where RootType is the root element type works; missing part would be for Parse and Load methods to behave like this for the root element, ie handle top level xs:element better for the properties on the top-level provided type.

@ovatsus ovatsus added this to the Xsd milestone Jan 3, 2015
@ovatsus ovatsus removed the type-bug label Apr 9, 2018
@ovatsus ovatsus closed this as completed Apr 9, 2018
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

No branches or pull requests

2 participants