Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
current (nightly)
-
None
-
None
-
Operating System: Other
Platform: Other
-
24812
Description
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).