This check should be in the compiler for the PatchBaseline element instead. Don't rely on the schema; there are better error messages available. Search Compiler.cs for "TooLong"