Source xml File = new Stream Source(new File("web.xml")); Schema Factory schema Factory = Schema Factory Instance(XMLConstants.
A JAXP implementation could legally use a DOM parser in this case, but there is no reason to. Set Error Handler() as in the example in this SO question stackoverflow.com/questions/4864681/…?
Sun's JDK 6 uses SAX parser with a Stream Source.
I ended up using Liquid XML Studio 2008 (v6) which was much easier to use and more immediately familiar (the UI is very similar to Visual Basic 2008 Express, which I use frequently).
The drawback: the validation capability is not in the free version, so I had to use the 30 day trial.
The Angle Sharp library focuses on standards compliance, interactivity, and extensibility.