Can you provide the full stack trace?   That method is called from a few 
different places and it would be good to know more about what you are doing 
and how the method was called.  

Also, is there more types in the schema that might be referencing the "xx" 
complex type maybe by extension or something?

Better yet, any chance you can provide a small test case?

Dan


On Monday, December 26, 2011 9:23:43 AM TON wrote:
> i am getting validation error on element:
> <xs:complexType name="xx">
> <xs:all>
> <xs:element minOccurs="0" name="xx" type="xs:string"/>
> <xs:element name="xx" type="xs:int"/>
> </xs:all>
> </xs:complexType>
> 
> org.apache.cxf.common.xmlschema.UnsupportedConstruct: Limitation: Type
> {http://xx.xx.com/}xx is not defined as a sequence.
> it is coming from line 492 in XmlSchemaUtils
> i am using cxf 2.5.1.
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/validation-error-tp5101800p5101800.html
> Sent from the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to