Home | Webstore
Latest News: OOTP 18.8.76 Update Available - OOTP 18 Available - FHM 4 Available - MLB Manager 2017 Available Now

Franchise Hockey Manager 4 Available

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 18 > OOTP Mods > OOTP Mods - Names and Nations

Reply
 
Thread Tools
Old 01-30-2017, 02:16 AM   #1
thorpegiovanni
Major Leagues
 
thorpegiovanni's Avatar
 
Join Date: Jul 2016
Location: NV
Posts: 473
Thanks: 146
Thanked 153x in 97 posts
XML Error

I've already posted about this in other spots, but seriously, I do not understand my issue.




I continue to tweak it little by little, and a slightly different line for the error pops up every time. I'm using TextEdit to edit the XML, by the way.
__________________
Online Manager
108 League - Washington Wombats
---
'18 Beta Tester
Baseball For All
thorpegiovanni is offline   Reply With Quote
Old 01-30-2017, 08:40 AM   #2
albatross11
All Star Reserve
 
Join Date: Mar 2003
Posts: 803
Thanks: 54
Thanked 126x in 103 posts
Can't see your line numbers, so can't reply to your specific problem; however, you can try a program called EditX. It may help you. There's a free version.

XML Editor
__________________
Peace,

albatross
albatross11 is offline   Reply With Quote
Old 01-30-2017, 10:50 AM   #3
thorpegiovanni
Major Leagues
 
thorpegiovanni's Avatar
 
Join Date: Jul 2016
Location: NV
Posts: 473
Thanks: 146
Thanked 153x in 97 posts
Quote:
Originally Posted by albatross11 View Post
Can't see your line numbers, so can't reply to your specific problem; however, you can try a program called EditX. It may help you. There's a free version.

XML Editor
I don't have line numbers on text edit, but I've been going by the first phrase that pops up in the error.
__________________
Online Manager
108 League - Washington Wombats
---
'18 Beta Tester
Baseball For All
thorpegiovanni is offline   Reply With Quote
Old 01-30-2017, 10:58 AM   #4
thorpegiovanni
Major Leagues
 
thorpegiovanni's Avatar
 
Join Date: Jul 2016
Location: NV
Posts: 473
Thanks: 146
Thanked 153x in 97 posts
Quote:
Originally Posted by albatross11 View Post
Can't see your line numbers, so can't reply to your specific problem; however, you can try a program called EditX. It may help you. There's a free version.

XML Editor
Never coded before, this is making my head spin. But opened the application, and right off the bat I'm hit with this:


I'll try to figure things out tonight.
__________________
Online Manager
108 League - Washington Wombats
---
'18 Beta Tester
Baseball For All
thorpegiovanni is offline   Reply With Quote
Old 01-30-2017, 11:00 AM   #5
thorpegiovanni
Major Leagues
 
thorpegiovanni's Avatar
 
Join Date: Jul 2016
Location: NV
Posts: 473
Thanks: 146
Thanked 153x in 97 posts
I got the dst part to work, it was the random ". But I keep getting the errors. I'm in for a ride.
__________________
Online Manager
108 League - Washington Wombats
---
'18 Beta Tester
Baseball For All
thorpegiovanni is offline   Reply With Quote
Old 01-30-2017, 12:21 PM   #6
joefromchicago
Hall Of Famer
 
joefromchicago's Avatar
 
Join Date: Jun 2011
Posts: 2,058
Thanks: 1,021
Thanked 1,446x in 732 posts
Turn off "smart quotes." That's the cause of most of these XML errors.
joefromchicago is offline   Reply With Quote
Old 01-30-2017, 11:53 PM   #7
thorpegiovanni
Major Leagues
 
thorpegiovanni's Avatar
 
Join Date: Jul 2016
Location: NV
Posts: 473
Thanks: 146
Thanked 153x in 97 posts


???
__________________
Online Manager
108 League - Washington Wombats
---
'18 Beta Tester
Baseball For All
thorpegiovanni is offline   Reply With Quote
Old 01-31-2017, 12:10 AM   #8
stl jason
Major Leagues
 
stl jason's Avatar
 
Join Date: Apr 2006
Posts: 400
Thanks: 126
Thanked 159x in 108 posts
after the <STATE> entry, you have to open the city group with <CITIES>, then the next line can be the individual <CITY... entries (see 106330 and 106331 for an example). The last entry will be </CITIES> to close the group when you have entered all the cities for that state.


side note: 106332 and 106341 looks like it has an extra /> after the closing </CITIES> entry.
stl jason is online now   Reply With Quote
Old 01-31-2017, 10:34 AM   #9
albatross11
All Star Reserve
 
Join Date: Mar 2003
Posts: 803
Thanks: 54
Thanked 126x in 103 posts
Don't know if you use OpenOffice (or Excel), but here's a template someone (kq?) made that might be helpful. You fill in your info and paste it into your xml file. It can help with some of those formatting errors.


blank world_default.zip
__________________
Peace,

albatross
albatross11 is offline   Reply With Quote
Old 01-31-2017, 10:30 PM   #10
thorpegiovanni
Major Leagues
 
thorpegiovanni's Avatar
 
Join Date: Jul 2016
Location: NV
Posts: 473
Thanks: 146
Thanked 153x in 97 posts
The errors I get seem to be with the tags and end-tags, rather than the actual content. No idea why. I have the same exact format throughout the edit, but some parts are alright while others are not.
__________________
Online Manager
108 League - Washington Wombats
---
'18 Beta Tester
Baseball For All
thorpegiovanni is offline   Reply With Quote
Old 02-01-2017, 01:56 AM   #11
thorpegiovanni
Major Leagues
 
thorpegiovanni's Avatar
 
Join Date: Jul 2016
Location: NV
Posts: 473
Thanks: 146
Thanked 153x in 97 posts
The element type "STATES" must be terminated by the matching end-tag "</STATES>".
__________________
Online Manager
108 League - Washington Wombats
---
'18 Beta Tester
Baseball For All
thorpegiovanni is offline   Reply With Quote
Old 02-01-2017, 04:47 AM   #12
albatross11
All Star Reserve
 
Join Date: Mar 2003
Posts: 803
Thanks: 54
Thanked 126x in 103 posts
If you're referring to your example, the closing tag </STATES> shouldn't be there at line 16333. You haven't finished with all of your states yet. The one at line 16352 is the one you want to close out your <States> with. Try taking out the first one (line 16333).
__________________
Peace,

albatross
albatross11 is offline   Reply With Quote
Old 02-01-2017, 09:55 AM   #13
stl jason
Major Leagues
 
stl jason's Avatar
 
Join Date: Apr 2006
Posts: 400
Thanks: 126
Thanked 159x in 108 posts
just scanning over the screenshot posted... here are some issues to fix (some already addressed by Albatross):

106315: opens the new continent, but needs to be: <CONTINENT id="7" name="Atlantis".... (etc)... >

106316: delete this line. The </CONTINENT> entry is used to close it once you've added all your nations, states and cities. Assuming you aren't adding another continent, you can update line 106354 to </CONTINENT> to close it out. Line 106355 then closes out all continents.

You'll want to add a lines above 106354, first to close out the nation of Atlantis with </NATION>, and then to close out all nations with </NATIONS>; again, assuming you aren't adding more.

Line 106332: delete the extra /> after the </CITIES> entry.

Line 106333: change to </STATE> as you are only closing a single state, not finishing all state entries.

Line 106335: add <CITIES> to open the city group before entering the city data.

Line 106337: looks like this is supposed to be part of line 106335 (the longitude and abbr for that city).

Line 106341: delete the extra /> after the </CITIES> entry.

Line 106344: add <CITIES> above this entry to open the city group for the new state.

Line 106349: add <CITIES> above this entry to open the city group for the new state.
stl jason is online now   Reply With Quote
Old 02-01-2017, 10:05 AM   #14
albatross11
All Star Reserve
 
Join Date: Mar 2003
Posts: 803
Thanks: 54
Thanked 126x in 103 posts
Quote:
Originally Posted by stl jason View Post
just scanning over the screenshot posted... here are some issues to fix (some already addressed by Albatross):

106315: opens the new continent, but needs to be: <CONTINENT id="7" name="Atlantis".... (etc)... >

106316: delete this line. The </CONTINENT> entry is used to close it once you've added all your nations, states and cities. Assuming you aren't adding another continent, you can update line 106354 to </CONTINENT> to close it out. Line 106355 then closes out all continents.

You'll want to add a lines above 106354, first to close out the nation of Atlantis with </NATION>, and then to close out all nations with </NATIONS>; again, assuming you aren't adding more.

Line 106332: delete the extra /> after the </CITIES> entry.

Line 106333: change to </STATE> as you are only closing a single state, not finishing all state entries.

Line 106335: add <CITIES> to open the city group before entering the city data.

Line 106337: looks like this is supposed to be part of line 106335 (the longitude and abbr for that city).

Line 106341: delete the extra /> after the </CITIES> entry.

Line 106344: add <CITIES> above this entry to open the city group for the new state.

Line 106349: add <CITIES> above this entry to open the city group for the new state.
Yep
__________________
Peace,

albatross
albatross11 is offline   Reply With Quote
Old 02-01-2017, 10:44 AM   #15
thorpegiovanni
Major Leagues
 
thorpegiovanni's Avatar
 
Join Date: Jul 2016
Location: NV
Posts: 473
Thanks: 146
Thanked 153x in 97 posts
Actually, the problem is slightly different because I've changed certain things since the last post.
Here it is now:
__________________
Online Manager
108 League - Washington Wombats
---
'18 Beta Tester
Baseball For All
thorpegiovanni is offline   Reply With Quote
Old 02-01-2017, 10:48 AM   #16
thorpegiovanni
Major Leagues
 
thorpegiovanni's Avatar
 
Join Date: Jul 2016
Location: NV
Posts: 473
Thanks: 146
Thanked 153x in 97 posts
I opened <CITIES> on line 42 and 47 as well. My only remaining issue is this <STATES> things.
__________________
Online Manager
108 League - Washington Wombats
---
'18 Beta Tester
Baseball For All
thorpegiovanni is offline   Reply With Quote
Old 02-01-2017, 11:09 AM   #17
stl jason
Major Leagues
 
stl jason's Avatar
 
Join Date: Apr 2006
Posts: 400
Thanks: 126
Thanked 159x in 108 posts
106333: delete the / at the end of the line between "APO" and >
stl jason is online now   Reply With Quote
Old 02-01-2017, 09:24 PM   #18
thorpegiovanni
Major Leagues
 
thorpegiovanni's Avatar
 
Join Date: Jul 2016
Location: NV
Posts: 473
Thanks: 146
Thanked 153x in 97 posts
With the help of txranger, I've gotten it to work! Thanks to all for advice and help.
__________________
Online Manager
108 League - Washington Wombats
---
'18 Beta Tester
Baseball For All
thorpegiovanni is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:58 PM.

 

Major League Baseball trademarks and copyrights are used with permission of MLB Advanced Media, L.P. Minor League Baseball trademarks and copyrights are used with the permission of Minor League Baseball. All rights reserved.

The Major League Baseball Players Association (www.MLBPLAYERS.com ) is the collective bargaining representative for all professional baseball players of the thirty Major League Baseball teams and serves as the exclusive group licensing agent for commercial and licensing activities involving active Major League baseball players. On behalf of its members, it operates the Players Choice licensing program and the Players Choice Awards, which benefit the needy through the Major League Baseball Players Trust, a charitable foundation established and run entirely by Major League baseball players. Follow: @MLB_Players; @MLBPAClubhouse; @MLBPlayersTrust

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2017 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright © 2015 Out of the Park Developments