I would like to ask If there is any option of validating my xml without specifying the .xsd location in the "xsi:schemaLocation=" attribute.
e.g my xml file.
<?xml version="1.0" ?>
<test:XMLFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:test="http://test/"
xsi:schemaLocation="http://test/" {relative/absolute path}/Test.xsd">
<Data> TEST </Data>
</test:XMLFile>
I want to hide the .xsd location for security reasons so is there any other option to hide the xsi:schemaLocation="http://test/" {relative/absolute path}/Test.xsd ?
Maybe embed the .xsd into a lib or even in the parser?
Cheers,
J.