Skip to content

XmlDeclarationSyntax doesn't pickup parsing errors? #27

@michael-hawker

Description

@michael-hawker

If you modify the first line of the example template to be missing the closing '>' character:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?
<X xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template></xsl:template>
  <X/>
  <A.B></A.B>
  <A B="value"></A>
  <A>&#x03C0;</A>
  <A>a &lt;</A>
  <A><![CDATA[bar]]></A>
  <!-- comment -->
</X>

It doesn't get flagged as an error:

image

Was expecting it to flag it like this:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions