[
https://issues.apache.org/jira/browse/ISIS-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651203#comment-17651203
]
Andi Huber edited comment on ISIS-3316 at 12/22/22 9:55 AM:
------------------------------------------------------------
type-safe unmarshalling not working - needs a junit test
was (Author: hobrom):
not working - needs a junit test
> JaxbService: remove potentially ambiguous methods from API
> ----------------------------------------------------------
>
> Key: ISIS-3316
> URL: https://issues.apache.org/jira/browse/ISIS-3316
> Project: Isis
> Issue Type: Improvement
> Components: Isis Core
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-RC1
>
>
> Object JaxbService.fromXml(JAXBContext jaxbContext, String xml)
> is potentially ambiguous. Meaning if multiple types are on the JAXBContext
> with more than one having a @XmlRootElement(name = "root") annotation, then
> the outcome (returned type) of above mentioned call is unpredictable without
> warning.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)