How to validate an XML file against a schema using Visual Studio 2005
-
09-06-2019 - |
Question
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
Solution
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.
OTHER TIPS
Warning: It's not pretty to use.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow