H
H
helloitsme2014-12-24 09:39:43
.NET
helloitsme, 2014-12-24 09:39:43

Is it possible to move the XML validation rules to a separate file?

The incoming XML goes through XSD validation, but after that some data needs to be logically validated.
Is it possible to somehow put these rules not in the code, but for example in some resource file, etc., so that you can change it without affecting the code.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
strib, 2014-12-25
@strib

It is very convenient to give frequently changing logic to the DSL (domain specific language) level and already work there without affecting the main code base...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question