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

Behavior of pattern/@documents #209

Open
xatapult opened this issue Sep 6, 2021 · 1 comment
Open

Behavior of pattern/@documents #209

xatapult opened this issue Sep 6, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@xatapult
Copy link

xatapult commented Sep 6, 2021

The ISO skeleton implementation resolves a pattern/@documents value as relative the source XML document's location.

SchXslt resolves this as relative to the schema location.

The standard leaves this undefined. However, I think the ISO interpretation makes more sense: When a source document contains a relative reference to some other document, this path is usually relative to the source document. Resolving it relative to the schema document (which could be anywhere) does IMHO not make much sense.

@dmj dmj added the enhancement New feature or request label Sep 6, 2021
@dmj
Copy link
Member

dmj commented Sep 6, 2021

Yes, resolving the URIs relative to the source document makes sense. To be exact: Currently SchXslt resolves the URIs relative to the validation stylesheets location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants