Community
Participate
Working Groups
The following question on Stack Overflow raises an issue with @XmlVariable node. - http://stackoverflow.com/questions/27765087/xmlpath-conflicts-with-xmladapter I haven't isolated the cause, but see the attached code that reproduces the issue.
Created attachment 249832 [details] Code Demonstrating the Issue
Created attachment 249836 [details] Test case @XmlPath(“.”) conflicts with @XmlAdapter
As montioned in Stackoverflow thread the problem is related to org.eclipse.persistence.internal.oxm.record.UnmarshalRecordImpl public XPathNode getNonAttributeXPathNode(String namespaceURI, String localName, String qName, Attributes attributes) { ... Line 1279 if(null == resultNode && null == nonPredicateNode) { // ANY MAPPING resultNode = xPathNode.getAnyNode();// by default it return the EventAdapter returing a null at this place fix the problem, but i dont know if its the best solution }
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink