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

Missing slashes in atomURI regex pattern #3

Open
dwhodges2 opened this issue Sep 10, 2020 · 0 comments
Open

Missing slashes in atomURI regex pattern #3

dwhodges2 opened this issue Sep 10, 2020 · 0 comments

Comments

@dwhodges2
Copy link

The regex pattern on line 78 appears to have some slashes missing from special characters, causing it to invalidate many acceptable URIs:

atomUri = xsd:anyURI - xsd:string {pattern = '.[ <>{}|^`"\nrt].'}

"\nrt" should be changed to "\n\r\t".

Without slashes, the literal characters "r" and "t" are matched. The change better captures URI syntax (though could use further refinement).

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

1 participant