Hi,
We have noticed invalid IntelliPrompt completion options shown in XML syntax editor.
To reproduce.
1) create an xml schema xsd file with the following content:
<xs:schema id="PromptIssue"
targetNamespace="PromptIssue"
elementFormDefault="qualified"
xmlns="PromptIssue"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="PromptIssue">
<xs:complexType>
<xs:sequence>
<!-- hair -->
<xs:element name="hair" minOccurs="0" maxOccurs="1" />
<!-- diet -->
<xs:element name="diet" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
2) Open the xml schema xsd via the actipro xml editor samples.
3) enter the following xml into the editor:
<PromptIssue xmlns="PromptIssue">
<diet/>
<!-- IntelliPrompt continues to suggests hair and diet after this point even though it is invalid-->
</PromptIssue>
4) in the xml editor, use IntelliPrompt to suggest a valid element after the <diet /> element and it will continue to prompt "diet" and "hair" as valid options even though they are not.
-- Expected Result
Only valid element options (as specified by the xml schema) be show by IntelliPrompt (VisualStudio 2012 behaves as expected).
-- Actual Result
Syntaticaly invalid options (as specified by the xml schema) are displayed by IntelliPrompt
Is there a setting that I am missing to make this work as expected?
Thanks,
Tim
[Modified 12 years ago]