DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Point Motivator Errors reading XML file  (Read 12,688 times)

boyko

  • Participant
  • Joined in 2007
  • *
  • Posts: 3
Point Motivator Errors reading XML file
« on: February 11, 2013, 01:00 AM »
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, 01:33 PM by mouser »

boyko

  • Participant
  • Joined in 2007
  • *
  • Posts: 3
Re: Point Motivator Errors reading XML file
« Reply #1 on: February 11, 2013, 01:32 AM »
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,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Point Motivator Errors reading XML file
« Reply #2 on: February 11, 2013, 01:23 PM »
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,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Point Motivator Errors reading XML file
« Reply #3 on: February 11, 2013, 01:33 PM »
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.

http://www.donationcoder.com/Software/Mouser/PointMotivator/downloads/beta/PointMotivator.zip

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

boyko

  • Participant
  • Joined in 2007
  • *
  • Posts: 3
Re: Point Motivator Errors reading XML file
« Reply #4 on: February 11, 2013, 05:01 PM »
Thank You, Mouser!  :)
Now Potnt Motivator works without errors!  :up:

Best wishes!
Boyko

Original address: https://www.donationcoder.com/forum/index.php?topic=33987.0