I cannot get xsi:schemaLocation=http://example.com example.xsd to display after generating xml out from the xsd. Below is a sample of my xsd file. What could be the problem?
Sample XSD file
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.com" xmlns:xsi="http://example.com" elementFormDefault="qualified" xsi:schemaLocation="http://example.com example.xsd">
...
...
</xs:schema>
Present xml output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tag1 xmlns="http://example.com">
...
...
...
</tag1>
Expected xml output
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<tag1 xmlns="http://example.com" xsi:schemaLocation="http://example.com example.xsd">
...
...
...
</tag1>