Skip to main content

Hi,

We're receiving multiple XML files from a customer on a daily basis, and we know for a fact, that their XML export utility doesn't encode attribute values correctly, sometimes resulting in invalid XML files.

This of course makes FME break down, but this typically happens only after hours of converting the valid parts of the XML file.

It would be a nice feature - and very simple to add, I think - to (optionally) validate the basic XML syntax _before_ any conversion is attempted. This really ought to be mandatory, but might also be an optional setting.

It is not validation wrt one or more schemas I'm talking about, just a bare-boned XML file syntax check.

Cheers

Lars I.

Sounds like we have similar issues... Ours is where we have a live XML feed, but for some reason, FME doesn't think the tags get closed all the time, so it throws errors after reading in most of the data. Attached is a sample dataset and the XFMap file that throws errors. In fact, the following error just came through my email:

XML Parser error: 'Error in input dataset:'http://mn.carsprogram.org/hub/data/feu-g.xml' line:33 column:22924 message:input ended before all started tags were ended; last tag started is 'FEUMessages''


 

xfmap-cars_1.xml