|
|
| version 1.35, 2002/01/28 10:50:03 | version 1.36, 2002/01/28 10:51:29 |
|---|---|
| Line 101 private: | Line 101 private: |
| GdomeNode *as_node(Pool& pool, const String& method_name, MethodParams *params, | GdomeNode *as_node(Pool& pool, const String& method_name, MethodParams *params, |
| int index, const char *msg) { | int index, const char *msg) { |
| Value& value=params->as_no_junction(index, msg); | Value& value=params->as_no_junction(index, msg); |
| if(strcmp(value.type(), VXNODE_TYPE)!=0 | if(!(strcmp(value.type(), VXNODE_TYPE)==0 |
| || strcmp(value.type(), VXDOC_TYPE)!=0) | || strcmp(value.type(), VXDOC_TYPE)==0)) |
| throw Exception(0, 0, | throw Exception(0, 0, |
| &method_name, | &method_name, |
| msg); | msg); |