Skip to content

XML processing instructions with embedded '>' fail to parse #65

Closed
@toddlipcon

Description

@toddlipcon

Commit 7e54bff broke the parsing of multi-line XML processing instructions. For example, the following valid XML file:

<?xml version="1.0" encoding="UTF-8"?>
<project>
  <?pi <tag>
    </tag>
  ?>
</project>

throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException: processing instruction started on line 2 and column 5 was not closed (position: TEXT seen ...\n <?pi\n ... @3:9)

This causes Maven 3.6 (which uses plexus-interpolation 1.25) to fail to parse some poms which use a multi-line processing instruction as an "ignore" block.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions