For UAG, we need a setting for objectRepresentationSplitter to match on directory name + filename, and a way to interpret back-slashes
("\”) in filepaths as forward slashes (“/").
In the UAG xml, for example, media is cited in this way:
<imagefile>001\197926.JPG</imagefile>
<imagefile>009\P20151.JPG</imagefile>
where "001" and "009" are folders in the import directory.
I added code to automatically convert "\" to "/" when importing media. It doesn't effect the value when used elsewhere in the mapping.
I'm not sure what matching on directory name means in this context though. We don't actually do matching. We just add the path you put in attributes => media to the directory path set in mediaPrefix. Assuming that those subdirectories exist it'll all work.