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

Encoding for IRIs/CURIEs #10

Open
joeflack4 opened this issue Jun 21, 2023 · 1 comment
Open

Encoding for IRIs/CURIEs #10

joeflack4 opened this issue Jun 21, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@joeflack4
Copy link
Contributor

joeflack4 commented Jun 21, 2023

Overview

Need to properly adhere to this as closely as possible: https://www.w3.org/TR/REC-xml/#NT-NameChar

[4] | NameStartChar | ::= | ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]

[4a] | NameChar | ::= | NameStartChar | "-" | "." | [0-9] | #xB7 | [#x0300-#x036F] | [#x203F-#x2040]

That is, the first character has certain allowed values, and the rest of the string has other (more lax) allowed values.

Addresses

INVALID ELEMENT ERROR
e.g. https://.../relations/Answer_of(PPI)" contains invalid characters

Additional info

https://robot.obolibrary.org/errors#invalid-element-error

@joeflack4
Copy link
Contributor Author

@ShahimEssaid FYI I'm going to do a fix for a simple subset of this now. Probably will only stick to just fixing enough of these cases just to get it to run for us. But in an ideal world, I'd have it adhere to this.

@joeflack4 joeflack4 added the bug Something isn't working label Jun 21, 2023
@joeflack4 joeflack4 self-assigned this Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant