PBCore-AV-Metadata / pbucore

16 stars 7 forks source link

Validate xml when converting #29

Closed awead closed 9 years ago

awead commented 9 years ago

This validates each pbcore xml file when converting it to EBUCore rdf as well as makes one of the sample PBCore files valid.

@afred when you're running tests, you'll probably not want to validate the "unit" level xml files such as pbcoreCoverage_example.xml because it's not intended to be a real-world example. That file will log a warning currently. However, tweaking the locations of sample files and which ones get validate, would eliminate that.

awead commented 9 years ago

Also, to note, I could not figure out how to alter the xsd validation file to ignore node order, so you're xml will need have its nodes in the correct order in order to be fully valid.

afred commented 9 years ago

@awead i take it the big changes to source_xml/cpb-aacip-500-6m335r61_pbcore.xml are just indentation?

awead commented 9 years ago

@afred yes, because I added pbcoreCollection