jaxb bindingx.xml "results in too many target nodes"

Viewed 7733

I'm trying to make just one adapter for every type of element, so I created a bindings.xml file:

<jxb:bindings node="//xs:attribute[@type='Id']"

so, my intention is to address to every attribute of type "Id". Problem is that xjc tells me "too many target nodes(3)" ... but it's just what I want!!

2 Answers
Related