Skip to content

dvdauthor does not accept dvdunauthor generated xml files #6

Open

Description

@pmaziere

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.

Activity

  1. ldo commented on Apr 28, 2014

    @ldo
    Owner

    What would you propose as a fix?

  2. pmaziere commented on Apr 28, 2014

    @pmaziere
    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 ?

  3. lu-zero commented on Jul 6, 2014

    @lu-zero

    +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions