[Xmlpp-common] Re: no bug in exec of nodetest
Brought to you by:
pit22
From: Kevin M. <ke...@vr...> - 2002-01-31 14:26:10
|
I found why it didn't work for me. I had assumes that nodetest would work on any generic xml file. I was wrong. It actually looks for certain nodes in the file, and core dumps if they aren't found. :( oh well... I suppose I can write more robust code than nodetest (hopefully). interesting looking software by the way. Kevin On Thu, 31 Jan 2002, Kevin Meinert wrote: > > When I run node test against my own .xml file it coredumps: > > $ nodetest.C > succesfully loaded hamlet.xml > Abort (core dumped) > > > this is the content I put into hamlet.xml: > > > <?xml version="1.0"?> > > <gameinput> > <bind action="Accelerate" device="Keyboard" input="KEY_UPARROW" /> > <bind action="Backstep" device="Keyboard" input="KEY_DOWNARROW" /> > <bind action="StraefLeft" device="Keyboard" input="KEY_LEFTARROW" /> > <bind action="StraefRight" device="Keyboard" input="KEY_RIGHTARROW" /> > <bind action="Jump" device="Keyboard" input="KEY_SPACE" /> > <bind action="Crouch" device="Keyboard" input="KEY_Q" /> > <bind action="Run" device="Keyboard" input="KEY_LSHIFT" /> > <bind action="MouseLookX" device="Mouse" input="MOUSEAXIS_X" /> > <bind action="MouseLookY" device="Mouse" input="MOUSEAXIS_Y" /> > </gameinput> > > > > > > -- @--@---@---@----@-----@------@------@-----@----@---@---@--@ Kevin Meinert __ _ __ http://www.vrac.iastate.edu/~kevn \ || \| \ / ` Virtual Reality Applications Center \ ||.-'|--\\ Howe Hall, Iowa State University, Ames Iowa \|| \| \`__, ----------------------------------------------------------- |