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 bu...@apache.org on 2001/10/17 14:18:07 UTC

DO NOT REPLY [Bug 4229] New: - Iconv390TransService::isSpace does not work (OS/390)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4229>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4229

Iconv390TransService::isSpace does not work (OS/390)

           Summary: Iconv390TransService::isSpace does not work (OS/390)
           Product: Xerces-C++
           Version: Nightly build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Validating Parser (Schema) (Xerces 1.5 or up only)
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: cb@systematic.dk


The current implementation is:
bool Iconv390TransService::isSpace(const XMLCh toCheck) const
{
  return (iswspace(toCheck) != 0);
}

iswspace does not detect if XMLCh toCheck is a chSpace (at least not on OS/390 
classic in danish locale)

We have changed the implementation to:
bool Iconv390TransService::isSpace(const XMLCh toCheck) const
{
    if (toCheck == chSpace ||
        toCheck == chHTab  ||
        toCheck == chVTab  ||
        toCheck == chCR    || 
        toCheck == chLF    ||
        toCheck == chFF)
        return true;
    return false;
}

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org