Environment: Spring Tool Suite 2.9.2.RELEASE


I have an xml file which i view using xml editor in STS IDE. I linked it to the associated schema file (xsd) for validation and content assist.

XML Sample:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<amendmentConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="../../EMS-Shared/resources/amendment-configuration.xsd">
    <common>
        <prefillCodes>Amend0120 Amend0140 Amend0206</prefillCodes>
    </common>

XSD Sample:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified"
    elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="amendmentConfiguration" type="amendmentConfigurationType">
    <xs:annotation>
    <xs:documentation>Testing</xs:documentation>
    </xs:annotation>
In eclipse preferences i turned on xml validation. So in my xml file i can directly access the schema and content assist will show me the available elements. Validation works also.

I expected when i hover over the amendmentConfiguration i would see the comment "Testing" but i do not. Is there any reason why? Is it tied to catalogs?

Thanks,

Shane.