//////////////////////////////////////////////////////////
// this error will occur when a given element is not allowed
// at the given location. The param string in reported
// errors will name that element
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-complex-type.2.4.a",
FaultTypes.INVALID_ELEMENT_LOCATION,
0,
false));
// this error will occur when a given elements conent is
// invalid
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-complex-type.2.4.b",
FaultTypes.INVALID_ELEMENT_CONTENT,
0,
false));
// this error will occur when a given child element is not
// allowed at the given location. The param string in reported
// errors will name that element
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-complex-type.2.4.d",
FaultTypes.INVALID_ELEMENT_LOCATION,
0,
false));
// this error will occur when a given attribute is not
// allowed at the given location. The param string in
// reported errors will name that attribute
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-complex-type.3.2.2",
FaultTypes.INVALID_ATTRIBUTE_LOCATION,
0,
true));
// this error will occur when a given elements content
// does not match its declared type. The param string
// will name that element
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-type.3.1.3",
FaultTypes.INVALID_ELEMENT_CONTENT,
1,
false));
// this error will occur when a given attributes value
// does not match its declared type. The param string
// will name that attribute
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-attribute.3",
FaultTypes.INVALID_ATTRIBUTE_CONTENT,
1,
true));
// this error will occur when a required attribute is missing
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-complex-type.4",
FaultTypes.MISSING_ATTRIBUTE,
0,
true));
// this error will occur when a given attributes value
// is not of the declared type
parserErrors.add(new AttributeResolvingParserError(
XSD_MESSAGE_BUNDLE,
"cvc-datatype-valid.1.2.1",
FaultTypes.INVALID_SCHEMA_DATA_TYPE,
0));
// this error will occur when a given attributes value
// is not of the declared type
parserErrors.add(new AttributeResolvingParserError(
XSD_MESSAGE_BUNDLE,
"cvc-datatype-valid.1.2.2",
FaultTypes.INVALID_POLICY_NAME,
0));
// this error will occur when a given elements value
// is not of the declared type
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-datatype-valid.1.2.1",
FaultTypes.INVALID_SCHEMA_DATA_TYPE,
0,
false));
// this error will occur when a required attribute is missing
parserErrors.add(new AttributeResolvingParserError(
XSD_MESSAGE_BUNDLE,
"cvc-enumeration-valid",
FaultTypes.INVALID_SELECTION,
0));
// this error will occur when a required attribute is missing
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-enumeration-valid",
FaultTypes.INVALID_SELECTION,
0,
false));
// this error will occur when a given attributes value
// is not of the declared type
parserErrors.add(new AttributeResolvingParserError(
XSD_MESSAGE_BUNDLE,
"cvc-pattern-valid",
FaultTypes.INVALID_SCHEMA_PATTERN_VALUE,
0));
// this error will occur when a given elements value
// is not of the declared type
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-pattern-valid",
FaultTypes.INVALID_SCHEMA_PATTERN_VALUE,
0,
false));
// this error will occur when a schema constraint key is
// not found
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"KeyNotFound",
FaultTypes.SCHEMA_CONSTRAINT_VIOLATED,
0,
false));
// this error will occur when a schema constraint key is
// violated
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"DuplicateKey",
FaultTypes.DUPLICATE_NAME,
0,
false));
// this error will occur when an attribute has exceeded
// a max inclusive constraint. The error param will
// contain the value that is in error. THIS ERROR MUST PRECEED
// THE PARSER element equivalent for "cvc-maxInclusive-valid"
parserErrors.add(new AttributeResolvingParserError(
XSD_MESSAGE_BUNDLE,
"cvc-maxInclusive-valid",
FaultTypes.MAX_INCLUSIVE_VIOLATED,
0));
// this error will occur when an elemnt has exceeded
// a max inclusive constraint. The error param will
// contain the value that is in error
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-maxInclusive-valid",
FaultTypes.MAX_INCLUSIVE_VIOLATED,
0,
false));
// this error will occur when an attribute has exceeded
// a min inclusive constraint. The error param will
// contain the value that is in error. THIS ERROR MUST PRECEED
// THE PARSER element equivalent for "cvc-minInclusive-valid"
parserErrors.add(new AttributeResolvingParserError(
XSD_MESSAGE_BUNDLE,
"cvc-minInclusive-valid",
FaultTypes.MIN_INCLUSIVE_VIOLATED,
0));
// this error will occur when an element has exceeded
// a min inclusive constraint. The error param will
// contain the value that is in error
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-minInclusive-valid",
FaultTypes.MIN_INCLUSIVE_VIOLATED,
0,
false));
// this error will occur when an attribute has exceeded
// a max length constraint. The error param will
// name the attribute that is in error. THIS ERROR MUST PRECEED
// THE PARSER element equivalent for "cvc-maxInclusive-valid"
parserErrors.add(new AttributeResolvingParserError(
XSD_MESSAGE_BUNDLE,
"cvc-maxLength-valid",
FaultTypes.MAX_LENGTH_VIOLATED,
0));
// this error will occur when an elemnt has exceeded
// a max length constraint. The error param will
// contain the value that is in error
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"cvc-maxLength-valid",
FaultTypes.MAX_LENGTH_VIOLATED,
0,
false));
parserErrors.add(new ParserError(
XSD_MESSAGE_BUNDLE,
"DuplicateUnique",
FaultTypes.DUPLICATE_UNIQUE,
0,
false));