X2pro unable to parse fcpxml

I everyone,


I try to export XML from FCPX to X2PRo but I have this error message (screenshot)

I have not a clue of what I have to do...

Posted on Jan 20, 2020 8:10 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 20, 2020 10:54 AM

I tried importing the xml files you provided back into FCP X and got an error just as you posted - which pointed to a specific line in the XML. I went to that line and saw its contents (which I posted before). Immediately that inverted question mark drew my attention, and I just copied it and pasted into the search box. BBEdit rewrote it as \x{03} (which means the character with (hexadecimal) code 3. So I did a find and replace to get rid of it completely.


Here are links for "cleaned" versions of your "bobine 2" and "bobine 3" files.


https://www.dropbox.com/s/13w11gy1n3zahyp/Nourrir%20demain_V5%205_bobine%202%20audio%20only.fcpxml?dl=0


https://www.dropbox.com/s/ehez3a43608pcs2/Nourrir%20demain_V5%205_bobine%203%20audio%20only.fcpxml?dl=0

25 replies
Question marked as Top-ranking reply

Jan 20, 2020 10:54 AM in response to nicobier19

I tried importing the xml files you provided back into FCP X and got an error just as you posted - which pointed to a specific line in the XML. I went to that line and saw its contents (which I posted before). Immediately that inverted question mark drew my attention, and I just copied it and pasted into the search box. BBEdit rewrote it as \x{03} (which means the character with (hexadecimal) code 3. So I did a find and replace to get rid of it completely.


Here are links for "cleaned" versions of your "bobine 2" and "bobine 3" files.


https://www.dropbox.com/s/13w11gy1n3zahyp/Nourrir%20demain_V5%205_bobine%202%20audio%20only.fcpxml?dl=0


https://www.dropbox.com/s/ehez3a43608pcs2/Nourrir%20demain_V5%205_bobine%203%20audio%20only.fcpxml?dl=0

Jan 20, 2020 10:39 AM in response to nicobier19

"Is there any ay to modify the 2 xmls?"


Sorry, I missed that part.


Yes, of course. Here is what I did, and that you can do too.


In BBEdit, I opened the XML file, pressed Command-F (for "Find").


As shown in the image below, I typed "\x{03}", left the replacement empty, made sure that "Grep" was checked and then pressed "Replace All". Saved and tried importing, and it worked (of course I can't see the actual video or audio, but it did import).





Jan 20, 2020 10:06 AM in response to nicobier19

There are two files in there, with names with "bobine 2" and "bobine 3".

Both produce an error similar to the above.


The offending lines show up like this in BBEdit (a plain text editor, in case you are not familiar with it):



Apparently some invalid character is being used as part of the keyword.

Pasting the same text here, this character (which BBEdit displays as an inverted question mark) becomes invisible:


<keyword start="740758/25s" duration="4284/25s" value="cam b"/>


I suggest you take a look at your existing keywords, rename the problem keyword so that this invisible character is no more, and hopefully all will be well.



Jan 20, 2020 11:36 AM in response to nicobier19

Well, that time seems to be unusual - it is over 5 million seconds.

It also appears to be something inside a multicam clip - unfortunately, since you have so many multicam clips, I am not able to figure out which one seems to have a time attribute that is so long.

I am going to have to leave now. I hope we figure out a way to zero in on the problematic value.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

X2pro unable to parse fcpxml

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.