XML Schema (XSD) 1.1 was given W3C Recommendation status in April 2012, so do Microsoft intend to add support for 1.1 validation in .Net 5?

I’m not sure this will happen anytime soon. The reason I say this is that they would need to add support for XSLT 2.0 in order to add the ability to define assertions against the document (see summary of XSD 1.1). XSLT 2.0 and XQuery 1.0 are technologies that so far Microsoft has chosen to ignore in favour of developing their own LINQ to XML technology.

So if you are given a schema developed in XSD 1.1 and need to use it to validate your xml data in C# or VB .Net what do you do?

Currently I think the only answer is to resort to using a 3rd party library, but this could be impractical and may add an additional expense that may be difficult to justify to your boss. I suppose you could always strip out the 1.1 references, but the validation would not then be true.

Any other suggestions?



posted on Thursday, April 11, 2013 6:33 PM
Filed Under [ XML XSD Schema XSLT XQuery ]


No comments posted yet.

Post A Comment