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

How to connect android app to App engine -

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

php - display validation error message next to the textbox in codeigniter -