Game Development Community

Another 1.8.1 compile problem

by Mike Rowley · in Torque Game Engine Advanced · 02/25/2009 (6:47 pm) · 3 replies

I made a new project using the project generator and get the following error:

he following error has occurred during XML parsing:

File: C:\Torque\TGEA_1_8_1\myEngine\Projects\Dad&Jr\buildFiles\VisualStudio 2005\projects\Dad&Jr.vcproj
Line: 5
Column: 14
Error Message:
Semicolon expected.

The file 'C:\Torque\TGEA_1_8_1\myEngine\Projects\Dad&Jr\buildFiles\VisualStudio 2005\projects\Dad&Jr.vcproj' has failed to load.

This is the part it's calling out:

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="8.00"
	Name="Dad&Jr" // Supposed to be a semiColon here???
	RootNamespace="Dad&Jr"
	ProjectGUID="{1E68C046-26D7-4AD9-BEF2-590C6B99B40A}">

I don't have this problem with 1.8.0
Is this a new bug added to 1.8.1?
If so, how do I fix it. I tried to add a semicolon to the end of the name space, but that didn't fix the problem.

#1
02/25/2009 (7:03 pm)
My guess is that the xml parser is seeing the & in the project name and assuming that it is the start of a symbol entity (as listed here).

Try a different project name.
#2
02/25/2009 (7:06 pm)
I think I read something similar about VS.
I think its the "&"(ampersand) in your project name.
#3
02/25/2009 (7:40 pm)
That fixed it. Sheesh, what a dumb thing. If it's between the quotes "text" it should be read as text. Oh well. At least I know not to put symbols inside the name of my files. Thanks guys. You have been a great help.