You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by James Berry <jb...@criticalpath.com> on 2003/04/27 19:27:09 UTC
Correct implementation of isAnySlash?
Hi Peiyong,
I just finished implementing the isAnySlash and getCurrentDirectory for the
Mac OS platform. In doing so, I notice that the implementation of isAnySlash
for the unix platforms looks both for back ('\') and forward ('/') slash.
Yet these platforms accept only forward slash as their path delimiter.
Is the intent of isAnySlash that it should be platform specific, and look
only for the path delimiter as used for that platform? If so then I would
think the implementation of isAnySlash for most of the platforms (besides
Windows) should look only for forward slash....this is how I've implemented
Mac OS for now.
Advice?
James.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org