[jboss-jira] [JBoss JIRA] Created: (JBRULES-2494) Allow escaping characters in metadata value

Tihomir Surdilovic (JIRA) jira-events at lists.jboss.org
Thu Apr 29 11:19:05 EDT 2010


Allow escaping characters in metadata value
-------------------------------------------

                 Key: JBRULES-2494
                 URL: https://jira.jboss.org/jira/browse/JBRULES-2494
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 5.1.0.M1
            Reporter: Tihomir Surdilovic
            Assignee: Mark Proctor


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.
			

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list