[jboss-jira] [JBoss JIRA] (JBRULES-3518) Documentation error in Drools Expert user guide 2.1.4: "Cross products" example
Joshua Davies (JIRA)
jira-events at lists.jboss.org
Wed May 23 11:10:17 EDT 2012
Joshua Davies created JBRULES-3518:
--------------------------------------
Summary: Documentation error in Drools Expert user guide 2.1.4: "Cross products" example
Key: JBRULES-3518
URL: https://issues.jboss.org/browse/JBRULES-3518
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-docs-expert
Affects Versions: 5.4.0.Final
Environment: web
Reporter: Joshua Davies
Assignee: Mark Proctor
Priority: Minor
In section 2.1.4 of the "Drools Expert User Guide" (http://docs.jboss.org/drools/release/5.4.0.Final/drools-expert-docs/html_single/index.html#d0e737), "Cross Products", the following example is given:
rule
when
$room : Room()
$sprinkler : Sprinkler()
...
However, when I try to run that rule as presented, using 5.4.0 final, I get the runtime error:
[48,0]: [ERR 102] Line 48:0 mismatched input 'when' in rule
[0,0]: Parser returned a null Package
If I add a description for the rule, i.e.:
rule "cross product rule"
it compiles and runs correctly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list