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

parsing error when attr definition is missing #45

Open
srearl opened this issue Dec 18, 2021 · 0 comments
Open

parsing error when attr definition is missing #45

srearl opened this issue Dec 18, 2021 · 0 comments
Assignees
Labels

Comments

@srearl
Copy link
Contributor

srearl commented Dec 18, 2021

the following error is a real hassle to track down, seems that we could flag this in read_attributes or the create functions so that we catch it before we build the eml/xml

occurred when was present but was empty

[2] "Element 'attributeDefinition': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '1'."
[3] "Element 'attributeDefinition': [facet 'pattern'] The value '' is not accepted by the pattern '[\s][\S][\s\S]'."
[4] "Element 'definition': [facet 'minLength'] The value has a length of '0'; this underruns the allowed minimum length of '1'."
[5] "Element 'definition': [facet 'pattern'] The value '' is not accepted by the pattern '[\s][\S][\s\S]'."

@srearl srearl self-assigned this Nov 3, 2023
@srearl srearl added the bug label Nov 3, 2023
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