[jboss-jira] [JBoss JIRA] (WFCORE-564) setXmlWrapperElement() doesn't work properly with multiple resource children
Tomaz Cerar (JIRA)
issues at jboss.org
Tue Feb 24 08:09:49 EST 2015
Tomaz Cerar created WFCORE-564:
----------------------------------
Summary: setXmlWrapperElement() doesn't work properly with multiple resource children
Key: WFCORE-564
URL: https://issues.jboss.org/browse/WFCORE-564
Project: WildFly Core
Issue Type: Bug
Components: XML Frameworks
Affects Versions: 1.0.0.Alpha19
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
{noformat}Jeff Mesnil 12:13 @ctomc hi tomaz. The setXmlWrapperElement() method in persistent xml builder API is supposed to add a XML wrapper around all the resource's XML elements, right? and not around each resource element.
ie it looks like <wrapper><res /><res /></wrapper> and not <wrapper><res /></wrapper><wrapper><res /></wrapper>
Tomaz Cerar 12:17 hmm, you are right also around resources
it would be <wrapper> <res /> <res/> </wrapper>
just remembered i had that in 1.0 xsd of undertow subsystem
Jeff Mesnil 12:20 yes, I want to wrap some resources (eg queue) in a wrapper (<queues>). But the persistent XM parser is broken (it wants one wrapper around each resource)
the XML persister is working as expected though
Tomaz Cerar @jmesnil you are right it is broken, i can reproduce it also on undertow-1.0.xml test case
i just had one resource under it so it passed{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list