[xsd-users] idref get() either comment or implementation wrong

Boris Kolpackov boris at codesynthesis.com
Tue Aug 12 08:18:05 EDT 2014


Hi Oliver,

Oliver Schneider <xsd-users at oli-obk.de> writes:

> when using xse:refType together with idref the dynamic_cast in get()
> will return 0 if the object returned by get_() cannot be cast to
> ref_type and if the pointer was null.
> The comment says @return A constant pointer to the referenced object or
> 0 if the object is not found.

Well, this means that the object of *this type* is not found. I've
clarified the comment.

Boris



More information about the xsd-users mailing list