Skip to content

Documentation / @sw-file-lib/xml / SwXmlStructureErrorDetails

Interface: SwXmlStructureErrorDetails ​

ts
interface SwXmlStructureErrorDetails {
  tag?: string;
  childTag?: string;
  childTags?: string[];
}

Defined in: packages/xml/src/parser/errors.ts:38

Additional metadata for XML structure errors.

Properties ​

PropertyTypeDescription

tag?

string

The tag name of the element or node list where the error occurred.

childTag?

string

The child tag name involved in the error.

childTags?

string[]

The child tag names that were found, when useful for diagnostics.