Can markers have attributes not registered using org.eclipse.core.resources.markers?https://www.eclipse.org/forums/index.php/mv/msg/158474/500389/#msg_500389
Originally posted by: peter.cigehn.telia.com

Hi,

I wonder if it is possible to add an attribute to a marker (using
IMarker#setAttribute), without having explicitly registered that
attribute using the extension point org.eclipse.core.resources.markers?

I have tried this and the actual call to setAttribut seem to work. But
what are the consequences of not having the attribute explicitly
registered using the org.eclipse.core.resources.markers extension point?

I have tried reading the documentation, but cannot really find an answer
to the consequences if the attribute is not explicitly defined.

If it is possible to add additional non-registered attributes to a
marker, what is then the purpose of registering the attributes using the
org.eclipse.core.resources.markers extension point?

I know that you can define you own marker types, but what I am after is
to add additional non-registered attributes to existing and already
defined marker types.