Description: When running the migration tool shipped by BPMS 6.1 against repository generated by BRMS 5.2, several migrated rule packages are empty. The console output of running the migration tool shows some error due to non-escaped characters in the exported xml: [Fatal Error] xxxx.xml:1:104: The value of attribute "name" associated with an element type "null" must not contain the '<' character. org.xml.sax.SAXParseException; systemId: file:/xxx/jboss-brms-bpmsuite-6.1.0.GA-redhat-2-migration-tool/bin/tmp-jcr2vfs/xxx.xml; lineNumber: 1; columnNumber: 104; The value of attribute "name" associated with an element type "null" must not contain the '<' character. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) The problematic exported rule in the xxxx.xml looks like: ]]></textContent><history><assets></assets></history></asset><asset name="myasset <= myattrib ..." type="brl" ...> Please note that the char "<" in the name attribute is supposed to be escaped.
Fixed in master: http://github.com/droolsjbpm/drools-wb/commit/1c7ff68cd
Additionnal fix: http://github.com/droolsjbpm/drools-wb/commit/8acd3d70f
Cherry-picked into 6.2.x: http://github.com/droolsjbpm/drools-wb/compare/620d357...16b697f
Verified running migration on repositories from parent BZ.