TEIC / Stylesheets

TEI XSL Stylesheets
232 stars 124 forks source link

Saxon error when using Saxon 12 to build schemas #613

Open martindholmes opened 1 year ago

martindholmes commented 1 year ago

Using the standard Stylesheets to create RNG from ODD with Saxon 12, the following error appears:

Fatal Error! Resolver for unparsed-text() returned non-StreamSource

I believe this is caused by this issue:

https://saxonica.plan.io/issues/5582

and I think it could be solved by replacing the Ant <xslt> call at line 355 of teianttasks.xml in <macrodef name="buildgeneric"> with a straightforward <java> task instead. The Stylesheets don't ship with Saxon 12, but it's inevitable that it will be used in various build processes which incorporate Saxon 12 and later.

sydb commented 1 year ago

Assigning to @martindholmes to check if this is still a problem, as Saxonica has closed their issue 5582.

ebeshero commented 3 months ago

@sydb @martindholmes Is this still a problem, or can we now close this ticket?

martindholmes commented 3 months ago

I don't know, to be honest, but we should be able to tell you soon when we upgrade a project to using Saxon 12. I have been waiting for 12.5 to come out before I upgrade any projects, because it brings Unicode support up to date; I see it appeared on July 2, so I'll upgrade a couple of projects in the coming week and let you know.