W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2007

Re: Newbie question. It is posible do complex type content dependent of a attribute value without xsi:type

From: Andrew Welch <andrew.j.welch@gmail.com>
Date: Fri, 8 Jun 2007 15:47:02 +0100
Message-ID: <74a894af0706080747g777286c3v53a22e43bc3c81@mail.gmail.com>
To: "Jose Luis Zabalza" <jlz.3008@gmail.com>
Cc: xmlschema-dev@w3.org

On 6/8/07, Jose Luis Zabalza <jlz.3008@gmail.com> wrote:
>
> Hello everybody.
>
> It is posible do complex type content dependent of a attribute value
> without xsi:type?

No - I think that's both a UPA issue and a co-constraint in one....

If you are validating from Java or the command line you might like to
try out xchecker http://xchecker.sf.net/

That would allow you to embed XPaths in the schema to check that each
<TYPE> contains the correct number of <OPTION>'s based on @class.

cheers
andrew
Received on Friday, 8 June 2007 14:47:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:59 GMT