Thanks Kelvin.

That is a workaround for the example I provided.  However, the absence of
HelperContext as a parm does seem to render createRootObject(URI, Name) and
DataGraph.getType(URI, name) of very limited use.

The DataGraph methods are different from the following:
DataObject.createDataObject(propertyName, URI, name)
DataObject.createDataObject(propertyIndex, URI, name)
in that a user of these DO methods would subsequently use a TypeHelper or
XMLHelper - which is where the HelperContext comes into play.  (i.e.  I
would not think that HelperContext should be a parm to these functions.)

It may be that the answer is simply - Don't use the DataGraph (URI, name)
methods.  However, this seems to me to be an excellent opportunity for user
error.  Should I start a thread on the spec side for this topic?

Reply via email to