diff --git a/XmlSchemaClassGenerator.Console/Program.cs b/XmlSchemaClassGenerator.Console/Program.cs index 4ef476fc..9c57c33a 100644 --- a/XmlSchemaClassGenerator.Console/Program.cs +++ b/XmlSchemaClassGenerator.Console/Program.cs @@ -85,7 +85,7 @@ A file name may be given by appending a pipe sign (|) followed by a file name (l return; } - files = files.SelectMany(f => Glob.Glob.ExpandNames(f)).ToList(); + files = files.SelectMany(f => Glob.Glob.ExpandNames(f)).Concat(files.Where(f => Uri.IsWellFormedUriString(f, UriKind.Absolute))).ToList(); var namespaceMap = namespaces.Select(n => ParseNamespace(n, namespacePrefix)).ToNamespaceProvider(key => {