Skip to main content

A stupid question, where is the definition of "jxb:bindings" element?

4 replies [Last post]
prosp4300
Offline
Joined: 2006-10-28

Sorry for asking this question, though no problem to compile and run external customize examples, but I did not found and probably will not found the definition of "jxb:bindings" element
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"

though the definition of other elements been found in binding.xsd contained in jaxb-xjc.jar

but I found a definition here
http://java.sun.com/xml/ns/jaxb/bindingschema_1_0.xsd

Anyone can tell where is it?
Thank you!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jharrop2
Offline
Joined: 2007-07-07

It is in the spec document for JAXB 2.1

prosp4300
Offline
Joined: 2006-10-28

I just think that "jxb:bindings" is a XML element, so it should be defined in a .xsd file,
and this file shoud be contained in a jar file at the classpath, like jaxb-xjc.jar,
where is the xsd file that contains the definition of this element?
I didn't found that and this confuse me about very long time.

ramapulavarthi
Offline
Joined: 2004-06-01

I see definition of bindings element in the schema you linked http://java.sun.com/xml/ns/jaxb/bindingschema_1_0.xsd

Whats missing?

prosp4300
Offline
Joined: 2006-10-28

The definition as I know, should rely in the [b]classpath[/b], a file in the web does not make any sense, is it right?