eclipse - cvc-complex-type.3.2.2: Attribute 'jaxb:extensionBindingPrefixes' is not allowed to appear in element 'jaxb:bindings' -
i've checkoud 1 project... , trying solve problems in eclipse luna 4.4.0. in 1 of maven project have next xjb file:
<?xml version="1.0" encoding="utf-8"?> <jaxb:bindings version="2.0" xmlns:xs="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" jaxb:extensionbindingprefixes="xjc" xmlns:xjc= "http://java.sun.com/xml/ns/jaxb/xjc" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xsi:schemalocation=" http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd "> ... ...
but eclipse reporting me problem > cvc-complex-type.3.2.2: attribute 'jaxb:extensionbindingprefixes' not allowed appear in element 'jaxb:bindings'
does know why?
the bindingschema_2_0.xsd seems inadequate. declares extensionbindingprefixes
attribute, not utilize in global bindings
element.
the utilize of jaxb:extensionbindingprefixes
attribute in code posted looks right me.
me personaly, have never used used xsi:location
in binding files. can safely remove it.
eclipse maven jaxb xjc
No comments:
Post a Comment