Details
-
Bug
-
Resolution: Done
-
Major
-
5.1.0.M1
-
None
-
None
Description
Currently if you add the following metadata to a rule:
rule xyz
@text("it's an \"airplane")
.....
end
if you print the metadata with:
System.out.println(ksession.getKnowledgeBase().getRule("org.sample.myrules", "xyz").getMetaAttribute("text"));
the output is:
"it's an \"airplane"
escaped characters should be handled correctly here.