I am currently viewing and editing the AAI schema files on Windows.
The process for regenerating the XSD file from the OXM file works, since it's all Java running from the Git bash commandline.
The problem is that the generated XSD file appears to be creating lines with Unix-style line-ending characters (i.e. LF), while the rest of the file is using Windows-style (i.e. CR/LF). These lines are inter-mixed with the other lines, which can cause some confusion in text-file-manipulating tools.
The Java code for generating the files should be using the Java System settings for line-endings instead of hard-coding characters. This will make it portable to any JVM-supported operating systems.