daitss/core — Issue #576: d1refresh: descriptor fails daitss aip xml validation
Author: childree
Created: 2011-11-08 16:39:58+00:00
State: open

The following SNAFU occurred during a refresh:

d1refresh of E20080903_AAAAAE ( error )
snafu
time	Tue Nov 08 07:44:08 -0500 2011
message

descriptor fails daitss aip xml validation (5 errors)
542,77: cvc-complex-type.2.3: Element 'mix:exposureBiasValue' cannot have character [children], because the type's content type is element-only.
543,65: cvc-enumeration-valid: Value '5' is not facet-valid with respect to enumeration '[Average, Center weighted average, Spot, Multispot, Pattern, Partial]'. It must be a value from the enumeration.
543,65: cvc-complex-type.2.2: Element 'mix:meteringMode' must have no element [children], and the value must be valid.
544,51: cvc-enumeration-valid: Value '9' is not facet-valid with respect to enumeration '[Flash did not fire, Flash fired, Strobe return light not detected, Strobe return light detected, Flash fired, compulsory flash mode, Flash fired, compulsory flash mode, return light not detected, Flash fired, compulsory flash mode, return light detected, Flash did not fire, compulsory flash mode, Flash did not fire, auto mode, Flash fired, auto mode, Flash fired, auto mode, return light not detected, Flash fired, auto mode, return light detected, No flash function, Flash fired, red-eye reduction mode, Flash fired, red-eye reduction mode, return light not detected, Flash fired, red-eye reduction mode, return light detected, Flash fired, compulsory flash mode, red-eye reduction mode, Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected, Flash fired, compulsory flash mode, red-eye reduction mode, return light detected, Flash fired, auto mode, red-eye reduction mode, Flash fired, auto mode, return light not detected, red-eye reduction mode, Flash fired, auto mode, return light detected, red-eye reduction mode]'. It must be a value from the enumeration.
544,51: cvc-complex-type.2.2: Element 'mix:flash' must have no element [children], and the value must be valid.

trace

/opt/web-services/sites/core/releases/20111031151729/lib/daitss/proc/template/descriptor.rb:49:in `validate_aip_descriptor'
/opt/web-services/sites/core/releases/20111031151729/lib/daitss/proc/wip/d1_refresh.rb:29:in `d1refresh'
/opt/web-services/sites/core/releases/20111031151729/lib/daitss/proc/wip/journal.rb:16:in `step'
/opt/web-services/sites/core/releases/20111031151729/lib/daitss/proc/wip/d1_refresh.rb:29:in `d1refresh'
/opt/web-services/sites/core/releases/20111031151729/lib/daitss/proc/wip/process.rb:82:in `send'
/opt/web-services/sites/core/releases/20111031151729/lib/daitss/proc/wip/process.rb:82:in `spawn'
/opt/web-services/sites/core/releases/20111031151729/lib/daitss/proc/wip/process.rb:66:in `fork'
/opt/web-services/sites/core/releases/20111031151729/lib/daitss/proc/wip/process.rb:66:in `spawn'
./bin/pulse:161:in `start_wips'
./bin/pulse:158:in `each'
./bin/pulse:158:in `start_wips'
./bin/pulse:188
./bin/pulse:186:in `loop'
./bin/pulse:186