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=7551>.
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=7551

Exceptions are caught by value, rather than by reference

           Summary: Exceptions are caught by value, rather than by reference
           Product: Xerces-C++
           Version: 1.7.0
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Validating Parser (Schema) (Xerces 1.5 or up only)
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


There are a number of places in the code where exceptions are caught by value, 
instead of by const reference.  This is inefficient, and could result 
in "slicing."  See the following files:

validators\datatype\AbstractNumericFacetValidator.cpp
validators\datatype\AbstractStringValidator.cpp
validators\datatype\DecimalDatatypeValidator.cpp
validators\schema\SchemaValidator.cpp

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

Reply via email to