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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -