Child pages
  • KB176887354: Automation Engine - Special characteres on JDF or XML values
Skip to end of metadata
Go to start of metadata

Description

JDF is based on XML and XML has a special set of characters that cannot be used in normal XML strings. These characters are:

&

<

>

"

'

Symptoms 

java.lang.Exception: character & not allowed in name
java.lang.Exception: character < not allowed in name
java.lang.Exception: character > not allowed in name
java.lang.Exception: character " not allowed in name
java.lang.Exception: character ' not allowed in name

Procedure

It's possible to replace them for special strings:

& - &amp;

< - &lt;

> - &gt;

" - &quot;

' - &#39;

For example, the following string is not valid:

<Company class="Parameter" DescriptiveName="Vertex & Co. KG" OrganizationName="VERTEX" />

Whereas the following is valid:

<Company class="Parameter" DescriptiveName="Vertex &amp; Co. KG" OrganizationName="VERTEX" />

Article information
Applies to

Automation Engine all versions

Created17-Feb-16
Last revised 
AuthorDAZU
Case Number00593455
Contents