Skip to content

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

@djbpitt

Description

@djbpitt

@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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions