Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
QuestionXSD question... Pin
SledgeHammer0126-Sep-14 15:41
SledgeHammer0126-Sep-14 15:41 
QuestionRe: XSD question... Pin
Richard MacCutchan26-Sep-14 21:37
mveRichard MacCutchan26-Sep-14 21:37 
QuestionRe: XSD question... Pin
George Jonsson27-Sep-14 3:55
professionalGeorge Jonsson27-Sep-14 3:55 
AnswerRe: XSD question... Pin
SledgeHammer0127-Sep-14 6:26
SledgeHammer0127-Sep-14 6:26 
AnswerRe: XSD question... Pin
George Jonsson27-Sep-14 13:21
professionalGeorge Jonsson27-Sep-14 13:21 
GeneralRe: XSD question... Pin
SledgeHammer0127-Sep-14 14:21
SledgeHammer0127-Sep-14 14:21 
GeneralRe: XSD question... Pin
George Jonsson27-Sep-14 15:13
professionalGeorge Jonsson27-Sep-14 15:13 
GeneralRe: XSD question... Pin
SledgeHammer0127-Sep-14 16:00
SledgeHammer0127-Sep-14 16:00 
I looked at the link for union... looks kinda dumb imo... not you, I mean, the union command itself. Its just a more verbose / messier form of regex minus the regex. In the example, it makes your XML take either "54" or small, medium or large. But in the process, it adds ugly namespaces to your XML. Would be cleaner using the regex pattern. Ugh... from what I see, Microsoft has no intention of adding XSD 1.1 support to .NET. Assert would have done it. Oh well... guess I'll have to make the 3 params optional and validate it in the C#. Equally ugly.

Kinda weird that XSD manages to do it on itself. Is that like hardcoded in the validator or something?

If you put:

<xs:element name="blah" ref="blah2" />

Visual Studio will bitch at you that 'ref' cannot be present.
GeneralRe: XSD question... Pin
George Jonsson27-Sep-14 20:21
professionalGeorge Jonsson27-Sep-14 20:21 
GeneralRe: XSD question... Pin
SledgeHammer0128-Sep-14 7:10
SledgeHammer0128-Sep-14 7:10 
QuestionRecommendations on VB.Net to C# code conversion tool Pin
Vipul Mehta26-Sep-14 8:31
Vipul Mehta26-Sep-14 8:31 
QuestionRe: Recommendations on VB.Net to C# code conversion tool Pin
Richard MacCutchan26-Sep-14 10:16
mveRichard MacCutchan26-Sep-14 10:16 
QuestionRe: Recommendations on VB.Net to C# code conversion tool Pin
Vipul Mehta26-Sep-14 10:23
Vipul Mehta26-Sep-14 10:23 
AnswerRe: Recommendations on VB.Net to C# code conversion tool Pin
Richard MacCutchan26-Sep-14 21:27
mveRichard MacCutchan26-Sep-14 21:27 
AnswerRe: Recommendations on VB.Net to C# code conversion tool Pin
Ravi Bhavnani28-Sep-14 4:17
professionalRavi Bhavnani28-Sep-14 4:17 
AnswerRe: Recommendations on VB.Net to C# code conversion tool Pin
Simon_Whale28-Sep-14 8:29
Simon_Whale28-Sep-14 8:29 
AnswerRe: Recommendations on VB.Net to C# code conversion tool Pin
Sibeesh KV29-Sep-14 19:10
professionalSibeesh KV29-Sep-14 19:10 
Questionhow to assign listbox value to datagridview in c# Pin
Member 413595226-Sep-14 5:06
Member 413595226-Sep-14 5:06 
AnswerRe: how to assign listbox value to datagridview in c# Pin
Eddy Vluggen26-Sep-14 5:51
professionalEddy Vluggen26-Sep-14 5:51 
AnswerRe: how to assign listbox value to datagridview in c# Pin
ChintanShukla29-Sep-14 23:22
professionalChintanShukla29-Sep-14 23:22 
QuestionNeither validators nor Validationsummery is working Pin
demoninside926-Sep-14 0:50
demoninside926-Sep-14 0:50 
AnswerMy Vote of 1 Pin
Keith Barrow26-Sep-14 1:57
professionalKeith Barrow26-Sep-14 1:57 
AnswerRe: Neither validators nor Validationsummery is working Pin
Eddy Vluggen26-Sep-14 5:54
professionalEddy Vluggen26-Sep-14 5:54 
GeneralRe: Neither validators nor Validationsummery is working Pin
demoninside926-Sep-14 19:34
demoninside926-Sep-14 19:34 
GeneralRe: Neither validators nor Validationsummery is working Pin
Richard MacCutchan26-Sep-14 21:38
mveRichard MacCutchan26-Sep-14 21:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.