Invalid IntelliPrompt completion options shown in XML syntax editor

SyntaxEditor Web Languages Add-on for WPF Forum

Posted 11 years ago by Tim Scott
Version: 13.1.0580


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"
  <xs:element name="PromptIssue">
         <!-- hair -->
         <xs:element name="hair" minOccurs="0" maxOccurs="1" />
         <!-- diet -->
        <xs:element name="diet" minOccurs="0" maxOccurs="1"/>

2) Open the xml schema xsd via the actipro xml editor samples.

3) enter the following xml into the editor:

<PromptIssue xmlns="PromptIssue">

<!-- IntelliPrompt continues to suggests hair and diet after this point even though it is invalid--> 


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?




[Modified 11 years ago]

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Tim,

Thanks for the sample.  At the current time, the add-on doesn't have the logic necessary to handle complex sequence-based elements.  So it currently falls back to showing the various options available for that complex type.  We've logged this request on the TODO list to have better sequence support.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.