Diagnostics¶
What parse, stream and validate report. See Reading for the guide.
Diagnostic ¶
One finding about the data of a file. A value, never raised.
origin
property
¶
origin: str
Who reported the finding: "oxedi" for the parser's own rules, the
validator's name for an external finding.
code
property
¶
code: Optional[str]
The external validator's own code for the finding; None for the
parser's own rules and for external findings without one.
segment
property
¶
segment: Optional[int]
The index of the segment at fault; None at the end of the stream.
component
property
¶
component: Optional[int]
The 1-based component position, when the finding has one.