-
Notifications
You must be signed in to change notification settings - Fork 123
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
ODD to XHTML|EPUB|DOCX|ODT transformations fail with the same error in functions.xsl #246
Comments
Do we just have two different prefixes defined for the examples namespace? |
Ah, indeed: there is an (unused) namespace declaration on the <TEI> element:
Yet, all example snippets declare their own (unprefixed) namespace:
If I remove the |
It's not uncommon to end up with multiple prefixes for the same ns where multiple XSLTs and input docs are involved. We should still fix this, I think. |
I think the stylesheets should be able to cope with duplicate namespace declarations, indeed. Should I keep them in tei_jtei.odd as a reminder, or just remove the unused one? I've had a quick (and tired) look at the offending code in
Either of these makes the error go away. I haven't been able to figure out where these functions are used exactly, what they do exactly, and I'm aware they might be used in a plethora of different contexts, so well aware that I might be talking rubbish, it could be a pointer... |
Let's leave the namespace in the jtei ODD for the moment, but remember to remove it before the next release of TEI just in case. In the meantime, it's a simple test for the bug. I don't really know what those functions are doing either. But this might be a nice little problem for our Stylesheets Co-operative Learning Group to look into. |
Added a fix for the second bug in 05502d1. |
I think this can be closed, assuming Mr Jenkins doesn't complain (he's slow today because it's the day for the Guidelines link checking job). |
All seems good. Closing this. |
When generating documentation for the pureODD version of tei_jtei.odd with the bleeding-edge Oxygen-TEI framework (version 3.1.95), following transformations all fail with the same error:
The error reported is situated in
${frameworks}\tei\xml\tei\stylesheet\common\functions.xsl
:(Note how the PDF transformation also fails with a different error, which is reported in #205)
The text was updated successfully, but these errors were encountered: