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

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

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