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, me@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.mahi@gmail.com To: BaseX basex-talk@mailman.uni-konstanz.de Subject: [basex-talk] Schematron package error Message-ID: <CAK4jKORwDbR7AROZHS=0kYtONAK6=MugXTO4+-+=
twJu9KwkVA@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
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, <me@jamesball.co.uk mailto:me@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.mahi@gmail.com <mailto:dharam.mahi@gmail.com>> > To: BaseX <basex-talk@mailman.uni-konstanz.de <mailto:basex-talk@mailman.uni-konstanz.de>> > Subject: [basex-talk] Schematron package error > Message-ID: > <CAK4jKORwDbR7AROZHS=0kYtONAK6=MugXTO4+-+=twJu9KwkVA@mail.gmail.com <mailto:twJu9KwkVA@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 >
Hi Dharmendra,
Thanks for sending me the files. They run without error for me. I was using BaseX 9.0.2 with Saxon saxon9he-9.7.0.20.jar
Using the GUI on windows produced an out of memory until I increased xms in the bat file: set BASEX_JVM=-Xmx2400m %BASEX_JVM%
The schematron you are using requires xslt2 so having Saxon in the path is important.
I suggest you create a new BaseX 9.0.2 installation. Install saxon and the schematron package and try running in that.
Regards /Andy
On 22 July 2018 at 19:03, Imsieke, Gerrit, le-tex gerrit.imsieke@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, <me@jamesball.co.uk mailto: me@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.mahi@gmail.com <mailto:
dharam.mahi@gmail.com>> > To: BaseX <basex-talk@mailman.uni-konstanz.de mailto:basex-talk@mailman.uni-konstanz.de> > Subject: [basex-talk] Schematron package error > Message-ID: > <CAK4jKORwDbR7AROZHS=0kYtONAK6=MugXTO4+-+= twJu9KwkVA@mail.gmail.com mailto:twJu9KwkVA@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 >
basex-talk@mailman.uni-konstanz.de