[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1829) Nested From Tag Not Supported in Drools

Harpreet Singh (JIRA) jira-events at lists.jboss.org
Thu Oct 21 06:17:55 EDT 2010


    [ https://jira.jboss.org/browse/JBRULES-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558403#action_12558403 ] 

Harpreet Singh commented on JBRULES-1829:
-----------------------------------------

Please find the patch attached.I have created the patch on 4.0.X code base from the branch.
After the nesting issue is fixed the compiler again complains saying that the from tag is after an invalid element.
The patch contains the fix for both the issues.

> Nested From Tag Not Supported in Drools
> ---------------------------------------
>
>                 Key: JBRULES-1829
>                 URL: https://jira.jboss.org/browse/JBRULES-1829
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler
>    Affects Versions:  5.0.0.M2
>         Environment: Windows XP, Eclipse 3.3.
>            Reporter: Nagarajan Shanmugam
>            Assignee: Mark Proctor
>             Fix For: FUTURE
>
>         Attachments: ConvertDrlToXml.java, Customer.java, JBRULES-1829.patch, test1.drl, test1.xml
>
>   Original Estimate: 3 days
>  Remaining Estimate: 3 days
>
> HI i have Created one rule file that have two From tag. Using XmlDumper I create Xml rule file. When i try to parse that Xml rule file its throwing Error. And also the parsed Xml files also Wrong.
> Exception in thread "main" org.drools.compiler.DroolsParserException: org.xml.sax.SAXParseException: <from>  may not be nested
> 	at com.drools.service.ConvertDrlToXml.main(ConvertDrlToXml.java:47)

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

        


More information about the jboss-jira mailing list