Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dvdauthor does not accept dvdunauthor generated xml files #6

Open
pmaziere opened this issue Apr 24, 2014 · 3 comments
Open

dvdauthor does not accept dvdunauthor generated xml files #6

pmaziere opened this issue Apr 24, 2014 · 3 comments

Comments

@pmaziere
Copy link

In order to have a better understanding of how DVDs are structured, I used dvdunauthor (latest git master commit) on one of my DVD to generate the corresponding xml file.
When i tried to use this xml file with dvdauthor (dvdauthor -x myfile.xml -o OutputPath), it says that it cannot match start tag titlemap.

So I had a look at the source, and it seems that the xml structure expected by dvdauthor is not the same as the one generated by dvdunauthor.

@ldo
Copy link
Owner

ldo commented Apr 28, 2014

What would you propose as a fix?

@pmaziere
Copy link
Author

First, could you please explain why dvdauthor input xml file and dvdunauthor output xml file do not have the same schemas ? I think I've read, maybe in the ML, that dvdunauthor was in advance compared to dvdauthor, the former being able to describe more DVD features than the latter. Can you confirm ? For what follows, I will suppose that you do.

From what I read in the source, the xml structure is verified by a manually build tag/allowedChildrenTags/callback associations. So I would propose 4 steps:
1/ confirm that the dvdauthor.xsd is in sync with the output of dvdunauthor; if not, fix it so that everyone could have a common reference
2/ update the tag/allowedChildrenTags/callback associations to match the schema of dvdunauthor, using empty callbacks for missing features
3/ update dvdauthor output xml file to be in sync with the fixed dvdauthor.xsd
4/ implement the empty callbacks introduced in 2

What do you think ?

@lu-zero
Copy link

lu-zero commented Jul 6, 2014

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants