Brian,

There is already spec discussion about possibly deprecating the DataGraph 
interface entirely. Even if that doesn't happen, I think that the (URI, 
name) methods should be deprecated.

Frank.

"Brian Murray" <[EMAIL PROTECTED]> wrote on 03/20/2007 10:28:29 
AM:

> 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?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to