Element + complextype name in xml schema

Hi,

I've been sent an xsd that uses the following construct :

<xsi:element name="foo">
  <xsi:complexType name="foo">

Is this something allowed ? I couldn't find anything that said it's
wrong, but at the same time I have an xml parser that chokes on it and
none of the public xsd examples I've ever seen used it. I'd like to
know if I should file a bug on the parser or if I can tell the people
that send me the schema their definition does not fly.

I've little experience on xml schemas so far though it looks like I'm
up for an accelerated course.

Regards,

-- 
Nicolas Mailhot

Received on Friday, 8 April 2005 18:08:26 UTC