Hello Juerg,
I answer you question:
"That seems like a good idea to me in any case. But would this allow to
validate a gc file using XMLSpy when the schemaLocation attribute is
absent?"
Using an XML Catalog in general you can resolve locally any URI even when
the schemaLocation is missing.
You have to fill the catalog with an URI tag as the below sample for
genericode: