topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 1:44 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Point Motivator Errors reading XML file  (Read 8894 times)

boyko

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Point Motivator Errors reading XML file
« on: February 10, 2013, 07:00 PM »
First, I'll thank you mouser -PM'creator  :up:!
I think that these errors

-"I cannot delete or modify entries?",
-"I get an error: could not be loaded by tinyxml lib - Error reading end tag" ...

are because we use non-english language for describe Item-Definitions!
I found: "XML Encoding" and "XML Syntax Rules"

For errors check here and edit your Item-Definitions-file:
XML-Validattor
or open in your browser.

Mouser, is this right? Can you do something to this?
Thank you!
« Last Edit: February 11, 2013, 07:33 AM by mouser, Reason: modified topic »

boyko

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Point Motivator Errors reading XML file
« Reply #1 on: February 10, 2013, 07:32 PM »
I close PM, edit my Item-Definition-file by this way:

<?xml version="1.0" encoding="UTF-16"?>

("XML Encoding" - The following encoding, will NOT give an error)


Open PM, and error (..could not be loaded by tinyxml lib - Error reading end tag) was gone  :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Point Motivator Errors reading XML file
« Reply #2 on: February 11, 2013, 07:23 AM »
Thanks for the post boyko, and welcome to the site!
Looks like you figured out something useful.

I will try to add code to Point Motivator to use the encoding field in saving xml files in future versions.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Point Motivator Errors reading XML file
« Reply #3 on: February 11, 2013, 07:33 AM »
I have uploaded a beta version that saves files with the encoding set to UTF-16.

It's just the new exe, not a full setup file, so download and unzip and replace your existing exe.

https://www.donation...a/PointMotivator.zip

This should let you edit and save the files without encountering the problem.

boyko

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Re: Point Motivator Errors reading XML file
« Reply #4 on: February 11, 2013, 11:01 AM »
Thank You, Mouser!  :)
Now Potnt Motivator works without errors!  :up:

Best wishes!
Boyko