HI Christial,i am doing validation like this:import module namespace schematron = "http://github.com/Schematron/schematron-basex ";let $sch := schematron:compile(doc('D:\2018\schemas\docbook-mods.sch' )) let $xml := fn:doc('D:\2018\InthisIssue66.xml') let $validation := schematron:validate($xml, $sch)return $validationthen it is giving thease kind of errors.Error:Stopped at C:/Program Files (x86)/BaseX/repo/http-github.com-Schematron-schematron- basex-1.2/content/schematron. xqm, 39/31: [bxerr:BXSL0001] Bad name element: XPath error. No XPath.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) 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) 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) 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) 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) RegardsDharmendra Kumar SinghOn Fri, Jul 20, 2018 at 5:12 PM Christian Grün <christian.gruen@gmail.com> wrote:As usual, send us a little reproducible example. Thanks.DK Singh <dharam.mahi@gmail.com> schrieb am Fr., 20. Juli 2018, 13:39: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.RegardsDharmendra Kumar Singh