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

Microsoft.OData.Edm 7.9.4 can't parse standard core vocabulary #2246

Closed
chrisspre opened this issue Nov 9, 2021 · 1 comment · Fixed by #2779 · May be fixed by #2791
Closed

Microsoft.OData.Edm 7.9.4 can't parse standard core vocabulary #2246

chrisspre opened this issue Nov 9, 2021 · 1 comment · Fixed by #2779 · May be fixed by #2791
Assignees

Comments

@chrisspre
Copy link
Contributor

reading https://raw.githubusercontent.com/oasis-tcs/odata-vocabularies/main/vocabularies/Org.OData.Core.V1.xml via

CsdlReader.TryParse(reader, out var model, out var errors)

returns false and an error

UnexpectedXmlAttribute : The attribute 'MaxLength' was not expected in the given context. : (523, 75)

Library version Microsoft.OData.Edm" 7.9.4

@chrisspre
Copy link
Contributor Author

For context here is the actual file in an editor showing line numbers

image

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