-
Notifications
You must be signed in to change notification settings - Fork 127
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
Fix: creation of empty attList
in odd2odd.xsl
#630
Conversation
OK. I have now reproduced the basic change you made for elements (putting the output Can either @bwbohl or @lb42 provide a sample ODD that fails due to an (BTW, still moderately pessimistic about inclusion in next release, for although this is not a complex fix, there are a dozen others also trying to get into next release :-) |
The teiSimplePrint odd exhibits this and two other problems according to the issue i originally raised some time ago (#319 ... 5 years ago) |
OK. I tested using Exemplars/tei_simplePrint.odd (Sorry, @lb42, I had misunderstood). I compared the output of the Stylesheets in this branch against the output of the Stylesheets in the issue_2382_eventName branch (the branch I happened to be on at the time), and the only differences are a) the value of the This leads me to believe this is entirely successful, and could be merged. An incidental finding is that tei_simplePrint.odd is itself invalid. There are duplicate occurrences of 4 different |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both of the test failures are the SLACK_WEBHOOK thing, so have nothing to do with the actual XSLT. Thus I think if @joeytakeda (or anyone else) can reproduce a successful of an ODD with a known problem, this can just be merged.
Those duplicate xmlid values are however all inside egXML elements where arguably they should be permissible. |
I made a test with and ODD that had the empty I also ran Test and Test2 in my local machine and everything passed. I think this is ready to be merged. |
addresses #319
This is a local fix for
elementSpec
and probably these changes should be made in a more general way.