In the figure above, LED A is a regular 5mm LED and the visual identification of its terminals polarity is well known.
As you can see, on LED B the anode is identified by the longer leg, but the other rules for visual identification are inverted.
I've confirmed the situation above with a multimeter.
I have no datasheet or reference for LED B.
I never saw an LED with these issues before. Is LED B the result of a manufacturing error?
Thanks in advance.