1.0.2 - Players.xml gives Not Well Formed error in Firefox

This section contains all the bug reports that have been solved in version 1. / Cette section contient tous les rapports d'erreur qui ont été résolu dans la version 1.
Post Reply
xfhl
New in Town / Le Ptit Nouveau
Posts: 24
Joined: Wed May 30, 2007 2:11 am

1.0.2 - Players.xml gives Not Well Formed error in Firefox

Post by xfhl »

players.xml is giving a XML Parsing Error: not well-formed error when viewed in Firefox. It seems it does not like the whitespace left between the <injury> and </injury> tags for non-injured players. IE displays it (and XSLT can properly use it in IE).

When I view the xml file in IE it seems to remove the open tag for <injury> but still allows the document to be parsed.

Furthermore when I view the source of the xml file (from Firefox), it shows the injury tag with no whitespace, whereas the generated file has whitespaces. From IE, the source has the whitespaces.
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14776
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Post by SimonT »

I "think" I was incorrectly feeding the injury tag. In the next version, it should be emtpy.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
xfhl
New in Town / Le Ptit Nouveau
Posts: 24
Joined: Wed May 30, 2007 2:11 am

Post by xfhl »

Does XML allow for an empty tag? When I did a quick check to see if putting 0 in would fix, Firefox accepted it.

At any rate, thanks :)
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14776
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Post by SimonT »

Can you send me an email, I'll send you an XML with an empty space. We'll see what you get.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Kitsune
The Addict / Le Drogué
Posts: 555
Joined: Tue Jun 20, 2006 7:23 pm
Location: Toronto
Contact:

Post by Kitsune »

and I got the same error in excel last night too.
xfhl
New in Town / Le Ptit Nouveau
Posts: 24
Joined: Wed May 30, 2007 2:11 am

Post by xfhl »

Sorry, I missed response, I'll send now.

Thanks
SimonT
STHS Owner / Propriétaire du STHS
Posts: 14776
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Post by SimonT »

This bug will be fixed in 1.0.3.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Post Reply