XML change btw two Gig files

Hi,

While investigating a problem I’ve been having with some widgets not retaining the values I left them at when rackspaces or gigs are reloaded, I observed the following in a difference check between the XML of two gig files:

Between saving these two gig files, I did nothing at all in the Songs/Setlist area, yet the XML in this area is not identical.

Should this happen? Is this even valid XML?

I’m concerned if I have a corrupted gig file, or if there is a deep bug in GP itself - though of course I continue to assume that observed problems are most likely to be my own errors.

Yes, it is valid XML. Any entity can be written as either a pair

<sometag> .... </sometag>

or optionally as a single tag if there is no content needed

<sometag/>

This information can be found in XML standards documentation!


Single Tags

Single tags consist of only an opening tag and no closing tag. They are used when the tag does not require content or when all content and behavior are specified using attributes.

3 Likes