axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24812] New: - WSDDDocument::ParseDocument doesn't error check
Date Wed, 19 Nov 2003 07:50:22 GMT
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=24812>.
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=24812

WSDDDocument::ParseDocument doesn't error check

           Summary: WSDDDocument::ParseDocument doesn't error check
           Product: Axis-C++
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Deployment / Registries
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: slang@mcs.anl.gov


WSDDDocument::ParseDocument(const AxisChar* sWSDD)

This function won't return FAIL if the wsdd file has formatting errors 
(missing begin/end element tags) or even if the sWSDD pathname string 
is invalid (the wsdd file doesn't exist).  
This could all be easily fixed if the WSDDDocument:fatalError callback
did something useful (its currently empty).  Also, ::warning and ::error
should probably also do something useful.  

Given that there's no way to pass the exception back to the user function 
(in this case ParseDocument), there will probably need to be some kind
of error member in WSDDDocument that can be set in fatalError, and then
checked later (something like in XMLStreamHandler).

Mime
View raw message