openpreserve / jpylyzer

JP2 (JPEG 2000 Part 1) validator and properties extractor. Jpylyzer was specifically created to check that a JP2 file really conforms to the format's specifications. Additionally jpylyzer is able to extract technical characteristics.
http://jpylyzer.openpreservation.org/
Other
69 stars 28 forks source link

No defined namespace #37

Closed bitsgalore closed 9 years ago

bitsgalore commented 11 years ago

Also submitted by Thomas Ledoux (e/mail)±

2/ it's surprising that the XML output doesn't have any namespace defined (that would be handy to validate the output and to mangle it with XSLT...) The modification seems straightforward replace root=ET.Element('jpylyzer') by something like root=ET.Element('jpylyzer', {'xmlns': 'http://openplanetsfoundation.org/ns/jpylyzer'}) I suppose the main problem is to decide which URI to choose (openplanets or kb ???)

bitsgalore commented 9 years ago

Implemented in jpylyzer 1.14.0