DesignLiquido / xslt-processor

A JavaScript XSLT processor without native library dependencies
GNU Lesser General Public License v3.0
102 stars 31 forks source link

xsl:number not implemented #51

Closed Marvbudd closed 1 year ago

Marvbudd commented 2 years ago

I apologize if this is rough. I'm a newby at node.js and using this processor. I'm trying to reimplement a project that I had working back in Win98 days.

Using a simple test app to do a transform I'm getting an error:

mbudd@TreeClimberLap:~/Documents/electron/xslt$ node --trace-uncaught index.js Debugger attached.

node:internal/process/esm_loader:94 internalBinding('errors').triggerUncaughtException( ^ Waiting for the debugger to disconnect... not implemented: number Thrown at: at loadESM (node:internal/process/esm_loader:94:31)

Node.js v17.3.0

I have isolated it down to one line in my .xslt file:

Is this something that is already known, or would a minimum example case be helpful? Is there a workaround?

Marvbudd commented 2 years ago

I replaced the offending line with

and my problems went away. Looks like I was using an old construct.

Please ignore/delete/obliterate/solve this issue.

leonelsanchesdasilva commented 1 year ago

Closed as requested.