On 1/20/07, Marshall Schor <[EMAIL PROTECTED]> wrote:
The impl of JCas TOP has code in it to copy into the newly created
feature structure in the CAS, the CAS's current sofa ref:

    if (casImpl.isAnnotationType(jcasType.casTypeCode)) {
      casImpl.setSofaFeat(addr, casImpl.getSofaRef());

But this seems to not be general enough.  I think it should be done if
the type being created is a subtype of
AnnotationBase, not just Annotation.

Do others agree?  Does other code (not using the JCas) have a similar issue?


+1.  Looks like you've already fixed this, thanks.

-Adam

Reply via email to