diff --git a/src/Xamarin.Android.Tools.Bytecode/JavaDocumentScraper.cs b/src/Xamarin.Android.Tools.Bytecode/JavaDocumentScraper.cs index 175c175c2..2ac11584e 100644 --- a/src/Xamarin.Android.Tools.Bytecode/JavaDocumentScraper.cs +++ b/src/Xamarin.Android.Tools.Bytecode/JavaDocumentScraper.cs @@ -374,7 +374,8 @@ public static JavaDocletType GetDocletType (string path) rawXML = new string (buf, 0, len).Trim (); } if (rawXML.IndexOf ("= 0 && - rawXML.IndexOf ("= 0) + (rawXML.IndexOf ("= 0 || + rawXML.IndexOf ("= 0)) kind = JavaDocletType._ApiXml; else if (rawXML.StartsWith ("package", StringComparison.Ordinal) || rawXML.StartsWith (";", StringComparison.Ordinal)) {