Skip to content

Notepad++ crash when saving XML add back the missing > for a comment #11137

@asdf913

Description

@asdf913

Description of the Issue

Steps to Reproduce the Issue

Sample XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
<!-- $Id: properties-service.xml 16662 2003-08-27 04:38:22Z patriot1burke $ -->
<server>

<mbean code="org.jboss.varia.property.SystemPropertiesService"
name="jboss:type=Service,name=SystemProperties">

<attribute name="Properties">
<!--ABC-->
</attribute>

</mbean>

</server>

  1. Remove > in the comment within the attribute (i.e to <!--ABC--)
  2. Save
  3. Reopen the same file and add back the > the comment within the attribute (i.e )
  4. Application Crash
    image

Expected Behavior

Save Successfully

Actual Behavior

Application Crash

Debug Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions