gameboy Posted October 15, 2017 Share Posted October 15, 2017 Today, I tested the latest SVN20299, and when I was building a Spartan opera house in the game, the error message suddenly appeared: ERROR: RelaxNGValidator: Validation error: (null):0: Extra element props in interleave ERROR: RelaxNGValidator: Validation error: art/actors/structures/spartans/theatron.xml:24: Element variant failed to validate content ERROR: RelaxNGValidator: Validation error: art/actors/structures/spartans/theatron.xml:5: Element group has extra content: variant ERROR: RelaxNGValidator: Validation error: (null):0: Extra element group in interleave ERROR: RelaxNGValidator: Validation error: art/actors/structures/spartans/theatron.xml:4: Element actor failed to validate content ERROR: RelaxNGValidator: Validation failed for '(null)' ERROR: CXeromyces: failed to validate XML file art/actors/structures/spartans/theatron.xml Link to comment Share on other sites More sharing options...
Stan` Posted October 15, 2017 Share Posted October 15, 2017 @LordGood Something's fishy. Link to comment Share on other sites More sharing options...
fatherbushido Posted October 15, 2017 Share Posted October 15, 2017 https://code.wildfiregames.com/rP20298#23799 (Which is mainly irrelevant compared to the art work done.) Link to comment Share on other sites More sharing options...
Stan` Posted October 15, 2017 Share Posted October 15, 2017 Thanks @fatherbushido for looking into it. Indeed it's small compared to the art part. Link to comment Share on other sites More sharing options...
fatherbushido Posted October 15, 2017 Share Posted October 15, 2017 In fact, that kind of error is detected by the scripts on phabricator. Link to comment Share on other sites More sharing options...
gameboy Posted October 15, 2017 Author Share Posted October 15, 2017 (edited) @stanislas69How to fix this problem? Edited October 15, 2017 by gameboy Link to comment Share on other sites More sharing options...
LordGood Posted October 15, 2017 Share Posted October 15, 2017 I got that once when I was messing around in the actor editor with atlas open. When I finalized my changes and restarted atlas, I didn't get it again. Link to comment Share on other sites More sharing options...
Stan` Posted October 15, 2017 Share Posted October 15, 2017 @LordGood Probably cache. Link to comment Share on other sites More sharing options...
fatherbushido Posted October 15, 2017 Share Posted October 15, 2017 It sounds strange. Validation is validation Nuking that part (keeping the 3rd one is ok) solves the problem: <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush" minheight=""/> <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_1" minheight=""/> <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_2"/> <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_3" minheight=""/> <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush" maxheight="" minheight=""/> <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_1" maxheight="" minheight=""/> <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_2" maxheight="" minheight=""/> <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_3" maxheight="" minheight=""/> I don't know anything at all that. But minheight and maxheight need a float. Perhaps the matter is here. Link to comment Share on other sites More sharing options...
fatherbushido Posted October 15, 2017 Share Posted October 15, 2017 Replacing the block by <props> <prop actor="props/structures/decals/dirt_6x6.xml" attachpoint="root"/> <prop actor="geology/decal_stone_medit_b.xml" attachpoint="root"/> <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush"/> <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_1"/> <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_2"/> <prop actor="props/flora/decals_flowers_daisies.xml" attachpoint="bush_3"/> <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush"/> <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_1"/> <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_2"/> <prop actor="flora/trees/mediterranean_cypress.xml" attachpoint="bush_3"/> </props> is ok for example. But perhaps you have to set those minheight and maxheight values. (Perhaps what I say is also stupid, I don't know anything at those stuff). Link to comment Share on other sites More sharing options...
gameboy Posted October 16, 2017 Author Share Posted October 16, 2017 @LordGood Please help me! Link to comment Share on other sites More sharing options...
LordGood Posted October 16, 2017 Share Posted October 16, 2017 I had minheight and maxheight set for the cypresses for obvious reasons, i got rid of them when it started throwing errors. apparently taking them out in the ActorEditor program doesn't get rid of the minheight/maxheight line itself but instead sets the value to "" Link to comment Share on other sites More sharing options...
gameboy Posted October 16, 2017 Author Share Posted October 16, 2017 @LordGoodCan you make a patch and upload it to SVN now? Thank you. Link to comment Share on other sites More sharing options...
fatherbushido Posted October 16, 2017 Share Posted October 16, 2017 4 hours ago, gameboy said: @LordGoodCan you make a patch and upload it to SVN now? Thank you. (fixed in https://trac.wildfiregames.com/changeset/20303) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now