Inist-CNRS / node-jbj

Like XSL/XML but for JSON.
http://Inist-CNRS.github.io/jbj-playground/
13 stars 3 forks source link

Debug traces when using JBJ command #29

Open parmentf opened 7 years ago

parmentf commented 7 years ago

In several JBJ stylesheets, there is parasite output (key and res beginning lines in the following sample):

key 0
key 0
key 1
key 0
key 0
key 0
res [ 'd' ]
res [ 'c', 'r' ]
res [ 'n' ]
res [ 'm' ]
res [ 'm' ]
5542C09F834F6D9586B5F92017918EB675357E88, DC,placename,1,3,ISTEX,TK,Null,d,3
5542C09F834F6D9586B5F92017918EB675357E88, Costa Rica,placename,2,11,ISTEX,KSTRK,Null,"c,r",3
5542C09F834F6D9586B5F92017918EB675357E88, Niger,placename,1,6,ISTEX,NJR,Null,n,3
5542C09F834F6D9586B5F92017918EB675357E88, Malta,placename,1,6,ISTEX,MLT,Null,m,3
5542C09F834F6D9586B5F92017918EB675357E88, Morocco,placename,1,8,ISTEX,MRKK,Null,m,3

No obvious console present in JBJ source...

touv commented 7 years ago

which command, which stylesheet...

On Thu, Nov 17, 2016 at 4:15 PM, François Parmentier < notifications@github.com> wrote:

In several JBJ stylesheets, there is parasite output (key and res beginning lines in the following sample):

key 0 key 0 key 1 key 0 key 0 key 0 res [ 'd' ] res [ 'c', 'r' ] res [ 'n' ] res [ 'm' ] res [ 'm' ] 5542C09F834F6D9586B5F92017918EB675357E88, DC,placename,1,3,ISTEX,TK,Null,d,3 5542C09F834F6D9586B5F92017918EB675357E88, Costa Rica,placename,2,11,ISTEX,KSTRK,Null,"c,r",3 5542C09F834F6D9586B5F92017918EB675357E88, Niger,placename,1,6,ISTEX,NJR,Null,n,3 5542C09F834F6D9586B5F92017918EB675357E88, Malta,placename,1,6,ISTEX,MLT,Null,m,3 5542C09F834F6D9586B5F92017918EB675357E88, Morocco,placename,1,8,ISTEX,MRKK,Null,m,3

No obvious console present in JBJ source...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Inist-CNRS/node-jbj/issues/29, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA8-ZFAyYIIULSZ8WEYBddnPOWGJNnHks5q_G-bgaJpZM4K1bPj .

touv commented 7 years ago

which version ...

On Thu, Nov 17, 2016 at 10:41 PM, Nicolas Thouvenin nthouvenin@gmail.com wrote:

which command, which stylesheet...

On Thu, Nov 17, 2016 at 4:15 PM, François Parmentier < notifications@github.com> wrote:

In several JBJ stylesheets, there is parasite output (key and res beginning lines in the following sample):

key 0 key 0 key 1 key 0 key 0 key 0 res [ 'd' ] res [ 'c', 'r' ] res [ 'n' ] res [ 'm' ] res [ 'm' ] 5542C09F834F6D9586B5F92017918EB675357E88, DC,placename,1,3,ISTEX,TK,Null,d,3 5542C09F834F6D9586B5F92017918EB675357E88, Costa Rica,placename,2,11,ISTEX,KSTRK,Null,"c,r",3 5542C09F834F6D9586B5F92017918EB675357E88, Niger,placename,1,6,ISTEX,NJR,Null,n,3 5542C09F834F6D9586B5F92017918EB675357E88, Malta,placename,1,6,ISTEX,MLT,Null,m,3 5542C09F834F6D9586B5F92017918EB675357E88, Morocco,placename,1,8,ISTEX,MRKK,Null,m,3

No obvious console present in JBJ source...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Inist-CNRS/node-jbj/issues/29, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA8-ZFAyYIIULSZ8WEYBddnPOWGJNnHks5q_G-bgaJpZM4K1bPj .

parmentf commented 7 years ago

I'll ask to @itanael.

parmentf commented 7 years ago

It seems to be version 3.0.1 (I did not notice any removing of console.log or similar statements since then).

Maybe it's in any module she used.