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

Support directional language-tagged strings, Closes #39 #40

Merged
merged 4 commits into from
Nov 30, 2023

Conversation

rubensworks
Copy link
Member

@rubensworks rubensworks commented Oct 25, 2023

Similar to w3c/sparql-results-json#33, "its:dir" was chosen as key to be aligned with "xml:lang" following https://www.w3.org/TR/2007/REC-its-20070403/#att.dir

This requires the "its" namespace to be added to results that include literals with base directions.


Preview | Diff

@rubensworks rubensworks requested review from domel and Tpt October 25, 2023 11:52
@rubensworks rubensworks added the spec:substantive Change in the spec affecting its normative content (class 3) –see also spec:bug, spec:new-feature label Oct 25, 2023
spec/index.html Outdated Show resolved Hide resolved
@rubensworks rubensworks requested a review from Tpt November 10, 2023 08:50
spec/output.srx Outdated
xsi:schemaLocation="http://www.w3.org/2001/sw/DataAccess/rf1/result2.xsd">
xsi:schemaLocation="http://www.w3.org/2001/sw/DataAccess/rf1/result2.xsd"
xmlns:its="http://www.w3.org/2005/11/its"
its:version="1.0">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe move to 2.0? (same with output-quoted.srx).

<sparql xmlns="http://www.w3.org/2005/sparql-results#">
<sparql xmlns="http://www.w3.org/2005/sparql-results#"
xmlns:its="http://www.w3.org/2005/11/its"
its:version="2.0">
...
</sparql>
</pre>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would maybe state that other its:version values are ok to not make migrating to new its version a breaking change in future versions of XML query results.

@rubensworks rubensworks merged commit 740e94f into main Nov 30, 2023
1 check passed
@rubensworks rubensworks deleted the feature/basedir branch November 30, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:substantive Change in the spec affecting its normative content (class 3) –see also spec:bug, spec:new-feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants