[Gtkradiant] broken dtd lookup?

Joseph, William gtkradiant@zerowing.idsoftware.com
Thu, 7 Mar 2002 11:11:38 -0000


Hmm... make sure a valid project.dtd is in C:/Program Files/GtkRadiant/dtds/
... and it should work. The error there suggests the dtd doesn't exist.
It's easy to debug (win32).. make sure you're running a debug libxml2 and
put a breakpoint in xmlDefaultExternalEntityLoader.. check that it's
resolving the dtd location correctly as "C:/Program
Files/GtkRadiant/dtds/project.dtd".
I've had no problems loading dtds from Program Files dir.. so I doubt it's a
spaces-in-path problem. Libxml2 does choke on backslash in paths when
resolving URI stuff.

-WJ


-----Original Message-----
From: Timothee Besset [mailto:ttimo@idsoftware.com]
Sent: 07 March 2002 10:31
To: gtkradiant@zerowing.idsoftware.com
Subject: Re: [Gtkradiant] broken dtd lookup?


Definitely specific to win32. Works fine on Linux .. Spog, any idea?

TTimo

On Thu, 07 Mar 2002 10:47:26 +0100
Timothee Besset <ttimo@idsoftware.com> wrote:

> The DTD lookup seems broken here on win32. Don't know why yet, going to 
> have a look on Linux too. I cleaned up things to remove "dtds/project.dtd"

> and use only "project.dtd" and changed the search path, but it's not 
> related to the problem (I already had the lookup errors before that)
> 
> TTimo
> 
> Loading project file: "C:/quake3/baseq3/scripts/default_project.proj"
> XML C:/Program Files/GtkRadiant/dtds/:2:
> XML error:
> XML failed to load external entity "project.dtd"
> 
> XML <!DOCTYPE project SYSTEM "project.dtd">
> 
> XML                                       ^
> 
> XML C:/Program Files/GtkRadiant/dtds/:3:
> XML validity error:
> XML Validation failed: no DTD found !
> 
> XML <project>
> 
> XML         ^
> 
> 
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant@zerowing.idsoftware.com
> http://zerowing.idsoftware.com/mailman/listinfo/gtkradiant
> 

_______________________________________________
Gtkradiant mailing list
Gtkradiant@zerowing.idsoftware.com
http://zerowing.idsoftware.com/mailman/listinfo/gtkradiant