FileMaker 14 DDR Generates bad XML

Discussion created by JEDtech on Dec 4, 2015
Latest reply on May 17, 2016 by TSGal

A change was made between FileMaker Pro Advanced 13 and FileMaker Pro Advanced 14 in the way that layout images are reported in the XML DDR.  In FMPA 13 the actual base64 of the image was included in the DDR but in FMPA 14 it shows attributes of the image such as the File Name.  If the original image file name includes some special characters such as an & they are included in the element name without consideration of whether that is a valid XML name which breaks the XML.  Here is an example where the ampersand breaks the XML:


<Object type="Graphic" key="360" LabelKey="0" flags="0" rotation="0">

<Bounds top="27.0000000" left="27.0000000" bottom="91.0000000" right="403.0000000"/>

<GraphicObj pictFormat="3" mixColor="#0">

<Image name="T&B-Logo-Color-72dpi-xpar.png"/>






According to the XML standards the element name must be:


XML elements must follow these naming rules:

  • Element names must start with a letter or underscore
  • Element names cannot start with the letters xml (or XML, or Xml, etc)
  • Element names can contain letters, digits, hyphens, underscores, and periods
  • Element names cannot contain spaces

Any name can be used, no words are reserved (except xml).