Re: Duplicate complex types with mixed elements

2014-03-17 Thread Cezar Andrei

Narayan,

It's probably a bug that the node1Type is not removed but this doesn't 
affect the rest since it's not used elsewhere.

As you can see in personType, node1 element is defined as mixed content.

Cezar


On 03/11/2014 12:20 AM, Parvatikar, Narayan wrote:


Hi ,

I am trying to generate a xsd from a sample xml which looks like below,





 text 

  john  



Here *node1* is mixed element.

But there are two definitions seen for the node1 in xsd.

One is global complex type and other is complex type defined inline ( 
Check below )




http://www.w3.org/2001/XMLSchema"elementFormDefault="qualified"attributeFormDefault="unqualified";>





































I am using RussianDoll Strategy for generating this . Do we know any 
solution to fix this ?


Thanks

Narayan





Duplicate complex types with mixed elements

2014-03-10 Thread Parvatikar, Narayan
Hi ,

I am trying to generate a xsd from a sample xml which looks like below,



 text 
  john  


Here node1 is mixed element.

But there are two definitions seen for the node1 in xsd.
One is global complex type and other is complex type defined inline ( Check 
below )



http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified" attributeFormDefault="unqualified">




















I am using RussianDoll Strategy for generating this . Do we know any solution 
to fix this ?


Thanks
Narayan