Hi,

I am getting a weird error while porting my build system to maven


xml Error /pathtoconf/xyz.xsdconfig:3:3: error: cvc-complex-type.2.4a: Expected 
elements 'namespace@http://xml.apache.org/xmlbeans/2004/02/xbean/config 
qname@http://xml.apache.org/xmlbeans/2004/02/xbean/config 
extension@http://xml.apache.org/xmlbeans/2004/02/xbean/config' instead of 
'usertype@http://xml.apache.org/xmlbeans/2004/02/xbean/config' here in element 
config@http://xml.apache.org/xmlbeans/2004/02/xbean/config



xyz.xsdconfig

==========

<xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config"; 
xmlns:tns="blah">
   
        <xb:usertype name="tns:duration" javaname="com.xyz.Duration">
            <xb:staticHandler>com.xyz.DurationTypeHandler</xb:staticHandler>
        </xb:usertype>
       
</xb:config>



The xsdconfig works fine with ant task but fails with maven.

Please ignore typos .


Ankit

Reply via email to