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
Post a Comment