HI Alan,

On 1/19/07, Alan Harris <[EMAIL PROTECTED]> wrote:
All I would emphasize is that regardless of which point of view one
chooses, there is some inconsistency within the archive reader. However,
please do not bother doing anything about it because it is a minor point
and does not have a direct bearing on my work.

I don't think there is an inconsitency in the .osg reader, it doesn't
know about case sensitivity in any way it just using std::string
comparions and the osgDB::Registry to the reading of files.

osgDB does convert extensions to lower case when looking up which
plugins to use, it has to do this to get round windows being case
insensitive otherwise the checks against validity of extension name
for the plugins wouldn't match up.  Note all the plugins checks just
lower case version of extensions.

It would see to me you are expecting archive reading to be case
insensitive, just like the file system under Windows.  Its not
designed this way, and if it were it'd behave different across
platforms which is against how it really should behave - your should
be able to take the archive to any platform and have it work and
keeping everything case sensitive is the best way to do this.

As to how one should go around catching case insenstive misuse of
archives I can't say easily without have much more info about the mode
of failure i.e. debugging output.

Robert.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to