Re: Using xsd:type in xml files

On Lun 11 avril 2005 11:07, George Cristian Bina a écrit :
> Hi Nicolas,
>
> I read your post between lines, but it seems that you are looking for
> xsi:type where xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance".

Sure, that's the type I'm talking about. The intended effect seems some
crazy sort of polymorphism where we declare a sequence where one element
can be any element derived by extension from complextype foo. Except the
way it's setup right now only works when validated by a tired human which
won't check it strictly, and automated parser disagree with it strongly.

Maybe instead of trying to fix the way it's declared now it'd be easier to
do it the right way (if such a thing can be made to fly in an xml schema)

Regards,

-- 
Nicolas Mailhot

Received on Monday, 11 April 2005 09:23:39 UTC