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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -