Understanding XML Schema Sets in the XSD Designer

We have recently blogged about the new XML Schema Designer and the various views over schemas offered by it. We visit here the concept of schema sets, which are actually the central organizing concept around what is shown in the designer for a buffer in Visual Studio for which we have XML Schema information (be…

1

XmlSchemaSet Thread Safety

Here’s a good word of warning: even if an object “feels” read-only because you’re not calling code to modify it, if it’s not documented as safe for use from multiple threads, then you shouldn’t risk it. As an example, let’s look at XmlSchema and XmlSchemaSet. Initializing these has a cost associated with it, and so…

3

LINQ to XSD Alpha 0.2

I’m happy to announce that today we are re-releasing the LINQ to XSD Preview Alpha 0.2 for Visual Studio 2008. The previous preview release of LINQ to XSD targeted Beta 1 of Visual Studio 2008 but did not work on later builds. Many of the people who originally downloaded and tried the LINQ to XSD…

33

Chris Lovett Interview

Chris Lovett was interviewed by book author Michael van Otegem recently and he asked some very interesting questions: Please tell us who you are and what you do.I’m an architect on the Data Programmability Tools team in SQL Server, and I work on XML tools that ship in Visual Studio.  As an architect I do…

7

XML Tools Screencasts

These videos provide some great information and a preview of the new XML Editor, XSLT Debugger, and EDM Wizard coming in Orcas, as well as a sneak preview of a new XSD Designer and EDM Designer that we can expect to see released after the upcoming Orcas release.

2

XML Schema Facets

I have received a number of requests over a period of time asking how to get all the facets defined on simple types or complex types with simple content in an XML Schema. I recently wrote a code sample for the same and I thought i will post it for wider consumption. The code sample will handle…

1

To Trust, or Not to Trust?

Validation of an XML document against an Xml Schema guarantees that the structure and content of the xml conforms to the types defined in the schema. Does this mean that we automatically elevate the trust level of a document that has passed schema validation? Can we use schema validation as a security layer to our…

2