F4/F5 problem

This forum is for official support and troubleshooting FAQs.

Moderators: JAMiAM, ralphtricky

Post Reply
Legun
Posts: 209
Joined: Sat Apr 22, 2006 1:15 am
Location: Cracow, Poland

F4/F5 problem

Post by Legun »

Ralph - thanks for the new F4/F5 tool! Unfortunately, when I has tried to use it, I've met a problem. XML Pad Pro shows only source and there is a info on the Task List: "not well-formed (invalid token); Line 204

This is the line:

<UNIT ID="13" NAME="Fs.R.34/6.IBrig" ICON="Infantry" COLOR="82" SIZE="Regiment" EXPERIENCE="veteran" PROFICIENCY="80" READINESS="35" SUPPLY="95" GOINGTOX="1" GOINGTOY="18" EMPHASIS="Limit Losses" STATUS="2" ENTRY="220" REPLACEMENTPRIORITY="2">
Ralph - please, give my the composite units!
http://www.tdg.nu/cgi-bin/yabb2/YaBB.pl?num=1148781589
User avatar
Jo van der Pluym
Posts: 986
Joined: Sat Oct 28, 2000 8:00 am
Location: Heerlen, Netherlands

RE: F4/F5 problem

Post by Jo van der Pluym »

ORIGINAL: Legun

Ralph - thanks for the new F4/F5 tool! Unfortunately, when I has tried to use it, I've met a problem. XML Pad Pro shows only source and there is a info on the Task List: "not well-formed (invalid token); Line 204

This is the line:

<UNIT ID="13" NAME="Fs.R.34/6.IBrig" ICON="Infantry" COLOR="82" SIZE="Regiment" EXPERIENCE="veteran" PROFICIENCY="80" READINESS="35" SUPPLY="95" GOINGTOX="1" GOINGTOY="18" EMPHASIS="Limit Losses" STATUS="2" ENTRY="220" REPLACEMENTPRIORITY="2">

Hi Legun

ACOW had in past problems with F4/F5 if there are units
with slash /. By me have i solved this in ACOW by change slash / in - before in import it.
Greetings from the Netherlands

Jo van der Pluym
CrazyDutch

It's better to be a Fool on this Crazy World
Legun
Posts: 209
Joined: Sat Apr 22, 2006 1:15 am
Location: Cracow, Poland

RE: F4/F5 problem

Post by Legun »

This is probable - the problem didn't exist for F4/F5, but it made problem when an unit is saved from editor as a separated file. The question is - is it possible to be fixed, or I should edit "font" graphic files, replace "|" by slash and rename all units names?
Ralph - please, give my the composite units!
http://www.tdg.nu/cgi-bin/yabb2/YaBB.pl?num=1148781589
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: F4/F5 problem

Post by ralphtricky »

ORIGINAL: Legun

Ralph - thanks for the new F4/F5 tool! Unfortunately, when I has tried to use it, I've met a problem. XML Pad Pro shows only source and there is a info on the Task List: "not well-formed (invalid token); Line 204

This is the line:

<UNIT ID="13" NAME="Fs.R.34/6.IBrig" ICON="Infantry" COLOR="82" SIZE="Regiment" EXPERIENCE="veteran" PROFICIENCY="80" READINESS="35" SUPPLY="95" GOINGTOX="1" GOINGTOY="18" EMPHASIS="Limit Losses" STATUS="2" ENTRY="220" REPLACEMENTPRIORITY="2">
Try something like XMLPad 3, listed in the WhatsNew file, or Microsoft's XML Notepad 2007. They both accept a / inside a string. That should be legal XML as far as I can tell from reading the XML spec.

Ralph
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Legun
Posts: 209
Joined: Sat Apr 22, 2006 1:15 am
Location: Cracow, Poland

RE: F4/F5 problem

Post by Legun »

ORIGINAL: ralphtrick

ORIGINAL: Legun

Ralph - thanks for the new F4/F5 tool! Unfortunately, when I has tried to use it, I've met a problem. XML Pad Pro shows only source and there is a info on the Task List: "not well-formed (invalid token); Line 204

This is the line:

<UNIT ID="13" NAME="Fs.R.34/6.IBrig" ICON="Infantry" COLOR="82" SIZE="Regiment" EXPERIENCE="veteran" PROFICIENCY="80" READINESS="35" SUPPLY="95" GOINGTOX="1" GOINGTOY="18" EMPHASIS="Limit Losses" STATUS="2" ENTRY="220" REPLACEMENTPRIORITY="2">
Try something like XMLPad 3, listed in the WhatsNew file, or Microsoft's XML Notepad 2007. They both accept a / inside a string. That should be legal XML as far as I can tell from reading the XML spec.

Ralph

XMLPad 3 doesn't accept a "/" inside a string. Microsoft's XML Notepad 2007 isn't freeware, is it [:(]?
Ralph - please, give my the composite units!
http://www.tdg.nu/cgi-bin/yabb2/YaBB.pl?num=1148781589
User avatar
Telumar
Posts: 2334
Joined: Tue Jan 03, 2006 12:43 am

RE: F4/F5 problem

Post by Telumar »

No not really...this is not the standard XP notepad i guess, right? Ever heared of Notepad++ ?
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: F4/F5 problem

Post by ralphtricky »

ORIGINAL: Legun
XMLPad 3 doesn't accept a "/" inside a string. Microsoft's XML Notepad 2007 isn't freeware, is it [:(]?
Totally free. You could also for now open the file with WordPad and relpace all / with |, then replace them back after you're done editing.

I'll see what's going on.

Ralph
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Legun
Posts: 209
Joined: Sat Apr 22, 2006 1:15 am
Location: Cracow, Poland

RE: F4/F5 problem

Post by Legun »

ORIGINAL: ralphtrick
Totally free.

Good news. I'll try it. Thanks.
You could also for now open the file with WordPad and relpace all / with |, then replace them back after you're done editing.

The "/" is used on the end of each line, not only in names. I'm affraid this is a problem. Anyway, editing oob file by WordPad isn't really troublesome.

Ralph - please, give my the composite units!
http://www.tdg.nu/cgi-bin/yabb2/YaBB.pl?num=1148781589
Post Reply

Return to “TOAW III Support”