Re: Duplicate complex types with mixed elements

Cezar Andrei <[email protected]> Mon, 17 Mar 2014 16:43:33 -0700 (PDT)
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
--------------020606070905010708090107
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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,
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <person>
>
> <node1> text </node1>
>
> <node1> <name> john </name> </node1>
>
> </person>
>
> 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 )
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <xs:schemaxmlns:xs="http://www.w3.org/2001/XMLSchema"elementFormDefault="qualified"attributeFormDefault="unqualified">
>
> <xs:elementname="person"type="personType"/>
>
> <xs:complexTypename="node1Type">
>
> <xs:sequence>
>
> <xs:elementname="name"type="xs:string"minOccurs="0"/>
>
> </xs:sequence>
>
> </xs:complexType>
>
> <xs:complexTypename="personType">
>
> <xs:sequence>
>
> <xs:elementname="node1"minOccurs="0"maxOccurs="unbounded">
>
> <xs:complexTypemixed="true">
>
> <xs:sequence>
>
> <xs:elementname="name"type="xs:string"minOccurs="0"/>
>
> </xs:sequence>
>
> </xs:complexType>
>
> </xs:element>
>
> </xs:sequence>
>
> </xs:complexType>
>
> </xs:schema>
>
> I am using RussianDoll Strategy for generating this . Do we know any 
> solution to fix this ?
>
> Thanks
>
> Narayan
>


--------------020606070905010708090107
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Narayan,<br>
    <br>
    It's probably a bug that the node1Type is not removed but this
    doesn't affect the rest since it's not used elsewhere.<br>
    As you can see in personType, node1 element is defined as mixed
    content.<br>
    <br>
    Cezar<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 03/11/2014 12:20 AM, Parvatikar,
      Narayan wrote:<br>
    </div>
    <blockquote
cite="mid:06ddbbc848b44afdb1dae30c9d41d05f@BY2PR03MB363.namprd03.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
	{font-family:Mangal;
	panose-1:2 4 5 3 5 2 3 3 2 2;}
@font-face
	{font-family:Mangal;
	panose-1:2 4 5 3 5 2 3 3 2 2;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Hi , <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">I am trying to
            generate a xsd from a sample xml which looks like below,
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">&lt;?xml
            version="1.0" encoding="UTF-8"?&gt;<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">&lt;person&gt;<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">&lt;node1&gt;
            text &lt;/node1&gt;<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">&lt;node1&gt;
            &lt;name&gt; john &lt;/name&gt; &lt;/node1&gt;<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">&lt;/person&gt;<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Here <b>node1</b>
            is mixed element.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">But there are
            two definitions seen for the node1 in xsd.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">One is global
            complex type and other is complex type defined inline (
            Check below ) &nbsp;<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:teal;background:white;mso-highlight:white">&lt;?xml
            version="1.0" encoding="UTF-8"?&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:schema</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            xmlns:xs</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><a class="moz-txt-link-freetext" href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a></span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            elementFormDefault</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">qualified</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            attributeFormDefault</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">unqualified</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:element</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            name</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">person</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            type</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">personType</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"/&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:complexType</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            name</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">node1Type</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:sequence</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:element</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            name</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">name</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            type</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">xs:string</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            minOccurs</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">0</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"/&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;/</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:sequence</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;/</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:complexType</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:complexType</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            name</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">personType</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:sequence</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:element</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            name</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">node1</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            minOccurs</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">0</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            maxOccurs</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">unbounded</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:complexType</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            mixed</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">true</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:sequence</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:element</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            name</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">name</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            type</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">xs:string</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:red;background:white;mso-highlight:white">
            minOccurs</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">="</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">0</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">"/&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;/</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:sequence</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;/</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:complexType</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;/</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:element</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;/</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:sequence</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-autospace:none"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          </span><span style="font-size:12.0pt;font-family:&quot;Times
            New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;/</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:complexType</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&lt;/</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:maroon;background:white;mso-highlight:white">xs:schema</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
Roman&quot;,&quot;serif&quot;;color:blue;background:white;mso-highlight:white">&gt;</span><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:blue"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;color:blue"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">I am using
            RussianDoll Strategy for generating this . Do we know any
            solution to fix this ?
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Thanks<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Narayan<o:p></o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------020606070905010708090107--