private static SMFSchemaValidationError errorWrongSchemaID( final SMFSchemaIdentifier schema_id, final SMFSchemaIdentifier file_id) { final StringBuilder sb = new StringBuilder(128); sb.append( "The mesh schema identifier does not match the identifier in the schema."); sb.append(System.lineSeparator()); sb.append(" Expected: "); sb.append(schema_id.toHumanString()); sb.append(System.lineSeparator()); sb.append(" Received: "); sb.append(file_id.toHumanString()); sb.append(System.lineSeparator()); return SMFSchemaValidationError.of(sb.toString(), Optional.empty()); }
sb.append(System.lineSeparator()); sb.append("Expected: "); sb.append(this.config.toHumanString()); sb.append(System.lineSeparator()); sb.append("Received: "); if (received_opt.isPresent()) { final SMFSchemaIdentifier received = received_opt.get(); sb.append(received.toHumanString()); } else { sb.append("No schema ID");
if (schema_id.vendorID() != 0) { this.writer.append("schema "); this.writer.append(schema_id.toHumanString()); this.writer.newLine();
"removing matched {} -> {}", this.matchString(), meta.schema().toHumanString()); } else { LOG.debug( "preserving unmatched {} -> {}", this.matchString(), meta.schema().toHumanString());