Invalid XML name error when using content publication template in delivery

priyankav251023

16-08-2019

Hi,

I have created content management publication templates by following the below documentation

Use case: creating content management

Have followed documentation as-is, but when i use the publication template in delivery for editing the content, i am getting below error.

JST-310000: Error while compiling script 'Content Schema POC(kv:contentSchemaPOC)' line 29: Invalid XML name.

This error is coming from the javascript template that i am using, from the lines where attributes of the content schema are referred.

eg.

Hello <%= perso('recipient.firstName') %> <%= perso('recipient.lastName') %>,

  <p>

  <%= content.presentation %>

  </p> 

  <center>

content.presentation gives the error.

Please let me know if anybody has encountered this error and how to solve it. I am following documentation as is from the link provided above.

Please let me knw if something is missing.

Accepted Solutions (0)