#7 Spaces in URI cause truncation

v1.4
closed-fixed
5
2006-02-15
2006-02-07
No

When generating test files, I managed to create one
with the following:

<image id="default_1-image" name="default_1">
<init_from>file://C|/Documents and
Settings/me/Desktop/default.tga</init_from>
</image>

When I inspect the daeURI in the <init_from> element, I
find the string has been truncated to:

"Settings/me/Desktop/default.tga"

This means that I cannot find files with names in their
paths. On a related note, if I change the spaces in the
COLLADA file to "%20" the daeURI contains the full
string but hasn't parsed the "%20" characters into
spaces - surely the DOM should be handling this?

Discussion

  • Andy Lorino

    Andy Lorino - 2006-02-09
    • status: open --> open-fixed
     
  • Andy Lorino

    Andy Lorino - 2006-02-09

    Logged In: YES
    user_id=1434587

    The spaces are allowed now. The DOM doesn't change %20 into
    space though.

     
  • Rich Forster

    Rich Forster - 2006-02-10

    Logged In: YES
    user_id=1445061

    There is code in the DOM to change a space character into
    %20 on export though (in daeResolverType::memoryToString()).
    Does this mean it can't roundtrip files with spaces in URIs?

     
  • Andy Lorino

    Andy Lorino - 2006-02-15
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks