FORUMS: list search recent posts

Anyone know how to fix XML DTD validation import issues?

COW Forums : Apple Final Cut Pro X

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Tangier Clarke
Anyone know how to fix XML DTD validation import issues?
on Feb 18, 2015 at 6:17:50 pm

I ran into an issue where a project's XML would not import giving the following error below. Another post suggests that it's a transition problem. Question I have to find is how do you fix it?


DTD validation failed. (Element transition content does not follow the DTD, expecting (filter-video? , filter-audio? , (marker | chapter-marker | rating | keyword | analysis-marker)* , metadata? , reserved?), got (filter-video filter-audio spine )
Element transition content does not follow the DTD, expecting (filter-video? , filter-audio? , (marker | chapter-marker | rating | keyword | analysis-marker)* , metadata? , reserved?), got (filter-video filter-audio spine )
)

Tangier


Return to posts index

Charlie Austin
Re: Anyone know how to fix XML DTD validation import issues?
on Feb 19, 2015 at 2:14:20 am

Duplicate the XML file... open the copy, ideally BBEdit or Text Wrangler, but TexEdit will work. Search for the bad results "filter-video filter-audio spine" and delete the line(s) they're in. Save it and try to import again. you'll lose whatever they were, but it may open...

-------------------------------------------------------------

~ My FCPX Babbling blog ~
~"It is a poor craftsman who blames his tools."~
~"The function you just attempted is not yet implemented"~


Return to posts index

Andreas Kiel
Re: Anyone know how to fix XML DTD validation import issues?
on Feb 19, 2015 at 3:29:12 pm

Hi Taylor,

It might be not that easy as described.
Feel free to send me the XML and I'll have a look (I work with XMLs a lot of times)
kiel at spherico dot com

- Andreas

Spherico
http://www.spherico.com/filmtools

"He who fights with monsters should be careful lest he thereby
become a monster. And if thou gaze long into an abyss, the abyss will
also gaze into thee." - Friedrich Nietzsche, Beyond Good and Evil


Return to posts index


Charlie Austin
Re: Anyone know how to fix XML DTD validation import issues?
on Feb 20, 2015 at 2:30:55 am

[Andreas Kiel] "It might be not that easy as described."

Most likely correct, just a shot in the dark on my part. BBEdit can be quite dangerous in my hands. ;-)

-------------------------------------------------------------

~ My FCPX Babbling blog ~
~"It is a poor craftsman who blames his tools."~
~"The function you just attempted is not yet implemented"~


Return to posts index

Tangier Clarke
Re: Anyone know how to fix XML DTD validation import issues?
on Feb 20, 2015 at 2:59:28 am

I'll give it a try with Text Wrangler and report back.

T

Tangier


Return to posts index

Tangier Clarke
Re: Anyone know how to fix XML DTD validation import issues?
on Feb 24, 2015 at 6:28:00 pm

Tried going through the XML doc in TextWrangler, but couldn't identify the problem.

Tangier


Return to posts index


Tangier Clarke
Re: Anyone know how to fix XML DTD validation import issues?
on Feb 24, 2015 at 7:20:16 pm
Last Edited By Tangier Clarke on Feb 24, 2015 at 7:28:31 pm

Problem solved folks! Thanks to Andreas Kiel who helped me resolve the issue.

Here's a transition in the XML

"<transition name="Cross Dissolve" offset="0s" duration="24024/24000s">
<filter-video ref="r486" name="Cross Dissolve"/>
<filter-audio ref="r487" name="Audio Crossfade"/>
<spine lane="1" offset="86423337/24000s"/>
</transition>"


Once every instance (there were two) of lines inside a transition that looked like "" was removed (because the transition XML key should not have a spine key) the XML imported without issue.

Tangier


Return to posts index

Andreas Kiel
Re: Anyone know how to fix XML DTD validation import issues?
on Feb 25, 2015 at 4:50:42 am

Just for the records - in case some somebody else will run into a similar problem.

DTD validation failed. (Element transition content does not follow the DTD, expecting (filter-video? , filter-audio? , (marker | chapter-marker | rating | keyword | analysis-marker)* , metadata? , reserved?), got (filter-video filter-audio spine )
Element transition content does not follow the DTD, expecting (filter-video? , filter-audio? , (marker | chapter-marker | rating | keyword | analysis-marker)* , metadata? , reserved?), got (filter-video filter-audio spine )
)

The first underlined part shows the element where the error occurs. The parts between this and the second underlined part show the options or what is expected (though they are vague). The second underlined part starting with "got" shows what is found.
So in this case you have to search for a transition element which includes "spine".

If FCPX creates a XML like Tangier's you should file a bug to Apple.

- Andreas

Spherico
http://www.spherico.com/filmtools

"He who fights with monsters should be careful lest he thereby
become a monster. And if thou gaze long into an abyss, the abyss will
also gaze into thee." - Friedrich Nietzsche, Beyond Good and Evil


Return to posts index

Rowena Megan
Re: Anyone know how to fix XML DTD validation import issues?
on Oct 12, 2017 at 5:50:05 am

Hi Andreas,
Help please!! I just bought PluralEyes and am struggling....
I am getting this message when trying to export an XML from PluralEyes to FCPX:
The XML document sent from application "PluralEyes 4" could not be imported.
DTD validation failed. (Element asset-clip content does not follow the DTD, expecting (note? , (conform-rate? , timeMap?) , ((adjust-crop? , adjust-corners? , adjust-conform? , adjust-transform? , adjust-blend? , adjust-stabilization? , adjust-rollingShutter?) , adjust-volume? , adjust-panner?) , (audio | video | clip | title | mc-clip | ref-clip | sync-clip | asset-clip | audition | spine)* , (marker | chapter-marker | rating | keyword | analysis-marker)* , audio-channel-source* , (filter-video | filter-video-mask)* ,...)

I read above that you said I should duplicate the XML but I can't even find it, as it sends it directly to FCPX! Where does PluralEyes store them so that I can try your trick? Does that mean I have to do this every single time I export from PluralEyes or is there a way to make PluralEyes and FCPX work better together??

Thank you!
Rowena


Return to posts index


Ivan Barra
Re: Anyone know how to fix XML DTD validation import issues?
on Nov 29, 2016 at 9:28:39 pm

So you deleted the entire portion of code you have listed? Thanks in advance! Having the same issue as I type!


Return to posts index

Ian Pringle
Re: Anyone know how to fix XML DTD validation import issues?
on Dec 11, 2017 at 12:48:13 pm

I'm having the same issue... and wondered whether Andreas Kiel might be able to help identify which lines I need to remove in the .fcpxml file? I need to open a file that a colleague (in another country) exported in Sony Vegas (now Magix) that I can open in FCPX.

Here's my error message:

DTD validation failed. (Element video content does not follow the DTD, expecting (note? , timeMap? , (info-asc-cdl? , adjust-crop? , adjust-corners? , adjust-conform? , adjust-transform? , adjust-blend?) , (audio | video | clip | title | mc-clip | ref-clip | audition | spine)* , (marker | chapter-marker)* , filter*), got (adjust-blend adjust-transform )
Element video content does not follow the DTD, expecting (note? , timeMap? , (info-asc-cdl? , adjust-crop? , adjust-corners? , adjust-conform? , adjust-transform? , adj...)

Any help would be much appreciated!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]