Skip to content

Documentation / @einvoice-ts/validator / LexicalSpace

Type Alias: LexicalSpace ​

LexicalSpace = "xs:boolean" | "xs:date" | "xs:decimal" | "xs:string"

Defined in: packages/validator/src/engine/issue.ts:73

The XSD datatypes whose lexical space the engine checks, named as the schema names them. xs:string is every text and attribute value without one of the other three, and its only constraint is the characters of XML 1.0.

Example ​

ts
import type { LexicalSpace } from '@einvoice-ts/validator';

const space: LexicalSpace = 'xs:decimal';

MIT licensed. Specification material belongs to OpenPeppol, CEN and OASIS (see NOTICE). Peppol is a trademark of OpenPeppol AISBL; this project is not affiliated with it.