Description
Steps to reproduce
- Create a RUTA script containing the rule W {-> T1}
- Add this script to an aggregate whose type system contains conflicting.W
- Run the script on the text word
Expected behaviour
word is annotated with T1
Observed behaviour
Depending on the on the order in which the types iterated on in RutaEnvironment#initializeTypes, one of the following is observed:
- W is resolved to org.apache.uima.ruta.type.W and word is annotated with T1
- W is resolved to conflicting.W and no T1 annotation is created.