Page 1 of 1

xml questions

PostPosted: Fri Jun 27, 2008 12:41 pm
by Lone.prophet
i asked it in the gulf thread though i am not sure if people go there

so are these characters invalid cause the check tool says they are

è é î


and what does this mean?
Code: Select all
line 529: </map> - Opening and ending tag mismatch: components line 83 and map

line 529: </map> - Premature end of data in tag continent line 80

line 529: </map> - Premature end of data in tag map line 2

Re: xml questions

PostPosted: Fri Jun 27, 2008 2:46 pm
by oaktown
you may need to insert the unicode entity references for these characters, because I've found that the straight characters mess with BoB.

(listen to me, I sound like I know what I'm talking about!)

here's a good source:
http://en.wikipedia.org/wiki/List_of_XM ... references

I can't help you on the other errors.

Re: xml questions

PostPosted: Fri Jun 27, 2008 2:49 pm
by InkL0sed
It sounds like you have a mis-placed ending tag, or maybe that's just an error caused by it being unable to read those characters.

Re: xml questions

PostPosted: Fri Jun 27, 2008 10:42 pm
by lanyards
I think I know what the problem is if I found the current XML for the map.
From one I found in the thread, you forgot to put the "end components" and "end continent" tags on the last continent:

Code: Select all
<continent>
<name>Duplessis</name>
<bonus>2</bonus>
<components>
<territory>Gaspésie</territory>
<territory>Anticosti</territory>
<territory>Duplessis</territory>
<territory>Port Cartier</territory>

RIGHT HERE YOU NEED:
</components>
</continent>

<territory>
<name>Nunavik</name>
<borders>
<border>Baie-James</border>
<border>Manicouagan</border>
<border>Labrador City</border>
<border>Nunatsiavut</border>


Check if thats the problem.

--lanyards

Re: xml questions

PostPosted: Sat Jun 28, 2008 2:25 am
by cairnswk
Lone.prophet wrote:i asked it in the gulf thread though i am not sure if people go there

so are these characters invalid cause the check tool says they are

è é î

....


I put the following line into the very top of the xml file for Das Schloß and everything works OK.

Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>


See if that helps.

Re: xml questions

PostPosted: Sat Jun 28, 2008 3:33 am
by Lone.prophet
ok thnx for the help all, ill try it out :D

Re: xml questions

PostPosted: Sun Jun 29, 2008 4:59 am
by Lone.prophet
Ok i got another question

if i got my large coordinates can i autoscale those to te small version?

Re: xml questions

PostPosted: Sun Jun 29, 2008 8:26 am
by lanyards
Lone.prophet wrote:Ok i got another question

if i got my large coordinates can i autoscale those to te small version?
I think theres someway with the Jota Map Assistance, but I'm not sure. It has an option to do them both at the same time. But if it does, it probably won't be perfectly centered.

--lanyards

Re: xml questions

PostPosted: Sun Jun 29, 2008 8:30 am
by bryguy
lanyards wrote:
Lone.prophet wrote:Ok i got another question

if i got my large coordinates can i autoscale those to te small version?
I think theres someway with the Jota Map Assistance, but I'm not sure. It has an option to do them both at the same time. But if it does, it probably won't be perfectly centered.

--lanyards


yea there is whith the jota map assistant. i think that you basically choose the option that is both if im correct. That way when you get the coordinates for one of them, u get the coordinates for both of them

Re: xml questions

PostPosted: Sun Jun 29, 2008 8:41 am
by Lone.prophet
yeah i know about that though it wasnt really what i meant cause i think you still have to click

Re: xml questions

PostPosted: Sun Jun 29, 2008 8:46 am
by bryguy
Lone.prophet wrote:yeah i know about that though it wasnt really what i meant cause i think you still have to click


if im correct, you just select that option, then click (for on the large or small map) where you want the coordinates, and then it gives them to you for both the large and small

Re: xml questions

PostPosted: Sun Jun 29, 2008 9:15 am
by Lone.prophet
yeah but i got the large coordinates i just needed to scale them to small

Re: xml questions

PostPosted: Sun Jun 29, 2008 9:18 am
by lanyards
Lone.prophet wrote:yeah but i got the large coordinates i just needed to scale them to small
I don't think you can once you already did one separately. Just do the small ones by themselves, it doesn't take that long.

--lanyards