|
X-He-Spam-Score: -1.9
|
|
Return-Path: <john@saxonica.com>
|
|
Delivered-To: dropbox@plan.io
|
|
Received: from m.launch.gmbh ([127.0.0.1])
|
|
by m.launch.gmbh with LMTP id YKMBKEKVTl+ODQAAJzdhvw
|
|
for <dropbox@plan.io>; Tue, 01 Sep 2020 20:38:58 +0200
|
|
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on m.launch.gmbh
|
|
X-Spam-Level:
|
|
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,
|
|
MIME_QP_LONG_LINE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE
|
|
autolearn=ham autolearn_force=no version=3.4.2
|
|
X-Spam-Report:
|
|
* -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
|
|
* [score: 0.0000]
|
|
* 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
|
|
* [94.136.40.61 listed in wl.mailspike.net]
|
|
* 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
|
|
* 0.0 HTML_MESSAGE BODY: HTML included in message
|
|
* 0.0 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76
|
|
* chars
|
|
* 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
|
|
X-Spam-Score: -1.9
|
|
Envelope-to: inbox+saxonica+f38e+saxon-js@plan.io
|
|
Authentication-Results: m.launch.gmbh; dmarc=none (p=none dis=none) header.from=saxonica.com
|
|
Received: from mailex.mailcore.me (mailex.mailcore.me [94.136.40.61])
|
|
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
|
|
(No client certificate requested)
|
|
by m.launch.gmbh (Postfix) with ESMTPS id 8CDE38A0E8
|
|
for <inbox+saxonica+f38e+saxon-js@plan.io>; Tue, 1 Sep 2020 20:38:58 +0200 (CEST)
|
|
Received: from host109-154-37-75.range109-154.btcentralplus.com ([109.154.37.75] helo=[192.168.1.118])
|
|
by smtp03.mailcore.me with esmtpa (Exim 4.92.3)
|
|
(envelope-from <john@saxonica.com>)
|
|
id 1kDBBI-0004t0-Ii
|
|
for inbox+saxonica+f38e+saxon-js@plan.io; Tue, 01 Sep 2020 19:38:57 +0100
|
|
Content-Type: multipart/alternative; boundary=Apple-Mail-E50384C1-8A4C-4290-8193-0266AAB9CA50
|
|
Content-Transfer-Encoding: 7bit
|
|
From: John Lumley <john@saxonica.com>
|
|
Mime-Version: 1.0 (1.0)
|
|
Subject: Re: [Saxon-JS - Bug #4700] Having severe Saxon-JS errors
|
|
Date: Tue, 1 Sep 2020 19:38:55 +0100
|
|
Message-Id: <A2A47C26-1E06-40C1-83A9-BD6297CBF015@saxonica.com>
|
|
References: <redmine.journal-16154.20200901183351.300005fdff6a535d@plan.io>
|
|
In-Reply-To: <redmine.journal-16154.20200901183351.300005fdff6a535d@plan.io>
|
|
To: Saxonica Developer Community <inbox+saxonica+f38e+saxon-js@plan.io>
|
|
X-Mailer: iPad Mail (17G80)
|
|
X-Mailcore-Auth: 439400283
|
|
X-Mailcore-Domain: 1881035
|
|
|
|
|
|
--Apple-Mail-E50384C1-8A4C-4290-8193-0266AAB9CA50
|
|
Content-Type: text/plain;
|
|
charset=utf-8
|
|
Content-Transfer-Encoding: quoted-printable
|
|
|
|
IIRC you have to quote the complete pair e.g. =E2=80=9C-xsl:foo.xsl=E2=80=9D=
|
|
|
|
|
|
As a check alternative use cmdprompt to check - it=E2=80=99s what I use for a=
|
|
ll my compilations... I don=E2=80=99t need PowerShell capabilities
|
|
|
|
Sent from my iPad
|
|
|
|
> On 1 Sep 2020, at 19:33, Saxonica Developer Community <notifications@plan.=
|
|
io> wrote:
|
|
>=20
|
|
> =EF=BB=BF
|
|
> --- In your reply, please do not write below this line ---
|
|
>=20
|
|
> Issue #4700 has been updated by Kurt Cagle.
|
|
> Company set to Kurt Cagle
|
|
> Contact person set to Kurt Cagle
|
|
> I am using PowerShell on Windows 10. Still getting the same error despite
|
|
> quoting the stylesheet and source.
|
|
>=20
|
|
> PS E:\code\saxon> xslt3 -xsl:"newFeatures.xsl" -s:"gameEncoding.xml"
|
|
> Error: Command line option -xsl requires a value
|
|
> at d
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:5:297)
|
|
> at C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:6:317
|
|
> at Array.forEach ()
|
|
> at f.setActualOptions
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:5:449)
|
|
> at main$$module$temp$js$source$nodeJS$command
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:33:197)
|
|
> at Object.
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:41:201)
|
|
> at Object.
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:41:383)
|
|
> at Module._compile (internal/modules/cjs/loader.js:1251:30)
|
|
> at Object.Module._extensions..js
|
|
> (internal/modules/cjs/loader.js:1272:10)
|
|
> at Module.load (internal/modules/cjs/loader.js:1100:32)
|
|
> at Function.Module._load (internal/modules/cjs/loader.js:962:14)
|
|
> at Function.executeUserEntryPoint [as runMain]
|
|
> (internal/modules/run_main.js:72:12)
|
|
> at internal/main/run_main_module.js:17:47
|
|
> Invalid command line input: newFeatures.xsl
|
|
> Usage: see
|
|
> http://www.saxonica.com/saxon-js/documentation/index.html#!nodejs/command-=
|
|
line
|
|
> Options available: -?, -co, -debug, -export, -im, -it, -master, -nogo, -ns=
|
|
,
|
|
> -o, -s, -t, -tp, -xsl
|
|
> Use -XYZ:? for details of option XYZ
|
|
> Params:
|
|
> param=3Dvalue Set stylesheet string parameter
|
|
> +param=3Dfilename Set stylesheet document parameter
|
|
> ?param=3Dexpression Set stylesheet parameter using XPath
|
|
> !param=3Dvalue Set serialization parameter
|
|
> (bindings and values containing punctuation may need to be quoted in some
|
|
> command shells,
|
|
> e.g. in PowerShell: "{NS}key=3Dval" ?range=3D"1 to 20" )
|
|
> Invalid command line input: gameEncoding.xml
|
|
> Usage: see
|
|
> http://www.saxonica.com/saxon-js/documentation/index.html#!nodejs/command-=
|
|
line
|
|
> Options available: -?, -co, -debug, -export, -im, -it, -master, -nogo, -ns=
|
|
,
|
|
> -o, -s, -t, -tp, -xsl
|
|
> Use -XYZ:? for details of option XYZ
|
|
> Params:
|
|
> param=3Dvalue Set stylesheet string parameter
|
|
> +param=3Dfilename Set stylesheet document parameter
|
|
> ?param=3Dexpression Set stylesheet parameter using XPath
|
|
> !param=3Dvalue Set serialization parameter
|
|
> (bindings and values containing punctuation may need to be quoted in some
|
|
> command shells,
|
|
> e.g. in PowerShell: "{NS}key=3Dval" ?range=3D"1 to 20" )
|
|
> Missing '=3D' in parameter 'newFeatures.xsl'
|
|
> Internal error: bad input to string constructor #undefined
|
|
> Error
|
|
> at Object.a [as internalError]
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\node_modules\saxon-=
|
|
js\SaxonJS2N.js:26:474)
|
|
> at new v
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\node_modules\saxon-=
|
|
js\SaxonJS2N.js:47:429)
|
|
> at Object.fromString
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\node_modules\saxon-=
|
|
js\SaxonJS2N.js:77:356)
|
|
> at C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:16:228
|
|
> at Array.forEach ()
|
|
> at getParams$$module$temp$js$source$nodeJS$command
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:15:132)
|
|
> at main$$module$temp$js$source$nodeJS$command
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:34:7)
|
|
> at Object.
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:41:201)
|
|
> at Object.
|
|
> (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:41:383)
|
|
> at Module._compile (internal/modules/cjs/loader.js:1251:30)
|
|
> at Object.Module._extensions..js
|
|
> (internal/modules/cjs/loader.js:1272:10)
|
|
> at Module.load (internal/modules/cjs/loader.js:1100:32)
|
|
> at Function.Module._load (internal/modules/cjs/loader.js:962:14)
|
|
> at Function.executeUserEntryPoint [as runMain]
|
|
> (internal/modules/run_main.js:72:12)
|
|
> at internal/main/run_main_module.js:17:47
|
|
> Error SXJS0004
|
|
> Internal error: bad input to string constructor #undefined
|
|
> PS E:\code\saxon>
|
|
>=20
|
|
> Kurt Cagle
|
|
> Founder, Semantical LLC
|
|
> kurtcagle@gmail.com
|
|
> 443-837-8725
|
|
>=20
|
|
> On Tue, Sep 1, 2020 at 9:04 AM Saxonica Developer Community <
|
|
> notifications@plan.io> wrote:
|
|
>=20
|
|
> Bug #4700: Having severe Saxon-JS errors
|
|
> Author: Kurt Cagle
|
|
> Status: New
|
|
> Priority: High
|
|
> Assignee:
|
|
> Category:
|
|
> Sprint/Milestone:
|
|
> Applies to JS Branch: 2.0
|
|
> Fix Committed on JS Branch:
|
|
> Fixed in JS Release:
|
|
> SEF Generated with:
|
|
> Company: Kurt Cagle
|
|
> Contact person: Kurt Cagle
|
|
> Additional contact persons:
|
|
> I had no problem with Saxon-JS until I upgraded to Node 14.8.0. I was able=
|
|
to use the xslt3 CLI tool to both generate SEFs and process XSLT directly. H=
|
|
owever, after reinstalling Saxon-JS I started getting the following errors:
|
|
>=20
|
|
> PS E:\Code\FBI\stor223\stor223-dev\NIEM-GJXDM\xslt> xslt3 -xsl:test.xsl -e=
|
|
xport:test.sef.json -nogo Error: Command line option -xsl requires a value a=
|
|
t d (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:5:297) a=
|
|
t C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:6:317 at Ar=
|
|
ray.forEach () at f.setActualOptions (C:\Users\kurtc\AppData\Roaming\npm\nod=
|
|
e_modules\xslt3\xslt3.js:5:449) at main$$module$temp$js$source$nodeJS$comman=
|
|
d (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:33:197) at=
|
|
Object. (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:41:=
|
|
201) at Object. (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3=
|
|
.js:41:383) at Module._compile (internal/modules/cjs/loader.js:1251:30) at O=
|
|
bject.Module._extensions..js (internal/modules/cjs/loader.js:1272:10) at Fun=
|
|
ction.Module._load (internal/modules/cjs/loader.js:962:14) at Function.execu=
|
|
teUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) Invalid c=
|
|
ommand line input: test.xsl Usage: see http://www.saxonica.com/saxon-js/docu=
|
|
mentation/index.html#!nodejs/command-line Options available: -?, -co, -debug=
|
|
, -export, -im, -it, -master, -nogo, -ns, -o, -s, -t, -tp, -xsl Use -XYZ:? f=
|
|
or details of option XYZ Params: param=3Dvalue Set stylesheet string paramet=
|
|
er +param=3Dfilename Set stylesheet document parameter ?param=3Dexpression S=
|
|
et stylesheet parameter using XPath !param=3Dvalue Set serialization paramet=
|
|
er (bindings and values containing punctuation may need to be quoted in some=
|
|
command shells, e.g. in PowerShell: "{NS}key=3Dval" ?range=3D"1 to 20" ) Us=
|
|
age: see http://www.saxonica.com/saxon-js/documentation/index.html#!nodejs/c=
|
|
ommand-line Options available: -?, -co, -debug, -export, -im, -it, -master, -=
|
|
nogo, -ns, -o, -s, -t, -tp, -xsl Params: param=3Dvalue Set stylesheet string=
|
|
parameter +param=3Dfilename Set stylesheet document parameter !param=3Dvalu=
|
|
e Set serialization parameter (bindings and values containing punctuation ma=
|
|
y need to be quoted in some command shells, e.g. in PowerShell: "{NS}key=3Dv=
|
|
al" ?range=3D"1 to 20" ) Missing '=3D' in parameter 'test.xsl' Internal erro=
|
|
r: bad input to string constructor #undefined Error at Object.a [as internal=
|
|
Error] (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\node_modules\s=
|
|
axon-js\SaxonJS2N.js:26:474) at new v (C:\Users\kurtc\AppData\Roaming\npm\no=
|
|
de_modules\xslt3\node_modules\saxon-js\SaxonJS2N.js:47:429) at Object.fromSt=
|
|
ring (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\node_modules\sax=
|
|
on-js\SaxonJS2N.js:77:356) at C:\Users\kurtc\AppData\Roaming\npm\node_module=
|
|
s\xslt3\xslt3.js:16:228 at getParams$$module$temp$js$source$nodeJS$command (=
|
|
C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:15:132) at ma=
|
|
in$$module$temp$js$source$nodeJS$command (C:\Users\kurtc\AppData\Roaming\npm=
|
|
\node_modules\xslt3\xslt3.js:34:7) at Object. (C:\Users\kurtc\AppData\Roamin=
|
|
g\npm\node_modules\xslt3\xslt3.js:41:201) at Object. (C:\Users\kurtc\AppData=
|
|
\Roaming\npm\node_modules\xslt3\xslt3.js:41:383) at Module._compile (interna=
|
|
l/modules/cjs/loader.js:1251:30) at Object.Module._extensions..js (internal/=
|
|
modules/cjs/loader.js:1272:10) at Module.load (internal/modules/cjs/loader.j=
|
|
s:1100:32) at Function.Module._load (internal/modules/cjs/loader.js:962:14) a=
|
|
t Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:=
|
|
72:12) at internal/main/run_main_module.js:17:47 Error SXJS0004
|
|
>=20
|
|
> I have tried with multiple variations of command line arguments and have b=
|
|
een getting errors consistently if I attempt to actually run XSLT3 with para=
|
|
meters.
|
|
>=20
|
|
> I have also discovered that I cannot get Oxygen 22.0 to build SEF.JSON fil=
|
|
es, though it generates the intermediate SEF.XML files. I had similar issues=
|
|
across both Windows and Ubuntu.
|
|
>=20
|
|
> I'm hoping to use saxonjs in a production system soon for a US government p=
|
|
roject so this is causing issues.
|
|
>=20
|
|
> You have received this notification because you have either subscribed to o=
|
|
r are involved in a project on Saxonica Developer Community site. To change y=
|
|
our notification preferences, please click here: https://saxonica.plan.io/my=
|
|
/account?tour=3Dmail_preferences
|
|
>=20
|
|
>=20
|
|
> This notification was cheerfully delivered by
|
|
|
|
--Apple-Mail-E50384C1-8A4C-4290-8193-0266AAB9CA50
|
|
Content-Type: text/html;
|
|
charset=utf-8
|
|
Content-Transfer-Encoding: quoted-printable
|
|
|
|
<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
|
|
utf-8"></head><body dir=3D"auto">IIRC you have to quote the complete pair e.=
|
|
g. =E2=80=9C-xsl:foo.xsl=E2=80=9D<div><br></div><div>As a check alternative u=
|
|
se cmdprompt to check - it=E2=80=99s what I use for all my compilations... I=
|
|
don=E2=80=99t need PowerShell capabilities<br><br><div dir=3D"ltr">Sent fro=
|
|
m my iPad</div><div dir=3D"ltr"><br><blockquote type=3D"cite">On 1 Sep 2020,=
|
|
at 19:33, Saxonica Developer Community <notifications@plan.io> wrote:=
|
|
<br><br></blockquote></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=
|
|
=BF
|
|
|
|
|
|
<!--[if !mso]><!-- -->
|
|
<link href=3D"https://assets.plan.io/stylesheets/fonts.css" rel=3D"styleshee=
|
|
t" type=3D"text/css">
|
|
<!--<![endif]-->
|
|
|
|
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8"><st=
|
|
yle>a:link{color:#0088b7}
|
|
a:visited{color:#0088b7}
|
|
a:hover{color:#0088b7}
|
|
a:active{color:#0088b7}</style>
|
|
|
|
<table class=3D"planio_mail" width=3D"100%" cellspacing=3D"0" cellpadding=3D=
|
|
"0" style=3D"border-collapse:collapse;margin-bottom:1em;border:1px solid #bb=
|
|
b;padding:4px;border-spacing:0;margin-bottom:0;width:100%;border:none;paddin=
|
|
g:0">
|
|
<tbody><tr><td class=3D"planio_mail header" style=3D"border:1px solid #bbb;p=
|
|
adding:4px;text-align:center;width:100%;font-family:MarketWeb, Helvetica, Ar=
|
|
ial, sans-serif;font-size:0.8em;color:#D7D7D7;border:none;padding:0"><p>--- I=
|
|
n your reply, please do not write below this line ---</p></td></tr>
|
|
<tr><td class=3D"planio_mail" style=3D"border:1px solid #bbb;padding:4px;bor=
|
|
der:none;padding:0">Issue <a href=3D"https://saxonica.plan.io/issues/4700?pn=
|
|
=3D1#change-16154" style=3D"color:#0088b7">#4700</a> has been updated by Kur=
|
|
t Cagle.
|
|
<hr style=3D"width:100%;height:1px;background:#ccc;border:0;margin:1.2em 0">=
|
|
|
|
|
|
<ul class=3D"journal details" style=3D"color:#959595;margin-bottom:1.5em">
|
|
<li><strong>Company</strong> set to <i>Kurt Cagle</i></li>
|
|
<li><strong>Contact person</strong> set to <i>Kurt Cagle</i></li>
|
|
</ul>
|
|
|
|
<p>I am using PowerShell on Windows 10. Still getting the same error despite=
|
|
<br>
|
|
quoting the stylesheet and source.</p>
|
|
<p>PS E:\code\saxon> xslt3 -xsl:"newFeatures.xsl" -s:"gameEncoding.xml"<b=
|
|
r>
|
|
Error: Command line option -xsl requires a value<br>
|
|
at d<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:5:297)<br>
|
|
at C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:6:317<br>
|
|
at Array.forEach ()<br>
|
|
at f.setActualOptions<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:5:449)<br>
|
|
at main$$module$temp$js$source$nodeJS$command<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:33:197)<br>
|
|
at Object.<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:41:201)<br>
|
|
at Object.<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:41:383)<br>
|
|
at Module._compile (internal/modules/cjs/loader.js:1251:30)<br>
|
|
at Object.Module._extensions..js<br>
|
|
(internal/modules/cjs/loader.js:1272:10)<br>
|
|
at Module.load (internal/modules/cjs/loader.js:1100:32)<br>
|
|
at Function.Module._load (internal/modules/cjs/loader.js:962:14)<br>
|
|
at Function.executeUserEntryPoint [as runMain]<br>
|
|
(internal/modules/run_main.js:72:12)<br>
|
|
at internal/main/run_main_module.js:17:47<br>
|
|
Invalid command line input: newFeatures.xsl<br>
|
|
Usage: see<br>
|
|
<a href=3D"http://www.saxonica.com/saxon-js/documentation/index.html#!nodejs=
|
|
/command-line" class=3D"external" style=3D"color:#0088b7">http://www.saxonic=
|
|
a.com/saxon-js/documentation/index.html#!nodejs/command-line</a><br>
|
|
Options available: -?, -co, -debug, -export, -im, -it, -master, -nogo, -ns,<=
|
|
br>
|
|
-o, -s, -t, -tp, -xsl<br>
|
|
Use -XYZ:? for details of option XYZ<br>
|
|
Params:<br>
|
|
param=3Dvalue Set stylesheet string parameter<br>
|
|
+param=3Dfilename Set stylesheet document parameter<br>
|
|
?param=3Dexpression Set stylesheet parameter using XPath<br>
|
|
!param=3Dvalue Set serialization parameter<br>
|
|
(bindings and values containing punctuation may need to be quoted in some<br=
|
|
>
|
|
command shells,<br>
|
|
e.g. in PowerShell: "{NS}key=3Dval" ?range=3D"1 to 20" )<br>
|
|
Invalid command line input: gameEncoding.xml<br>
|
|
Usage: see<br>
|
|
<a href=3D"http://www.saxonica.com/saxon-js/documentation/index.html#!nodejs=
|
|
/command-line" class=3D"external" style=3D"color:#0088b7">http://www.saxonic=
|
|
a.com/saxon-js/documentation/index.html#!nodejs/command-line</a><br>
|
|
Options available: -?, -co, -debug, -export, -im, -it, -master, -nogo, -ns,<=
|
|
br>
|
|
-o, -s, -t, -tp, -xsl<br>
|
|
Use -XYZ:? for details of option XYZ<br>
|
|
Params:<br>
|
|
param=3Dvalue Set stylesheet string parameter<br>
|
|
+param=3Dfilename Set stylesheet document parameter<br>
|
|
?param=3Dexpression Set stylesheet parameter using XPath<br>
|
|
!param=3Dvalue Set serialization parameter<br>
|
|
(bindings and values containing punctuation may need to be quoted in some<br=
|
|
>
|
|
command shells,<br>
|
|
e.g. in PowerShell: "{NS}key=3Dval" ?range=3D"1 to 20" )<br>
|
|
Missing '=3D' in parameter 'newFeatures.xsl'<br>
|
|
Internal error: bad input to string constructor #undefined<br>
|
|
Error<br>
|
|
at Object.a [as internalError]<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\node_modules\saxon-js=
|
|
\SaxonJS2N.js:26:474)<br>
|
|
at new v<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\node_modules\saxon-js=
|
|
\SaxonJS2N.js:47:429)<br>
|
|
at Object.fromString<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\node_modules\saxon-js=
|
|
\SaxonJS2N.js:77:356)<br>
|
|
at C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:16:228<br>=
|
|
|
|
at Array.forEach ()<br>
|
|
at getParams$$module$temp$js$source$nodeJS$command<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:15:132)<br>
|
|
at main$$module$temp$js$source$nodeJS$command<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:34:7)<br>
|
|
at Object.<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:41:201)<br>
|
|
at Object.<br>
|
|
(C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:41:383)<br>
|
|
at Module._compile (internal/modules/cjs/loader.js:1251:30)<br>
|
|
at Object.Module._extensions..js<br>
|
|
(internal/modules/cjs/loader.js:1272:10)<br>
|
|
at Module.load (internal/modules/cjs/loader.js:1100:32)<br>
|
|
at Function.Module._load (internal/modules/cjs/loader.js:962:14)<br>
|
|
at Function.executeUserEntryPoint [as runMain]<br>
|
|
(internal/modules/run_main.js:72:12)<br>
|
|
at internal/main/run_main_module.js:17:47<br>
|
|
Error SXJS0004<br>
|
|
Internal error: bad input to string constructor #undefined<br>
|
|
PS E:\code\saxon></p>
|
|
<p>Kurt Cagle<br>
|
|
Founder, Semantical LLC<br>
|
|
<a href=3D"mailto:kurtcagle@gmail.com" class=3D"email" style=3D"color:#0088b=
|
|
7">kurtcagle@gmail.com</a><br>
|
|
443-837-8725</p>
|
|
<p>On Tue, Sep 1, 2020 at 9:04 AM Saxonica Developer Community <<br>
|
|
<a href=3D"mailto:notifications@plan.io" class=3D"email" style=3D"color:#008=
|
|
8b7">notifications@plan.io</a>> wrote:</p>
|
|
<hr style=3D"width:100%;height:1px;background:#ccc;border:0;margin:1.2em 0">=
|
|
|
|
<h1 style=3D"font-family:"ProximaNova-Bold", Helvetica, Arial, san=
|
|
s-serif;font-weight:normal;margin:0px;font-size:1.3em;line-height:1.4em"><a h=
|
|
ref=3D"https://saxonica.plan.io/issues/4700?pn=3D1#change-16154" style=3D"co=
|
|
lor:#0088b7;text-decoration:none">Bug #4700: Having severe Saxon-JS errors</=
|
|
a></h1>
|
|
|
|
<ul class=3D"details" style=3D"color:#959595;margin-bottom:1.5em"><li><stron=
|
|
g>Author: </strong>Kurt Cagle</li>
|
|
<li><strong>Status: </strong>New</li>
|
|
<li><strong>Priority: </strong>High</li>
|
|
<li><strong>Assignee: </strong></li>
|
|
<li><strong>Category: </strong></li>
|
|
<li><strong>Sprint/Milestone: </strong></li>
|
|
<li><strong>Applies to JS Branch: </strong>2.0</li>
|
|
<li><strong>Fix Committed on JS Branch: </strong></li>
|
|
<li><strong>Fixed in JS Release: </strong></li>
|
|
<li><strong>SEF Generated with: </strong></li>
|
|
<li><strong>Company: </strong>Kurt Cagle</li>
|
|
<li><strong>Contact person: </strong>Kurt Cagle</li>
|
|
<li><strong>Additional contact persons: </strong></li></ul>
|
|
|
|
<p>I had no problem with Saxon-JS until I upgraded to Node 14.8.0. I was abl=
|
|
e to use the xslt3 CLI tool to both generate SEFs and process XSLT directly.=
|
|
However, after reinstalling Saxon-JS I started getting the following errors=
|
|
:</p>
|
|
<p>PS E:\Code\FBI\stor223\stor223-dev\NIEM-GJXDM\xslt> xslt3 -xsl:test.xs=
|
|
l -export:test.sef.json -nogo
|
|
Error: Command line option -xsl requires a value
|
|
at d (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:5:297)
|
|
at C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:6:317
|
|
at Array.forEach ()
|
|
at f.setActualOptions (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3=
|
|
\xslt3.js:5:449)
|
|
at main$$module$temp$js$source$nodeJS$command (C:\Users\kurtc\AppData\Roamin=
|
|
g\npm\node_modules\xslt3\xslt3.js:33:197)
|
|
at Object. (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:4=
|
|
1:201)
|
|
at Object. (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:4=
|
|
1:383)
|
|
at Module._compile (internal/modules/cjs/loader.js:1251:30)
|
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1272:10)
|
|
at Function.Module._load (internal/modules/cjs/loader.js:962:14)
|
|
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js=
|
|
:72:12)
|
|
Invalid command line input: test.xsl
|
|
Usage: see <a href=3D"http://www.saxonica.com/saxon-js/documentation/index.h=
|
|
tml#!nodejs/command-line" class=3D"external" style=3D"color:#0088b7">http://=
|
|
www.saxonica.com/saxon-js/documentation/index.html#!nodejs/command-line</a>
|
|
Options available: -?, -co, -debug, -export, -im, -it, -master, -nogo, -ns, -=
|
|
o, -s, -t, -tp, -xsl
|
|
Use -XYZ:? for details of option XYZ
|
|
Params:
|
|
param=3Dvalue Set stylesheet string parameter
|
|
+param=3Dfilename Set stylesheet document parameter
|
|
?param=3Dexpression Set stylesheet parameter using XPath
|
|
!param=3Dvalue Set serialization parameter
|
|
(bindings and values containing punctuation may need to be quoted in some co=
|
|
mmand shells,
|
|
e.g. in PowerShell: "{NS}key=3Dval" ?range=3D"1 to 20" )
|
|
Usage: see <a href=3D"http://www.saxonica.com/saxon-js/documentation/index.h=
|
|
tml#!nodejs/command-line" class=3D"external" style=3D"color:#0088b7">http://=
|
|
www.saxonica.com/saxon-js/documentation/index.html#!nodejs/command-line</a>
|
|
Options available: -?, -co, -debug, -export, -im, -it, -master, -nogo, -ns, -=
|
|
o, -s, -t, -tp, -xsl
|
|
Params:
|
|
param=3Dvalue Set stylesheet string parameter
|
|
+param=3Dfilename Set stylesheet document parameter
|
|
!param=3Dvalue Set serialization parameter
|
|
(bindings and values containing punctuation may need to be quoted in some co=
|
|
mmand shells,
|
|
e.g. in PowerShell: "{NS}key=3Dval" ?range=3D"1 to 20" )
|
|
Missing '=3D' in parameter 'test.xsl'
|
|
Internal error: bad input to string constructor #undefined
|
|
Error
|
|
at Object.a [as internalError] (C:\Users\kurtc\AppData\Roaming\npm\node_modu=
|
|
les\xslt3\node_modules\saxon-js\SaxonJS2N.js:26:474)
|
|
at new v (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\node_modules=
|
|
\saxon-js\SaxonJS2N.js:47:429)
|
|
at Object.fromString (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\=
|
|
node_modules\saxon-js\SaxonJS2N.js:77:356)
|
|
at C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:16:228
|
|
at getParams$$module$temp$js$source$nodeJS$command (C:\Users\kurtc\AppData\R=
|
|
oaming\npm\node_modules\xslt3\xslt3.js:15:132)
|
|
at main$$module$temp$js$source$nodeJS$command (C:\Users\kurtc\AppData\Roamin=
|
|
g\npm\node_modules\xslt3\xslt3.js:34:7)
|
|
at Object. (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:4=
|
|
1:201)
|
|
at Object. (C:\Users\kurtc\AppData\Roaming\npm\node_modules\xslt3\xslt3.js:4=
|
|
1:383)
|
|
at Module._compile (internal/modules/cjs/loader.js:1251:30)
|
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1272:10)
|
|
at Module.load (internal/modules/cjs/loader.js:1100:32)
|
|
at Function.Module._load (internal/modules/cjs/loader.js:962:14)
|
|
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js=
|
|
:72:12)
|
|
at internal/main/run_main_module.js:17:47
|
|
Error SXJS0004</p>
|
|
<p>I have tried with multiple variations of command line arguments and have b=
|
|
een getting errors consistently if I attempt to actually run XSLT3 with para=
|
|
meters.</p>
|
|
<p>I have also discovered that I cannot get Oxygen 22.0 to build SEF.JSON fi=
|
|
les, though it generates the intermediate SEF.XML files. I had similar issue=
|
|
s across both Windows and Ubuntu.</p>
|
|
<p>I'm hoping to use saxonjs in a production system soon for a US government=
|
|
project so this is causing issues.</p>
|
|
|
|
|
|
<div itemscope=3D"itemscope" itemtype=3D"http://schema.org/EmailMessage"><di=
|
|
v itemscope=3D"itemscope" itemprop=3D"action" itemtype=3D"http://schema.org/=
|
|
ViewAction"><link itemprop=3D"url" href=3D"https://saxonica.plan.io/issues/4=
|
|
700?pn=3D1#change-16154"><meta itemprop=3D"name" content=3D"View Issue"></di=
|
|
v><meta itemprop=3D"description" content=3D"View this issue update on Planio=
|
|
"></div>
|
|
|
|
</td></tr>
|
|
<tr><td class=3D"planio_mail footer" style=3D"border:1px solid #bbb;padding:=
|
|
4px;font-size:0.8em;width:100%;border:none;padding:0"><hr style=3D"width:100=
|
|
%;height:1px;background:#ccc;border:0;margin:1.2em 0"><p>You have received t=
|
|
his notification because you have either subscribed to or are involved in a p=
|
|
roject on Saxonica Developer Community site.
|
|
To change your notification preferences, please click here: <a href=3D"https=
|
|
://saxonica.plan.io/my/account?tour=3Dmail_preferences" class=3D"external" s=
|
|
tyle=3D"color:#0088b7">https://saxonica.plan.io/my/account?tour=3Dmail_prefe=
|
|
rences</a></p></td></tr>
|
|
<tr><td class=3D"planio_mail planio_footer" style=3D"border:1px solid #bbb;p=
|
|
adding:4px;text-align:center;width:100%;font-family:MarketWeb, Helvetica, Ar=
|
|
ial, sans-serif;font-size:1.2em;color:#D7D7D7;border:none;padding:0"><br><di=
|
|
v><a href=3D"https://plan.io/" style=3D"color:#0088b7;color:#D7D7D7;text-dec=
|
|
oration:none">This notification was cheerfully delivered by</a></div></td></=
|
|
tr>
|
|
<tr><td class=3D"planio_mail planio_footer_logo" style=3D"border:1px solid #=
|
|
bbb;padding:4px;text-align:center;width:100%;border:none;padding:0"><a href=3D=
|
|
"https://plan.io/" title=3D"Planio" style=3D"color:#0088b7"><img src=3D"http=
|
|
s://assets.plan.io/images/planio_logo_gray_204x50.png" height=3D"25" width=3D=
|
|
"102" border=3D"0" alt=3D"Planio" style=3D"vertical-align:middle;border:none=
|
|
" data-unique-identifier=3D""></a></td></tr>
|
|
</tbody></table>
|
|
|
|
|
|
</div></blockquote></div></body></html>=
|
|
|
|
--Apple-Mail-E50384C1-8A4C-4290-8193-0266AAB9CA50--
|