PDA

View Full Version : Invalid XML format( expected =)!



Joe
08-14-2012, 06:22 PM
Im getting this error when trying to load Xeno settings in .xbst format.
This appears threre, wherer you're supposed to see "Setting loaded successfully!' message.
What can be wrong?

DarkstaR
08-14-2012, 06:24 PM
The XML parser is obviously expecting an =.

Joe
08-14-2012, 06:25 PM
Didn't understand anything you said, lol.
How can I fix this? I really don't feel like losing my waypoints that I've just added.

Joe
08-14-2012, 07:31 PM
Can anyone explain it to me in more clear way?

Jizzor
08-14-2012, 08:07 PM
You propably tried editing the .xbst settings by yourself in notepad or something? I can hardly believe xb makes a mistake like that. I would suggest your simply make a new settings file, copy the waypoints from the "broken" .xbst file (open in notepad) and copy them to the new settings file.
The waypoints are found here:



<panel name="Walker">
<control name="WaypointList">
<item text="Node (x, y, z)" tag="0"/>
<item text="Node (x, y, z)" tag="0"/>
<item text="Stand (x, y, z)" tag="0"/>
Etc ...
</control>
</panel>


Copy & paste them over the new settings & all should be good. If not propably a "tag" is missing an "="
like this: <item text="Stand (x, y, z)" tag="1"/>
Maybe the missing equals sign is actually missing in the walker settings, then I suppose you were editing the name for a Label (for scripting?) and by mistake removed the tag or the equals sign

Joe
08-14-2012, 08:13 PM
I edited it in notepad, copied whole panel 'walker'.
It must be that tag shit then. I'll look into it, thanks!

Xeno Scripts
08-14-2012, 10:07 PM
The XML parser is obviously expecting an =.

Wrong.

Ontopic: You need to change " " to ' ' in the walker!

Joe
08-14-2012, 10:15 PM
Sacrified some time and deleted waypoints one by one, tried to load script and see if it changed anything.
This was the problem:

<item text="Self.Say("utani gran hur")" tag="254"/>
whats wrong with it? I use one-liner to add this.

Xeno Scripts
08-14-2012, 10:20 PM
Sacrified some time and deleted waypoints one by one, tried to load script and see if it changed anything.
This was the problem:

whats wrong with it? I use one-liner to add this.


<item text="Self.Say('utani gran hur')" tag="254"/>

This is right! :D

Joe
08-14-2012, 10:22 PM
All about those ""s instead of ''s?
Trololo. Thanks ;D

Spectrus
08-15-2012, 09:15 AM
Alternatively you can escape your quotations using \" instead of ".

Aka Puppets
02-28-2013, 04:39 PM
An error that happened to me, I'm using an Elder Druid, so I putted on healing exura sio "Name, it makes a bug on healing section because of the ", it appears like <item spell="exura sio" Name". If it happens to you just change it to exura vita LOL.

Syntax
02-28-2013, 11:31 PM
Alternatively you can escape your quotations using \" instead of ".

what that guy said.

Norman1990
08-12-2013, 04:50 PM
An error that happened to me, I'm using an Elder Druid, so I putted on healing exura sio "Name, it makes a bug on healing section because of the ", it appears like <item spell="exura sio" Name". If it happens to you just change it to exura vita LOL.

This was the problem for me too.
You should check it.

LaggyNoob
09-17-2013, 02:23 PM
Also a problem for me, i've never "edited" the code in a document editor. Probably a simple mistake in the coding

jastra
06-19-2020, 02:30 AM
Hello

I have similar problem. I set up my config and save it. I couldnt load it and the error is "invalid xml format (expected=)!" I have checked my documents and I have document .xbst but I dont have document .lua in scripts folder. I tried to make one with notepad, I save the file as .lua restart the client and xenobot and still coulnt load this script. When I download scripts from "settings-> get scripts" everythings working. I just can't load my own scripts. Does somebody know how to fix it?