Skip to content

how is Detail.xmlString supposed to work #5

@janwiebe-jump

Description

@janwiebe-jump

I would like to add special data to my CotEvent.
I do this by using the xmlString property at Detail.

new Detail()
{
     xmlDetail = """"<__special count="3" />""""
};

I assume it would serialize like this: (but I am not sure, I don't get the TAK / protobuf specs fully)

...
<detail>
        <__special count="3" />
    </detail>
...

However, it looks like it is serialized like this:

<detail><xmlDetail>&lt;__special count="3" /&gt;</xmlDetail></detail>

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