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

Post Reply
User avatar
tkinte
Posts: 145
Joined: 18 Nov 2014, 08:24
Location: https://www.linkedin.com/in/tshitshi-kia-ntoni
Contact:

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
JohnM
Posts: 467
Joined: 17 Feb 2009, 20:19

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
jmk
Posts: 137
Joined: 31 May 2012, 12:08
Location: France

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.
You do not have the required permissions to view the files attached to this post.
User avatar
tkinte
Posts: 145
Joined: 18 Nov 2014, 08:24
Location: https://www.linkedin.com/in/tshitshi-kia-ntoni
Contact:

Hi JMK.

Thanks. I will test and post the result.

Best regards.

Tshitshi
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

Hi,

Please see this post which is related - I've uploaded a fix.
Essential Project Team
Post Reply