Confusing Implementation of Setting “Encode nodes with inline type”

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Confusing Implementation of Setting “Encode nodes with inline type”

Runar Jordahl
The Web services setting “Encode nodes with inline type”, found on the
“XMLObject Marshaling” page, is a bit confusing:

The setting is stored in class instance variable #useReference on
WebServices.XMLObjectBinding. Since this class has two subclasses,
there are in total three variables named #useReference: One variable
for XMLObjectBinding and one per subclass. I think the variables
defined on the subclasses are not used, but having them defined can be
confusing.

I suspect that class instance variable #useReference was meant to be a
shared variable instead of a class instance variable.

The problem is found in VisualWorks 7.8.1 and 7.9, and probably also
in earlier releases.

Kind regards,
Runar Jordahl

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc