-
Notifications
You must be signed in to change notification settings - Fork 32
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
Second instance of annotation mis-placed #122
Comments
I was able to reproduce @GilShalit's report for triggering the primary issue. Here's a screenshot showing how the annotation interface looks before and after selecting the "merge and save annotations to TEI" button (i.e., the "save button") in step 4 of his directions. Before After |
It would be valuable to see if there are differences in the markup created. |
There is a bug in modules/lib/api/annotations.xql |
Just wanted to confirm that @rowissmann's fix does solve the reported issue. I guess this can be closed but maybe only after making the change in the distribution package. |
This is great news! @rowissmann Could you confirm that you mean this line? https://github.com/eeditiones/tei-publisher-app/blob/master/modules/lib/api/annotations.xql#L370 |
I am attaching the image @rowissmann put in the slack channel, with the highlighted line that needed replacing. It seems there have been some other changes to the module since the current distribution was finalized for v 7.1. |
Looking at the current line (thanks @joewiz)
The fix is to add let $primary := $node/tei:sic | $node/tei:abbr | $node/tei:orig I will open a PR if @rowissmann or someone else does not beat me ;) The harder part will be to come up with a reliable test for this. |
At least two annotation types (Abbreviation and Regularization) have a problem in their implementation.
To reproduce, open a file in the annotation samples of the TEI-Publisher annotate samples collection, either locally or on the server. The steps below are for 3267.
Some notes:
The text was updated successfully, but these errors were encountered: