While trying Point 2: (refer below mail), I have removed <xs:extension ..> and groups.


Can you send the transformed xsd?

Jochen Wiedmann wrote:

Hi,


On Tue, 18 Jan 2005 11:34:47 +0900, Kalyani Jitesh <[EMAIL PROTECTED]> wrote:



Sorry I have forget to mention that, I am using <xs:extension base..> in my
schema. I think it is not supported by Jaxme. While trying Point 2: (refer below mail), I have removed <xs:extension ..>
and groups.



looking through your schema, I found that you are indeed using xs:extension in a way, which makes the element an implicit nested group. This is not yet supported, sorry.

Btw, I just noticed, that we could easily add support for your
particular schema in the following way: Suggest the following
definition:

   <xs:group>
      <xs:sequence>
         <xs:element name="a"/>
         <xs:element name="b"/>
      </xs:sequence>
      <xs:sequence>
         <xs:element name="c"/>
         <xs:element name="d"/>
      </xs:sequence>
   </xs:group>

This is basically what your xs:extension does. If we would change that
internally to

   <xs:sequence>
         <xs:element name="a"/>
         <xs:element name="b"/>
         <xs:element name="c"/>
         <xs:element name="d"/>
   </xs:sequence>

(simple optimization), then we could map such typical cases. This
could be easily done on the XS level.

Anyone volunteering? I'll hardly find the time these days.


Jochen





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to