A comment in DTD crashes editor

SyntaxEditor for WPF Forum

Posted 10 years ago by Simon Sprott
Version: 14.2.0610
Platform: .NET 4.5
Environment: Windows 8 (64-bit)

I've managed to get a pretty simple sample that breaks it.

If you cut and paste this code into the XML Editor (Web Lang Addon) sample in your sample pack it cashes.

Its the comment within the DTD thats causing the problems.

<?xml version="1.0"?>
<!-- My Test Branding Line -->
<!DOCTYPE note[
<!ELEMENT note (to,from,heading,body)>
<!-- dfsdf -->
<!ELEMENT heading (#PCDATA)>
<body>Don't forget me this weekend</body>

Comments (1)

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

Hi Simon,

Thanks for letting us know about this. It appears that our Declaration AST node class had its child Nodes collection defined as a collection of type Declaration instead of IAstNode.  We've fixed it for the next maintenance release.

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.