Build 797 June 30, 2019 project files are generated with a BOM


New member
As I reported to the kmttg thread in, I'm seeing an exception in kmttg when importing skip points from a project created with VideoRedo Here's the error message
SkipImport vrdImport - Content is not allowed in prolog.
[ Source), Source),
com.sun.javafx.application.PlatformImpl.lambda$null$177(, Method),
com.sun.javafx.application.PlatformImpl.lambda$runLater$178(,$, Method),$null$152(, Source)]
I opened the v6 project in VideoRedo and saved the project without any changes. Importing the v5 project skip points into kmttg succeeds. I did a file comparison of the two projects and the only apparent differences I can see is that the v6 project has prettier formatting. The v5 project uses minimal whitespace but both seem pretty much the same from an xml perspective, although obviously something is different.

I think I found the problem. The v6 project file begins with a byte order marker (BOM) and the v5 file does not. It seems that either VideoRedo v6 needs to go back to not generating the project files with a BOM or kmttg will now need to account for it when parsing the XML file.

I'm using kmttg 2.4l with java version "1.8.0_212" on Windows 10. I've attached the two project files with names indicating which is which and the .vprj extension changed to .txt to allow uploading.



Staff member
We don't typically monitor the kmttg thread. We will remove the from project files, it shouldn't have been there in the first place.


Senior Developer
Staff member
Which is why I cross-posted here. I figured if both developers are aware, something could be worked out. Thanks for looking into it.
DanR is wrong, the BOM is there intentionally and we can't just remove it.

That being said it sounds like Kevin has a fix and is building a new release of kmttg right now. So as soon as he releases the update this should work as expected.
Top Bottom