public interface Invalidity extends SourceLocator
Modifier and Type | Method and Description |
---|---|
String |
getConstraintClauseNumber()
Get the clause number of the rule that has been violated
|
String |
getConstraintName()
Get the name of the constraint that has been violated
|
String |
getConstraintReference()
Get the constraint name and clause in the format defined in XML Schema Part 1 Appendix C (Outcome Tabulations).
|
AbsolutePath |
getContextPath()
Get a hierarchic path giving the logical position in the instance document where the
validation error was found
|
String |
getErrorCode()
Get the error code associated with the validity error.
|
String |
getMessage()
Get the text of a message explaining what is wrong
|
AbsolutePath |
getPath()
Get a hierarchic path giving the logical position in the instance document where the
validation error was found
|
int |
getSchemaPart()
Get the part number of the XSD schema specification containing the constraint that
has been violated
|
getColumnNumber, getLineNumber, getPublicId, getSystemId
int getSchemaPart()
String getConstraintName()
String getConstraintClauseNumber()
String getConstraintReference()
AbsolutePath getPath()
AbsolutePath getContextPath()
String getMessage()
String getErrorCode()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.