Skip to content

Conversation

@mikesname
Copy link
Contributor

@mikesname mikesname commented Oct 28, 2025

Typically (the default) ShExML relative file sources are resolved for loading, uh, relative to the CWD. This can be tricky in some environments where you can't necessarily know this when writing the mapping rules. This change allows explicitly providing the base path from which relative sources are loaded.

@mikesname mikesname marked this pull request as ready for review October 28, 2025 15:17
@mikesname
Copy link
Contributor Author

I struggled a bit to figure out how to write a test here so this might need revising. Another feature I want to add is a Java-compatible builder for the MappingLauncher.

@mikesname mikesname marked this pull request as draft October 28, 2025 16:17
@mikesname mikesname force-pushed the feature/add_relative_base_path branch from cad3eeb to fdb6961 Compare October 28, 2025 16:32
@mikesname mikesname marked this pull request as ready for review October 28, 2025 16:34
Typically (the default) ShExML relative file sources are resolved
for loading, uh, relative to the CWD. This can be tricky in some
environments where you can't necessarily know this when writing the
mapping rules. This change allows explicitly providing the base path
from which relative files are loaded.
@mikesname mikesname force-pushed the feature/add_relative_base_path branch from fdb6961 to 8fb58c3 Compare October 29, 2025 14:08
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

Successfully merging this pull request may close these issues.

1 participant