Dear all,

System is generating XML rule file with literal-restriction like that:
...
            <field-constraint field-name="myStringTypeField">
              
              <literal-restriction evaluator="=="
                value="0020" />
            </field-constraint>
...

I am expecting the constraint is in form of

   myStringTypeField == "0020"

However, the outcome is

  myStringTypeField == 0020   (the double quote is missed)

causing my rule fails all the time.

Does anyone know if it it the problem of XML parsing? If yes, can I do
something to override the default parser behaviour?

Thank you very much.
Christina



--
View this message in context: 
http://drools.46999.n3.nabble.com/XML-rule-Wrongly-interpreted-Numeric-String-to-Number-tp4021198.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to