Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1829

Nested From Tag Not Supported in Drools

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • FUTURE
    • 5.0.0.M2
    • drools-compiler
    • None
    • High

    Description

      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)

      Attachments

        1. ConvertDrlToXml.java
          2 kB
        2. Customer.java
          1 kB
        3. JBRULES-1829.patch
          0.9 kB
        4. test1.drl
          0.7 kB
        5. test1.xml
          2 kB

        Activity

          People

            mproctor@redhat.com Mark Proctor
            nagaraj_shan_jira Nagarajan Shanmugam (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              Time Tracking

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified

                PagerDuty