XML child element with same name as parent

SyntaxEditor Web Languages Add-on for Windows Forms Forum

Posted 9 years ago by Jason Ruakere
Version: 14.1.0322
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar

Inserting an XML element with the same name as it's parent fails to insert the closing tag for the element.

You can reproduce this behaviour in the Actipro sample WinForms application by removing the associated schema and inserting an arbitrary child element with the same name as its parent.

The latest WPF sample app does not exhibit this behaviour

Comments (1)

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

Hi Jason,

The problem in the older WinForms version of the add-on is that it doesn't capture as much information in the element context hierarchy as the newer WPF version does.  We rely on that information and have some updated algorithms that can more accurately detect whether or not to auto-complete the end tag.  We hope to eventually port our newer framework back to WinForms so that they all can use the same improved logic.


Actipro Software Support

The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.