When the attribute pointSize on the element field is not defined in the DTD/Schema, you receive the following error: 

(M1108) Error with Script field 'scriptJ1' ; XML Parser Error


Using scripting to change the point size of a field. The following syntax was written:

label.fields.field.(@name == 'fieldA').@pointSize=20;  
label.fields.field.(@name == 'fieldZ').@pointSize=72; 

When running this, the error above is generated because the syntax is not correct.


The script was written without qualifying the @pointSize element as a .font.@pointSize. All font properties should be qualified by ".font.@"

The correct way to write the script is:

label.fields.field.(@name == 'fieldA').font.@pointSize=20;  
label.fields.field.(@name == 'fieldZ').font.@pointSize=72;

Related Articles

Article Number



All supported LPS family product versions.


All supported installation environments.

This table provides information that is visible only to Loftware users.

Linked Jira
  1. OOB-480
Incident Number 
AuthorChad Boivin
Review Date09/05/2014