Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Invalid XML name error when using content publication template in delivery

priyankav251023
Level 3
Level 3

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.

1 Reply
jtander
Level 1
Level 1

the same issue, do you have any news?