I ran it successfully on Windows with BaseX 8.6.5 and schematron-basex 1.2, both when I used proper file: URIs and Windows file system paths with backslashes.

I used both the version of /docbook-mods.sch.xml that you sent me and a version with expanded entities (using xmllint --noent --dropdtd first).

When I gave it too little stack size (-Xss108k) on startup, I could only provoke a "Stack Overflow: Try tail recursion?" BaseX error, not the "Too many nested template calls" Saxon error that you reported. Calling Saxon directly for applying iso_dsdl_include.xsl on the schema was also successful if heap and stack sizes were large enough.

What happens when you apply your Saxon EE standalone, transforming the schema with iso_dsdl_include.xsl?

Which version of Saxon 9 EE are you using?

Gerrit

On 22.07.2018 20:36, DK Singh wrote:
I Am using Saxon 9ee in the class path as well I have put it into basex lib directory

On Mon 23 Jul, 2018, 12:04 AM Imsieke, Gerrit, le-tex, <gerrit.imsi...@le-tex.de <mailto:gerrit.imsi...@le-tex.de>> wrote:

    Is saxon9he.jar or another Saxon version on the classpath as per
    
https://github.com/Schematron/schematron-basex#user-content-using-xpath-20-and-above

    ?
    The Schematron schema says queryBinding="xslt2" and this requires an
    XSLT 2 processor.

    On 22.07.2018 20:26, DK Singh wrote:
     > PFA....
     >
     > On Sun 22 Jul, 2018, 11:47 PM Imsieke, Gerrit, le-tex,
     > <gerrit.imsi...@le-tex.de <mailto:gerrit.imsi...@le-tex.de>
    <mailto:gerrit.imsi...@le-tex.de <mailto:gerrit.imsi...@le-tex.de>>>
    wrote:
     >
     >     I didn’t get a message with a Schematron from you.
     >
     >     On 22.07.2018 20:05, DK Singh wrote:
     >      > Hi,
     >      > Already I have attached the schematron in the chain Mail
     >      >
     >      > On Sun 22 Jul, 2018, 11:33 PM Imsieke, Gerrit, le-tex,
     >      > <gerrit.imsi...@le-tex.de
    <mailto:gerrit.imsi...@le-tex.de> <mailto:gerrit.imsi...@le-tex.de
    <mailto:gerrit.imsi...@le-tex.de>>
     >     <mailto:gerrit.imsi...@le-tex.de
    <mailto:gerrit.imsi...@le-tex.de> <mailto:gerrit.imsi...@le-tex.de
    <mailto:gerrit.imsi...@le-tex.de>>>>
     >     wrote:
     >      >
     >      >     I’m afraid we cannot help you without seeing the actual
     >     Schematron file
     >      >     that you are trying to compile/apply.
     >      >
     >      >     On 22.07.2018 19:59, DK Singh wrote:
     >      >      > Thank U Andy for your response, I have tried but it
    is giving
     >      >     schematron
     >      >      > compilation error, but when I validate on Oxygen editor
     >     xmls got
     >      >      > validated, as github documentation I am doing first
    schematron
     >      >      > compilation then validating the XML, SO how can I
    resolve this
     >      >     error Now
     >      >      >
     >      >      > On Sun 22 Jul, 2018, 9:39 PM James Ball,
     >     <m...@jamesball.co.uk <mailto:m...@jamesball.co.uk>
    <mailto:m...@jamesball.co.uk <mailto:m...@jamesball.co.uk>>
     >      >     <mailto:m...@jamesball.co.uk <mailto:m...@jamesball.co.uk>
    <mailto:m...@jamesball.co.uk <mailto:m...@jamesball.co.uk>>>
     >      >      > <mailto:m...@jamesball.co.uk
    <mailto:m...@jamesball.co.uk> <mailto:m...@jamesball.co.uk
    <mailto:m...@jamesball.co.uk>>
     >     <mailto:m...@jamesball.co.uk <mailto:m...@jamesball.co.uk>
    <mailto:m...@jamesball.co.uk <mailto:m...@jamesball.co.uk>>>>> wrote:
     >      >      >
     >      >      >     Hello Dharmendra,
     >      >      >
     >      >      >     Have you made sure that the Schematron is
    compiled before
     >      >     using it
     >      >      >     to validate? I think this is the error you get
    if you
     >     try to
     >      >     use an
     >      >      >     un-compiled Schematron file to perform a
    validation.
     >      >      >
     >      >      >     The necessary steps are outlined with the module
     >     documentation on
     >      >      >     GitHub and I had it working successfully just a
    week ago.
     >      >      >
     >      >      >     Regards, James
     >      >      >
     >      >      >      > Date: Fri, 20 Jul 2018 17:07:30 +0530
     >      >      >      > From: DK Singh <dharam.m...@gmail.com
    <mailto:dharam.m...@gmail.com>
     >     <mailto:dharam.m...@gmail.com <mailto:dharam.m...@gmail.com>>
     >      >     <mailto:dharam.m...@gmail.com
    <mailto:dharam.m...@gmail.com> <mailto:dharam.m...@gmail.com
    <mailto:dharam.m...@gmail.com>>>
     >     <mailto:dharam.m...@gmail.com <mailto:dharam.m...@gmail.com>
    <mailto:dharam.m...@gmail.com <mailto:dharam.m...@gmail.com>>
     >      >     <mailto:dharam.m...@gmail.com
    <mailto:dharam.m...@gmail.com> <mailto:dharam.m...@gmail.com
    <mailto:dharam.m...@gmail.com>>>>>
     >      >      >      > To: BaseX
    <basex-talk@mailman.uni-konstanz.de
    <mailto:basex-talk@mailman.uni-konstanz.de>
     >     <mailto:basex-talk@mailman.uni-konstanz.de
    <mailto:basex-talk@mailman.uni-konstanz.de>>
     >      >     <mailto:basex-talk@mailman.uni-konstanz.de
    <mailto:basex-talk@mailman.uni-konstanz.de>
     >     <mailto:basex-talk@mailman.uni-konstanz.de
    <mailto:basex-talk@mailman.uni-konstanz.de>>>
     >      >      >     <mailto:basex-talk@mailman.uni-konstanz.de
    <mailto:basex-talk@mailman.uni-konstanz.de>
     >     <mailto:basex-talk@mailman.uni-konstanz.de
    <mailto:basex-talk@mailman.uni-konstanz.de>>
     >      >     <mailto:basex-talk@mailman.uni-konstanz.de
    <mailto:basex-talk@mailman.uni-konstanz.de>
     >     <mailto:basex-talk@mailman.uni-konstanz.de
    <mailto:basex-talk@mailman.uni-konstanz.de>>>>>
     >      >      >      > Subject: [basex-talk] Schematron package error
     >      >      >      > Message-ID:
     >      >      >      >
     >      >      >
     >      >
>  <CAK4jKORwDbR7AROZHS=0kYtONAK6=MugXTO4+-+=twju9kw...@mail.gmail.com <mailto:twju9kw...@mail.gmail.com> <mailto:twju9kw...@mail.gmail.com <mailto:twju9kw...@mail.gmail.com>> <mailto:twju9kw...@mail.gmail.com <mailto:twju9kw...@mail.gmail.com> <mailto:twju9kw...@mail.gmail.com <mailto:twju9kw...@mail.gmail.com>>> <mailto:twju9kw...@mail.gmail.com <mailto:twju9kw...@mail.gmail.com> <mailto:twju9kw...@mail.gmail.com <mailto:twju9kw...@mail.gmail.com>> <mailto:twju9kw...@mail.gmail.com <mailto:twju9kw...@mail.gmail.com> <mailto:twju9kw...@mail.gmail.com <mailto:twju9kw...@mail.gmail.com>>>>>
     >      >      >      > Content-Type: text/plain; charset="utf-8"
     >      >      >      >
     >      >      >      > Hi All,
     >      >      >      >
     >      >      >      > I am doing the schematron validation against XML
     >     docuemnt
     >      >     but i
     >      >      >     am getting
     >      >      >      > these errors.
     >      >      >      >
     >      >      >      > Bad name element: XPath error. No XPath. Bad
    name
     >     element:
     >      >     XPath
     >      >      >     error. No
     >      >      >      > XPath. Error on line 1409 column 61 of
     >      >     iso_dsdl_include.xsl: Too many
     >      >      >      > nested template or function calls. The
    stylesheet
     >     may be
     >      >     looping. at
     >      >      >      > xsl:call-template name="sch-check:strip-strings"
     >      >      >      >
     >      >      >
     >      >
>  (file:///C:/Program%20Files%20(x86)/BaseX/repo/http-github.com-Schematron-schematron-basex-1.2/content/iso-schematron/iso_dsdl_include.xsl#1409)
     >      >      >      >
     >      >      >      >
     >      >      >      > it looks like basex schematron pacakge
    throwing the
     >     error
     >      >     to run
     >      >      >     schematron
     >      >      >      > validation.
     >      >      >      > can anyone suggest how can i resolve this
    errors.
     >      >      >      >
     >      >      >      > Regards
     >      >      >      > Dharmendra Kumar Singh
     >      >      >      > -------------- next part --------------
     >      >      >      > An HTML attachment was scrubbed...
     >      >      >      > URL:
     >      >      >
     >      >
>  <http://mailman.uni-konstanz.de/pipermail/basex-talk/attachments/20180720/3801dbc8/attachment-0001.html>
     >      >      >      >
     >      >      >
     >      >
     >      >     --
     >      >     Gerrit Imsieke
     >      >     Geschäftsführer / Managing Director
     >      >     le-tex publishing services GmbH
     >      >     Weissenfelser Str. 84, 04229 Leipzig, Germany
     >      >     Phone +49 341 355356 110, Fax +49 341 355356 510
     >      > gerrit.imsi...@le-tex.de <mailto:gerrit.imsi...@le-tex.de>
    <mailto:gerrit.imsi...@le-tex.de <mailto:gerrit.imsi...@le-tex.de>>
     >     <mailto:gerrit.imsi...@le-tex.de
    <mailto:gerrit.imsi...@le-tex.de> <mailto:gerrit.imsi...@le-tex.de
    <mailto:gerrit.imsi...@le-tex.de>>>,
     >      > http://www.le-tex.de
     >      >
     >      >     Registergericht / Commercial Register: Amtsgericht Leipzig
     >      >     Registernummer / Registration Number: HRB 24930
     >      >
     >      >     Geschäftsführer / Managing Directors:
     >      >     Gerrit Imsieke, Svea Jelonek, Thomas Schmidt
     >      >
     >
     >     --
     >     Gerrit Imsieke
     >     Geschäftsführer / Managing Director
     >     le-tex publishing services GmbH
     >     Weissenfelser Str. 84, 04229 Leipzig, Germany
     >     Phone +49 341 355356 110, Fax +49 341 355356 510
     > gerrit.imsi...@le-tex.de <mailto:gerrit.imsi...@le-tex.de>
    <mailto:gerrit.imsi...@le-tex.de <mailto:gerrit.imsi...@le-tex.de>>,
     > http://www.le-tex.de
     >
     >     Registergericht / Commercial Register: Amtsgericht Leipzig
     >     Registernummer / Registration Number: HRB 24930
     >
     >     Geschäftsführer / Managing Directors:
     >     Gerrit Imsieke, Svea Jelonek, Thomas Schmidt
     >

-- Gerrit Imsieke
    Geschäftsführer / Managing Director
    le-tex publishing services GmbH
    Weissenfelser Str. 84, 04229 Leipzig, Germany
    Phone +49 341 355356 110, Fax +49 341 355356 510
    gerrit.imsi...@le-tex.de <mailto:gerrit.imsi...@le-tex.de>,
    http://www.le-tex.de

    Registergericht / Commercial Register: Amtsgericht Leipzig
    Registernummer / Registration Number: HRB 24930

    Geschäftsführer / Managing Directors:
    Gerrit Imsieke, Svea Jelonek, Thomas Schmidt


--
Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit.imsi...@le-tex.de, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschäftsführer / Managing Directors:
Gerrit Imsieke, Svea Jelonek, Thomas Schmidt

Reply via email to