Lines Matching refs:restriction
47 * final = (#all | (list | union | restriction))
51 * Content: (annotation?, (restriction | list | union))
54 * <restriction
59 * </restriction>
195 // annotation?,(list|restriction|union)
211 // (list|restriction|union)
213 reportSchemaError("s4s-elt-must-match.2", new Object[]{SchemaSymbols.ELT_SIMPLETYPE, "(annotation?, (restriction | list | union))"}, simpleTypeDecl);
216 // derivation type: restriction/list/union
219 boolean restriction = false, list = false, union = false;
222 restriction = true;
233 reportSchemaError("s4s-elt-must-match.1", new Object[]{SchemaSymbols.ELT_SIMPLETYPE, "(annotation?, (restriction | list | union))", varietyProperty}, simpleTypeDecl);
239 reportSchemaError("s4s-elt-must-match.1", new Object[]{SchemaSymbols.ELT_SIMPLETYPE, "(annotation?, (restriction | list | union))", DOMUtil.getLocalName(nextChild)}, nextChild);
243 QName baseTypeName = (QName)contentAttrs[restriction ?
282 if ((restriction || list) && baseTypeName != null) {
317 if (restriction || list) {
353 else if ((restriction || list) && baseTypeName == null) {
363 if ((restriction || list) && baseValidator == null) {
366 restriction ? XSConstants.DERIVATION_RESTRICTION : XSConstants.DERIVATION_LIST);
384 if (restriction) {
397 // now traverse facets, if it's derived by restriction
398 if (restriction && content != null) {
414 if (restriction) {
431 //@param: baseRefContext: whether the caller is using this type as a base for restriction, union or list
450 // if it's a complex type, or if its restriction of anySimpleType