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

http://issues.apache.org/bugzilla/show_bug.cgi?id=27745

Wrong overload chosen in XercesStep::serialize()

           Summary: Wrong overload chosen in XercesStep::serialize()
           Product: Xerces-C++
           Version: 2.5.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I set XMLCh to wchar_t on Solaris 2.8, and got an error from this line
in validators/schema/identity/XercesXPath.cpp, line 294:

        serEng<<fAxisType;

type of fAxisType is "unsigned short", and I think it was finding 
this overload before:

      XSerializeEngine::operator<<(const XMLCh&)

which probably isn't what was intended.

I changed the line to 

        serEng<< (int) fAxisType;

and line 299:
        serEng>> (int) fAxisType;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to