Click here to Skip to main content
13,513,652 members
Rate this:
Please Sign up or sign in to vote.
How to validate xsd 1.1 in Visual Studio 2010

<xs:element name="product" type="ProductType">
<xs:alternative test="@dept='ACC'" type="AccessoryType"/>
<xs:alternative test="@dept='WMN' or @dept='MEN'"

Error : The '' element is not supported in this context.

What I have tried:

I have tried in visual studio 2015 but error is same.
Posted 19-May-17 6:53am
Updated 19-May-17 7:43am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You don't. XSD 1.1 isn't supported.

In order to use it you need either a 3rd party library, none of which are cheap or free, or write your own support for it, which isn't trivial.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.180417.1 | Last Updated 19 May 2017
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100