eclipse-ee4j / jaxb-ri

Jaxb RI
https://eclipse-ee4j.github.io/jaxb-ri/
BSD 3-Clause "New" or "Revised" License
205 stars 111 forks source link

Apply binding rule to multiple XML nodes #408

Open Tomas-Kraus opened 17 years ago

Tomas-Kraus commented 17 years ago

This is the feature request as described in the forums (did not see a RFE submitted for htis):

http://forums.java.net/jive/message.jspa?messageID=195842

I need to apply a binding rule to multiple attribute declarations in an XML schema (particular with JAX-WS).

The purpose of this is to build a general-purpose binding to fix the problems described in: https://jaxb.dev.java.net/nonav/issues/showattachment.cgi/125/NoJAXBElementCusto mization220.txt

What I would like to do is this:

</jaxws:bindings> </jaxws:bindings>

I have tried to apply the generateElementProperty to the entire document (both via a property tag and the global tag), but then I get errors like:

NAServerSolverParams.class: warning: Cannot find annotation method 'value()' in type 'javax.xml.bind.annotation.XmlSeeAlso'

Environment

Operating System: All Platform: All

Affected Versions

[2.1.1]

Tomas-Kraus commented 6 years ago
Tomas-Kraus commented 17 years ago

@glassfishrobot Commented Reported by jschek

Tomas-Kraus commented 17 years ago

@glassfishrobot Commented Was assigned to jaxb-issues

Tomas-Kraus commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JAXB-408