Re: Perform XML Schema validation at run-time?

Noah Mendelsohn <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>

On 5/16/2011 7:25 PM, Michael Glavassevich wrote:
> If you don't want invalid documents to be accepted quietly you can register
> a schema (not necessarily XML Schema; could also be Relax NG, Schematron or
> something else) and if you want you can force JAXB to fail if an error is
> reported by the validator or respond in some other way with the error
> handler you've registered.

OK, so there's the example Roger asked for, a widely deployed commercial 
system that provides for runtime validation. As you'd expect, this happens 
when the user turns it on, I.e. by flipping the "fail on validation error" 
switch.

How widely used that switch is in production, I don't know.

Noah
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.