Author Topic: XML Parsing error  (Read 1747 times)

Offline Shawn42

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
XML Parsing error
« on: July 31, 2016, 03:20:54 PM »
I have had this happen on a few .sup files I am importing into XL. The current one is

"XML Parsing error, 'mismatched tag' at 52739"

I am not sure if the error is in the rbgeffects file or the file I am trying to bring over. I don't want to confuse so I will not go into the other XML errors I got, hopefully if I can understand this error and why it is happening I can apply that to the other errors I am getting.

I looked at the xml file in notepad and I can't even find '52739'.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: XML Parsing error
« Reply #1 on: July 31, 2016, 03:32:53 PM »
Pretty sure that happens when someone is trying to use an LMS sequence created with a Demo version of LOR.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: XML Parsing error
« Reply #2 on: July 31, 2016, 03:33:52 PM »
Oh you said .sup file though.  I'd need an example file that has the error.

Offline Phrog30

  • Hero Member
  • *****
  • Posts: 1234
    • View Profile
Re: XML Parsing error
« Reply #3 on: July 31, 2016, 03:43:45 PM »
Download notepad ++ it's free and better/easier to use.

James

Sent from my SM-G900V using Tapatalk


Offline Shawn42

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: XML Parsing error
« Reply #4 on: July 31, 2016, 04:42:04 PM »
Wasn't sure which file you were referring to so attached is my rgbeffects file, the xml sequence I'm trying to import into, and the .sup file I'm trying to import.

Offline Shawn42

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: XML Parsing error
« Reply #5 on: July 31, 2016, 04:44:11 PM »
Guess they didn't all attach.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: XML Parsing error
« Reply #6 on: July 31, 2016, 05:52:45 PM »
Ok I've solved it.  You are using a newer version of Superstar and they've updated the save file format.  The problem is SuperStar has always created illegal XML and we've got an entire function dedicated to fixing the malformed XML in SuperStar files.  Well with the new version 6 save format apparently they added a new section called "groups" and so I had to add code to fix all of the end tags for the "<group" items.

There is supposed to be a closing forward slash on the end of the tag so it should be ending with "/>" instead of ">".  That causes our third-party XML parser to blow up.

   <groups>
      <group name="ZZZZZ" startTime="960" endTime="1260" layer="1" savedIndex="0">


Anyways I've added "<group" to the list of tags to correct and now it's working.  Will be in next release.

Offline Shawn42

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: XML Parsing error
« Reply #7 on: July 31, 2016, 06:10:08 PM »
Damn you're good.

I went into the .sup file, removed the groupings and it imported just fine. Thank you!

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: XML Parsing error
« Reply #8 on: July 31, 2016, 06:19:00 PM »
Cool I forgot to suggest you could do that since we ignore that section anyways.  Glad you figured out the work-around.