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

Clarify that xml:base processing does not apply to <relative-profile-designator>. #1033

Closed
skynavga opened this issue Jan 9, 2019 · 3 comments · Fixed by #1054
Closed

Clarify that xml:base processing does not apply to <relative-profile-designator>. #1033

skynavga opened this issue Jan 9, 2019 · 3 comments · Fixed by #1054

Comments

@skynavga
Copy link
Collaborator

skynavga commented Jan 9, 2019

Add note to §8.3.14 indicating that xml:base related processing does not apply when absolutizing a <relative-profile-designator>.

@nigelmegitt
Copy link
Contributor

Is this not also the case for <fragment-profile-designator>?

Come to think of it, the spec seems to be ambiguous here because a <fragment-profile-designator> is a <relative-profile-designator> since the constraint on <uri> for <relative-uri> is that no scheme is present, and that constraint also applies to all <fragment-uri>s too.

Only in the single case that a query is present is any distinction between the two possible types. Further, no other use is made of <fragment-uri> anywhere in the document.

I suggest adding to this issue that we should remove <fragment-uri> altogether since it serves no purpose beyond what is already allowed by <relative-uri>.

@skynavga
Copy link
Collaborator Author

@nigelmegitt In part, but we need <fragment-profile-designator> to be different. I will address your point in #1038, not this issue.

@nigelmegitt
Copy link
Contributor

@skynavga I've re-examined the spec text here and it looks like I made a mistake in #1033 (comment) - the presence or absence of the path is adequate to distinguish between <fragment-profile-designator> (where it is absent) and <relative-profile-designator> (where it is present). I think any reasonable reader would infer that for a path to be present it must be non-empty, though RFC3986 does allow empty paths.

skynavga added a commit that referenced this issue Sep 22, 2019
Clarify relative profile designator does not use xml:base (#1033).
@skynavga skynavga removed their assignment Oct 20, 2019
@skynavga skynavga added pr merged and removed pr open labels Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants