Ticket #447 (new defect)

Opened 5 years ago

Last modified 4 years ago

'save batch render list' writes invalid XML

Reported by: rebirth@… Owned by: cinelerra@…
Priority: medium Milestone:
Component: File Loading Version: 2.1
Severity: normal Keywords:
Cc:

Description

In the batch render job list xml file, whenver there are two or more jobs, Cinelerra writes several root tags - in this case '<JOB>...</JOB>'.

This is ILLEGAL XML, and throws errors in standard XML parsing libraries.

Reproducible: Always

Steps to Reproduce:
1. Create a batch render list with 2 or more jobs
2. Save the list to an xml file
3. Try to load the xml file through a standards-compliant XML library or application

Actual Results:
XML library or application crashes with an error, complaining that the second and subsequent '<JOB>' tags are rubbish

Expected Results:
Cinelerra should write a single root tag - something like '<JOBS>' - and within this tag, write the 1 or more '<JOB>' tags as required.

Change History

Changed 4 years ago by guysoft@…

I think its illigal because of all the information saved with no bounding tag, like:
</ASSET>
PATH /path/to/file
AUDIO_CODEC twos
VIDEO_CODEC yuv2
AMPEG_BITRATE 256
AMPEG_DERIVATIVE 3
VORBIS_VBR 0
VORBIS_MIN_BITRATE -1
....

This isn't how XMLs work.

Note: See TracTickets for help on using tickets.