csharpfritz / TAML

Defining the coolest and simplest markup language delimited ONLY by tabs
MIT License
23 stars 11 forks source link

Dotnet implementation doesn't properly handle Complex Child Document Test Case #68

Closed TGrannen closed 3 years ago

TGrannen commented 3 years ago

During the investigation of #63, I've found that the dotnet parser implementation does not properly parse the Complex Child Document test case within the Test project. The issue here is that key3 under the root does not have any children underneath it when it should have item1, item2, etc.... The other keys (key1 &key2) also do not have their corresponding values.

The test TAML file and screenshot from Visual Studio are shown below.

ComplexChildDocument.taml

root
    key1        value1
    key2        value2
    key3
        item1
        item2
        item3
        item4
            key41           value41
            key42           value42
            key43           value43
            key44           value44

Visual Studio Debugger

image

csharpfritz commented 3 years ago

Thank you for this fix!