Giter VIP home page Giter VIP logo

Comments (5)

apenski avatar apenski commented on July 23, 2024

well, if the compiled schematron contains higher-order-functions this won't work with the included Saxon HE and I don't think upgrading would solve this.

If schxslt generates this kind of xsl instruction which is not supported by saxon HE, I would consider this as a bug or at least optimization potential of schxslt.

from validator.

rkottmann avatar rkottmann commented on July 23, 2024

Upgrading works. I am not into all changelogs of Saxon, but it has to do with XSLT3 etc. support and might work with versions > 10.

However it surely works with 11.3.

I tested it with this snippet:

<target name="eforms-sdk-examples-validated-with-schxslt" depends="compile-test">
        
        <xslt in="${eforms-sdk.instances.dir}/CEI.xml" style="${eforms-sdk.schematron.validator}" destdir="${reports.dir}" out="${reports.dir}/cei.svrl">
            <classpath  >
                <pathelement location="${lib.dir}/${saxon-he.artifact.name}"/>
                <pathelement location="${lib.dir}/xmlresolver-4.2.0.jar"/>
            </classpath>
            <factory name="net.sf.saxon.TransformerFactoryImpl" />
<!--            <fileset dir="${eforms-sdk.instances.dir}"/>-->
        </xslt>
        
    </target>

which I just pushed to https://projekte.kosit.org/eforms/validator-configuration-eforms

In any case, I suggest to upgrade all pom dependencies or at least Saxon to newest versions. It is also advisable to switch to schxslt based Schematron validation, because the ISO based one is officially deprecated in favor of schxslt.

In my special case, I need it urgently, cause I have to deliver the validator-configuration-eforms by mid of July.

from validator.

phax avatar phax commented on July 23, 2024

The validator uses the Saxon HE version 9.9.1-7, the latest production version is 11.4 - this is a major difference....

from validator.

apenski avatar apenski commented on July 23, 2024

We will upgrade to a recent saxon version with the next release targeted for december

from validator.

apenski avatar apenski commented on July 23, 2024

upgraded to 11.4 in main

from validator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.