Page 1 of 1

[Essential 6.5 - Roadmap enabled views] : Uncaught SyntaxError: Invalid Unicode escape sequence

Posted: 13 Sep 2019, 13:07
by tkinte
Hi,

The way the instance description of instance is translated (normalized) seems not accurate.

The translate function appears to be inserting the backslashes
without the quotes, or apostrophe.

Original Instance description in Protégé
Finprof web applicatie = applicatie voor indienen aangifte in de bedrijfsvoorheffing via internet (KB van 3/6/2007 – BS van 14/06/2007).
"Lapplication Intervat est le point d’entrée (e-Service) exclusif du SPF Finances pour l'introduction de déclaration au précompte professionnel.Les déposants peuvent ainsi effectuer le dépôt signé et sécurisé de déclarations par voie électronique, soit manuellement, soit à l'aide de fichiers XML, et suivre le cycle de dépôt jusquà l’accusé de réception."
Translated instance description as seen in the browser devtool
... 'description': 'Finprof web applicatie = applicatie voor indienen aangifte in de bedrijfsvoorheffing via internet \(KB van 3/6/2007 – BS van 14/06/2007\).<br/>\L’application Intervat est le point d’entrée \(e-Service\) exclusif du SPF Finances pour l\introduction de déclaration au précompte professionnel.Les déposants peuvent ainsi effectuer le dépôt signé et sécurisé de déclarations par voie électronique, soit manuellement, soit à l\aide de fichiers XML, et suivre le cycle de dépôt jusqu’à l’accusé de réception.\',
Original Instance description in Protégé 2
BC.OBJ.art29
NL: We streven naar langetermijn vertrouwensrelaties of sustainable deals met onze belangrijkste nationale en internationale partners.

FR: Notre objectif est d'instaurer des relations de confiance à long terme ou de conclure des « sustainable deals » avec nos principaux partenaires nationaux et internationaux.
Translated instance description as seen in the browser devtool 2
...description: "BC.OBJ.art29<br/>NL: We streven naar langetermijn vertrouwensrelaties of sustainable deals met onze belangrijkste nationale en internationale partners.<br/><br/>FR: Notre objectif est d\instaurer des relations de confiance à long terme ou de conclure des « sustainable deals » avec nos principaux partenaires nationaux et internationaux."

The issue could be a result of a bad sequence of normalization operations : quotes or apostrophe removed after the escaping. Not sure , ... but could be.

Best regards.

Tshitshi

Re: [Essential 6.5 - Roadmap enabled views] : Uncaught SyntaxError: Invalid Unicode escape sequence

Posted: 13 Sep 2019, 14:14
by tkinte

Re: [Essential 6.5 - Roadmap enabled views] : Uncaught SyntaxError: Invalid Unicode escape sequence

Posted: 13 Sep 2019, 17:08
by JohnM
Hi,

Apologies, we're aware of the issue and hope to get a fix out with the next release which is imminent.

As a workaround, you can revert your catalogues to the non roadmapped version by adding _v6.xsl to the xsl path in the report

We'll keep you updated

regards

John

Re: [Essential 6.5 - Roadmap enabled views] : Uncaught SyntaxError: Invalid Unicode escape sequence

Posted: 16 Sep 2019, 16:12
by jmk
Hi Tshitshi,

You may try the xsl files in the attached zip.

cd <essential_webapp_rootdir> then unzip the file (do some backup before) .

J.-M.

Re: [Essential 6.5 - Roadmap enabled views] : Uncaught SyntaxError: Invalid Unicode escape sequence

Posted: 17 Sep 2019, 08:46
by tkinte
Hi JMK.

Thanks. I will test and post the result.

Best regards.

Tshitshi

Re: [Essential 6.5 - Roadmap enabled views] : Uncaught SyntaxError: Invalid Unicode escape sequence

Posted: 17 Sep 2019, 14:19
by jonathan.carter
Hi,

Please see this post which is related - I've uploaded a fix.