Skip to content

Can't handle mismatched/invalid tags as used in some official MS XML docs #7

@TylerAP

Description

@TylerAP
>dotnet nuget locals global-packages -l
info : global-packages: C:\Users\Tyler Young\.nuget\packages\

>.tools\inheritdoc -o -g "%userprofile%\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\netstandard.xml"
2018-11-19 10:08:20.2511|INFO|InheritDoc.Program|InheritDoc(v2.0.2.0).Run():basePath=,xmlDocFileNamePatterns=,globalSourceXmlFiles=C:\Users\Tyler Young\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\netsta
ndard.xml,excludeTypes=System.Object,overwriteExisting =True
2018-11-19 10:08:20.3517|WARN|InheritDoc.Program|Unable to parse C:\Users\Tyler Young\.nuget\packages\netstandard.library\2.0.3\build\netstandard2.0\ref\netstandard.xml due to error The 'p' start tag on line 654 position 2 do
es not match the end tag of 'th'. Line 654, position 86. (skipping)

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at InheritDocLib.InheritDocUtil.LoadGlobalAssemblyDocuments(String globalSourceXmlFiles, Action`2 logger) in C:\Users\Kent\Documents\Visual Studio 2017\Projects\InheritDoc\InheritDocLib\InheritDocUtil.cs:line 139
   at InheritDocLib.InheritDocUtil.Run(String basePath, String xmlDocFileNamePatterns, String globalSourceXmlFiles, String excludeTypes, Boolean overwriteExisting, Action`2 logger) in C:\Users\Kent\Documents\Visual Studio 201
7\Projects\InheritDoc\InheritDocLib\InheritDocUtil.cs:line 46
   at InheritDoc.Program.<>c.<Main>b__1_1(Options options) in C:\Users\Kent\Documents\Visual Studio 2017\Projects\InheritDoc\InheritDoc\Program.cs:line 43
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at InheritDoc.Program.Main(String[] args) in C:\Users\Kent\Documents\Visual Studio 2017\Projects\InheritDoc\InheritDoc\Program.cs:line 41

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