Conquer Club

xml questions

Topics that are not maps. Discuss general map making concepts, techniques, contests, etc, here.

Moderator: Cartographers

Forum rules
Please read the Community Guidelines before posting.

xml questions

Postby Lone.prophet on Fri Jun 27, 2008 12:41 pm

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
Image
Captain Lone.prophet
 
Posts: 1467
Joined: Thu Oct 12, 2006 4:37 pm
Location: Your basement Muahaha

Re: xml questions

Postby oaktown on Fri Jun 27, 2008 2:46 pm

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.
User avatar
Captain oaktown
 
Posts: 4451
Joined: Sun Dec 03, 2006 9:24 pm
Location: majorcommand

Re: xml questions

Postby InkL0sed on Fri Jun 27, 2008 2:49 pm

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.
User avatar
Lieutenant InkL0sed
 
Posts: 2370
Joined: Sat Jun 23, 2007 4:06 pm
Location: underwater

Re: xml questions

Postby lanyards on Fri Jun 27, 2008 10:42 pm

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
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
Major lanyards
 
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am
2

Re: xml questions

Postby cairnswk on Sat Jun 28, 2008 2:25 am

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.
Image
* Pearl Harbour * Waterloo * Forbidden City * Jamaica * Pot Mosbi
User avatar
Private cairnswk
 
Posts: 11510
Joined: Sat Feb 03, 2007 8:32 pm
Location: Australia

Re: xml questions

Postby Lone.prophet on Sat Jun 28, 2008 3:33 am

ok thnx for the help all, ill try it out :D
Image
Captain Lone.prophet
 
Posts: 1467
Joined: Thu Oct 12, 2006 4:37 pm
Location: Your basement Muahaha

Re: xml questions

Postby Lone.prophet on Sun Jun 29, 2008 4:59 am

Ok i got another question

if i got my large coordinates can i autoscale those to te small version?
Image
Captain Lone.prophet
 
Posts: 1467
Joined: Thu Oct 12, 2006 4:37 pm
Location: Your basement Muahaha

Re: xml questions

Postby lanyards on Sun Jun 29, 2008 8:26 am

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
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
Major lanyards
 
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am
2

Re: xml questions

Postby bryguy on Sun Jun 29, 2008 8:30 am

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
Corporal bryguy
 
Posts: 4381
Joined: Tue Aug 07, 2007 8:50 am
Location: Lost in a Jigsaw

Re: xml questions

Postby Lone.prophet on Sun Jun 29, 2008 8:41 am

yeah i know about that though it wasnt really what i meant cause i think you still have to click
Image
Captain Lone.prophet
 
Posts: 1467
Joined: Thu Oct 12, 2006 4:37 pm
Location: Your basement Muahaha

Re: xml questions

Postby bryguy on Sun Jun 29, 2008 8:46 am

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
Corporal bryguy
 
Posts: 4381
Joined: Tue Aug 07, 2007 8:50 am
Location: Lost in a Jigsaw

Re: xml questions

Postby Lone.prophet on Sun Jun 29, 2008 9:15 am

yeah but i got the large coordinates i just needed to scale them to small
Image
Captain Lone.prophet
 
Posts: 1467
Joined: Thu Oct 12, 2006 4:37 pm
Location: Your basement Muahaha

Re: xml questions

Postby lanyards on Sun Jun 29, 2008 9:18 am

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
Image
WANT AN ADVANTAGE WHILE WORKING TOWARDS MEDALS?
https://www.conquerclub.com/forum/viewtopic.php?f=529&t=226714
User avatar
Major lanyards
 
Posts: 1378
Joined: Sat Feb 24, 2007 1:31 am
2


Return to Foundry Discussions

Who is online

Users browsing this forum: No registered users

cron