* @param config The configuration. This is needed because the patterns that are
* generated need access to schema information.
*/
private void registerIdrefKey(Configuration config) {
SchemaType idref = BuiltInSchemaFactory.getSchemaType(StandardNames.XS_IDREF);
SchemaType idrefs = BuiltInSchemaFactory.getSchemaType(StandardNames.XS_IDREFS);
Pattern idrefAtt = new NodeTestPattern(
new ContentTypeTest(Type.ATTRIBUTE, idref, config));
Pattern idrefsAtt = new NodeTestPattern(
new ContentTypeTest(Type.ATTRIBUTE, idrefs, config));
Pattern idrefElem = new NodeTestPattern(