works with a folder as the xml source
switch back to more strict pattern testing on xml