KirillOsenkov / XmlParser

A Roslyn-inspired full-fidelity XML parser with no dependencies and a simple Visual Studio XML language service
Apache License 2.0
328 stars 49 forks source link

Parser chokes on processing instructions #33

Open KirillOsenkov opened 4 years ago

KirillOsenkov commented 4 years ago
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">

    <Fragment>
        <?ifdef CompDirToken ?>
        <?undef CompDirToken ?>
        <?endif?>
        <?define CompDirToken=VSPackagesDebugger.3643236F_FC70_11D3_A536_0090278A1BB8 ?>

        <?ifdef DbgShimSourceDir ?>
        <?undef DbgShimSourceDir ?>
        <?endif?>
        <?define DbgShimSourceDir=!(bindpath.sources)\redist\Debugger\CoreCLR\Win32\x86?>

        <DirectoryRef Id="$(var.CompDirToken)">
            <Component Id="dbgshim_x86">
              <File Id="dbgshim_x86" Source="$(var.DbgShimSourceDir)\dbgshim.dll" />
            </Component>
        </DirectoryRef>

    </Fragment>

</Wix>

image

KirillOsenkov commented 4 years ago
<html>
</html>