Edward Wilde
Edward Wilde

Reputation: 26537

How to validate an XML file against a schema using Visual Studio 2005

Is it possible to validate an xml file against its associated schema using Visual Studio 2005 IDE?

I could only see options to create a schema based on the current file, or show the XSLT output

alt text

Upvotes: 3

Views: 6494

Answers (2)

Edward Wilde
Edward Wilde

Reputation: 26537

It's done automatically, errors appear as warnings in the "Error List" and are additionally underlined with the blue squiggle in the source file.

Not sure if there is another way to validate the file, but this will do for now.

Upvotes: 5

Dan Blair
Dan Blair

Reputation: 2381

XmlSchemaValidator

Warning: It's not pretty to use.

Upvotes: 0

Related Questions