[
https://issues.jboss.org/browse/JBRULES-3541?page=com.atlassian.jira.plug...
]
Mark Proctor commented on JBRULES-3541:
---------------------------------------
I had added and commited a unit test to illustrate what is going on. At the moment the
test will fail as DefaultFactHandle has no setter. Addd the setter for this to work:
public void setExternalForm(String externalForm) {
createFromExternalFormat(externalForm);
}
FactHandle has marshalling problems with JAXB
---------------------------------------------
Key: JBRULES-3541
URL:
https://issues.jboss.org/browse/JBRULES-3541
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Mark Proctor
Assignee: Mark Proctor
There are two issues when serialising the FactHandle. The first is that there is no
setExternalForm, on older JAXB this throws an exception, on newer one's it just
doesn't set the field.
The other issue is with XmlAdapter, when the FactHandle is nested. It seems JAXB is not
picking up it has annotations and renders it as a generic xsi:type, which is ugly verbose.
This may be a limitation of XmlAdapter and it's generics arguments.
--
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