cjcodeproj/vtmedia-schema

More love for the external link structures

Closed this issue · 4 comments

The external library/link structures in the catalog element could use some attention. Mostly testing.

It should also be investigated as to whether or not to use xlink for all references to external resources.

https://www.w3.org/TR/xlink11/

Tried a preliminary test using Xlink using xmllint for validation.

Unfortunately, the test resulted in being rate limited for downloading the xlink.xsd schema multiple times.

Additional notes:

The main advantage of using xlink:href is the attribute can be immediately recognized by tools that are made to look for Xlink elements. Programs that may not have any understanding of the nature of the document we create can still identify remote resources, and understand there is a relationship between the two.

Closing Notes

Ticket #110 has finally been closed, so I wanted to finish this ticket because there were a lot of changes hanging out in the working repository.

Makefile update

There was one small bug in the Makefile that was merged into this fix.

Xlink support

The <website> element supports both xlink:href and xlink:title attributes. Technically the element can hold character data, but I'm not sure what to do with it yet. I'll keep experimenting.

Updated sample films

The sample titles, "Blood Simple", and "The Great Escape" both use the new website element. Also added more <role> elements to Blood Simple.