yvonneysf / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

Root::loadDocument("../a/b/c.dae") attempts to open "../a/a/b/c.dae" #122

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open existing file with Root::loadDocument("../a/b/c.dae");
2.
3.

What is the expected output? What do you see instead?
Opencollada attempts to open "../a/a/b/c.dae"

What version of the product are you using? On what operating system?
svn 771, Windows.
I did not notice this problem with svn 741.

Please provide any additional information below.
As a consequence of opening wrong file, another problem appears, 
http://code.google.com/p/opencollada/issues/detail?id=119

Original issue reported on code.google.com by stepan.h...@gmail.com on 9 Oct 2010 at 8:35

GoogleCodeExporter commented 8 years ago
I have experienced the same problem. 
Root::loadDocument("./asset_test/sphere.dae") will result in the following 
error: 

I/O warning : failed to load external entity 
"asset_test/asset_test/simple_sphere.dae"

What's even worse, is that if you ignore this error (which is by the way not 
considered "critical"), you can continue to parse the file, but encounter false 
data (e.g. UniqueId are not consistent,...).

Here's my configuration: 

OpenCollada @ 785 (with a few trivial VS2010 fixes...)
Compiled as static lib, VS2010, debug build, libxml parser
Win 7 64 bit

cheers, 

h

Original comment by heinrich...@gmail.com on 9 Dec 2010 at 8:36

GoogleCodeExporter commented 8 years ago
Thanks for reporting this issue.

It has been fixed in r808.

Original comment by opencollada2@googlemail.com on 18 Jan 2011 at 4:27