Skip to content

AnnotationSelectors are not properly serialized in GateXML #47

@sodre

Description

@sodre

The gate.cloud.annotationselectors is not correct when serialized.

It should look like

<Feature>
  <Name className="java.lang.String">gate.cloud.annotationSelectors</Name>
  <Value className="java.lang.String">:Token,:Sentence</Value>
</Feature>

But instead it is looking like

<Feature>
  <Name className="java.lang.String">gate.cloud.annotationSelectors</Name>
  <Value className="gate.corpora.ObjectWrapper"><![CDATA[<?xml version='1.1'?><gate.corpora.ObjectWrapper><value class="list"><string>:Token</string></value></gate.corpora.ObjectWrapper>]]></Value>
</Feature>

doc.getFeatures().put("gate.cloud.annotationSelectors", annotationSelector);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions