#6659 closed defect (fixed)

RelaxNGValidator validate entity errors on changeset 27241 for elephant

Reported by: Langbart Owned by: Freagarach
Priority: Release Blocker Milestone: Alpha 27
Component: Simulation Keywords:
Cc: Patch: Phab:D4832

Description (last modified by Freagarach)

to reproduce

  • start scenarios/units_demo map
  • errors fill the screen

logs

0 A.D. (0.0.27) Main log (warnings and errors only)
ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/cart/champion_elephant:1: Element Resources failed to validate content

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/cart/champion_elephant:1: Element Loot failed to validate content

ERROR: RelaxNGValidator: Validation failed for '(null)'

ERROR: Failed to validate entity template 'units/cart/champion_elephant'

ERROR: Failed to load units/cart/champion_elephant

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/kush/champion_elephant:1: Element Resources failed to validate content

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/kush/champion_elephant:1: Element Loot failed to validate content

ERROR: RelaxNGValidator: Validation failed for '(null)'

ERROR: Failed to validate entity template 'units/kush/champion_elephant'

ERROR: Failed to load units/kush/champion_elephant

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/maur/champion_elephant:1: Element Resources failed to validate content

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/maur/champion_elephant:1: Element Loot failed to validate content

ERROR: RelaxNGValidator: Validation failed for '(null)'

ERROR: Failed to validate entity template 'units/maur/champion_elephant'

ERROR: Failed to load units/maur/champion_elephant

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/pers/champion_elephant:1: Element Resources failed to validate content

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/pers/champion_elephant:1: Element Loot failed to validate content

ERROR: RelaxNGValidator: Validation failed for '(null)'

ERROR: Failed to validate entity template 'units/pers/champion_elephant'

ERROR: Failed to load units/pers/champion_elephant

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/ptol/champion_elephant:1: Element Resources failed to validate content

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/ptol/champion_elephant:1: Element Loot failed to validate content

ERROR: RelaxNGValidator: Validation failed for '(null)'

ERROR: Failed to validate entity template 'units/ptol/champion_elephant'

ERROR: Failed to load units/ptol/champion_elephant

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/sele/champion_elephant:1: Element Resources failed to validate content

ERROR: RelaxNGValidator: Validation error: (null):0: Extra element food in interleave

ERROR: RelaxNGValidator: Validation error: units/sele/champion_elephant:1: Element Loot failed to validate content

ERROR: RelaxNGValidator: Validation failed for '(null)'

ERROR: Failed to validate entity template 'units/sele/champion_elephant'

ERROR: Failed to load units/sele/champion_elephant

bisect

[27241]

Change History (3)

comment:1 by Freagarach, 17 months ago

Description: modified (diff)
Owner: set to Freagarach
Patch: Phab:D4832

Thanks for the report!

comment:2 by Freagarach, 17 months ago

Priority: Should HaveRelease Blocker

comment:3 by Freagarach, 17 months ago

Resolution: fixed
Status: newclosed

In 27243:

Fix elephant mixins.

Use mul_round, refs. r25245 / rP25245. (Resources in cost and loot need to be integers.)

Reported by: @Langbart
Differential revision: D4832
Suggestion by: @Stan
Fixes #6659

Note: See TracTickets for help on using tickets.