groovy - How to validate XML against XSD which import another XSD -


i have 2 xsd files. dcl.xsd imports common.xsd. have dcl.xml. now, want validate dcl.xml dcl.xsd. how can achieve this?

as long common.xsd incorporated dcl.xsd using xsd:include or xsd:import, there nothing extraordinary have validate dcl.xml against dcl.xsd. associate dcl.xml dcl.xsd using usual methods such schemalocation or nonamespaceschemalocation.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -