TestShape
type: NodeShape
datatype: integer
message: Test message
target node: InvalidNode

Test of custom sh:message 001
type: Validate
comment: Note: This test verifies that the sh:message is copied into sh:resultMessage. To pass this test, the test harness needs to preserve all sh:resultMessage triples that are mentioned in the 'expected' results graph.
result: ValidationReport
  conforms: false
  result: ValidationResult
    focus node: InvalidNode
    result message: Test message
    result severity: Violation
    source constraint component: DatatypeConstraintComponent
    source shape: TestShape
    value: InvalidNode
status: approved