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

TEI odd2odd.xsl cannot follow redirect from http to https #37

Open
djbpitt opened this issue Oct 29, 2019 · 3 comments
Open

TEI odd2odd.xsl cannot follow redirect from http to https #37

djbpitt opened this issue Oct 29, 2019 · 3 comments

Comments

@djbpitt
Copy link

djbpitt commented Oct 29, 2019

@djbpitt I can reproduce the problem on the ODD file downloaded from:
https://raw.githubusercontent.com/djbpitt/repertorium/master/tei_ms_repertorium.odd
The XSLT stylesheet "OXYGEN_INSTALL_DIR\frameworks\tei\xml\tei\stylesheet\odds\odd2odd.xsl" uses the doc-available method to see if a remote XML document is accessible:

http://www.tei-c.org/Vault/P5/3.2.0/xml/tei/odd/p5subset.xml

but the link is redirected to the "https" equivalent and the HTTP connection used by the XSLT processor cannot follow the redirect.

If you open the same odd2odd.xsl above, it has a parameter:

    <xsl:param name="defaultTEIServer">http://www.tei-c.org/Vault/P5/</xsl:param>

which should be changed to:

     <xsl:param name="defaultTEIServer">https://www.tei-c.org/Vault/P5/</xsl:param>

But this is problem not related to this particular issue, maybe you can add a separate issue for it.

Originally posted by @raducoravu in #30 (comment)

@djbpitt
Copy link
Author

djbpitt commented Oct 29, 2019

@raducoravu Opening separate issue for TEI stylesheet problem described above. Thanks again!

@martindholmes
Copy link
Contributor

The Stylesheets repo has already been updated to handle this in some cases, but doesn't seem to have been updated in others. I'll raise this as a Stylesheets bug.

@martindholmes
Copy link
Contributor

@djbpitt I believe this has been handled by Stylesheets changes; could you confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants