zxsd 0.20.0
Embedded XML Schema validation for C
Loading...
Searching...
No Matches
Data Fields
zxsd_simple Struct Reference

Generated descriptor for a restricted, list or union simple type. More...

#include <zxsd.h>

Collaboration diagram for zxsd_simple:
Collaboration graph
[legend]

Data Fields

zxsd_type_t base
 Primitive base type.
 
unsigned facets
 Bitwise combination of ZXSD_F_*.
 
size_t length
 Exact character length.
 
size_t min_length
 Minimum character length.
 
size_t max_length
 Maximum character length.
 
const char * min_inclusive
 Inclusive lower-bound text.
 
const char * max_inclusive
 Inclusive upper-bound text.
 
const char * min_exclusive
 Exclusive lower-bound text.
 
const char * max_exclusive
 Exclusive upper-bound text.
 
const char * pattern
 Embedded pattern expression.
 
const char *const * enumeration
 Permitted lexical values.
 
size_t enumeration_count
 Number of enumeration values.
 
zxsd_whitespace_t whitespace
 Normalization applied before validation.
 
zxsd_simple_variety_t variety
 Atomic, list or union variety.
 
zxsd_simple_ref_t item_type
 Item type for ZXSD_SIMPLE_LIST.
 
const zxsd_simple_ref_t * member_types
 Union member types.
 
size_t member_type_count
 Number of union member types.
 
const struct zxsd_simple * base_definition
 Named base definition.
 
unsigned derivation_method
 Method used to derive this type.
 
unsigned final_methods
 Methods forbidden to descendants.
 
const char * type_name
 Named type local name, or NULL.
 
const char * type_namespace
 Named type namespace, or NULL.
 
const char *const * patterns
 Pattern constraints from each restriction.
 
size_t pattern_count
 Number of conjunctive pattern constraints.
 
const char *const * enumeration_namespaces
 Namespace URI for each QName/NOTATION enumeration, or NULL.
 
size_t total_digits
 Maximum significant decimal digits.
 
size_t fraction_digits
 Maximum fractional decimal digits.
 

Detailed Description

Generated descriptor for a restricted, list or union simple type.

Definition at line 302 of file zxsd.h.

Field Documentation

◆ base

zxsd_type_t zxsd_simple::base

Primitive base type.

Definition at line 303 of file zxsd.h.

◆ base_definition

const struct zxsd_simple* zxsd_simple::base_definition

Named base definition.

Definition at line 320 of file zxsd.h.

◆ derivation_method

unsigned zxsd_simple::derivation_method

Method used to derive this type.

Definition at line 321 of file zxsd.h.

◆ enumeration

const char* const* zxsd_simple::enumeration

Permitted lexical values.

Definition at line 313 of file zxsd.h.

◆ enumeration_count

size_t zxsd_simple::enumeration_count

Number of enumeration values.

Definition at line 314 of file zxsd.h.

◆ enumeration_namespaces

const char* const* zxsd_simple::enumeration_namespaces

Namespace URI for each QName/NOTATION enumeration, or NULL.

Definition at line 328 of file zxsd.h.

◆ facets

unsigned zxsd_simple::facets

Bitwise combination of ZXSD_F_*.

Definition at line 304 of file zxsd.h.

◆ final_methods

unsigned zxsd_simple::final_methods

Methods forbidden to descendants.

Definition at line 322 of file zxsd.h.

◆ fraction_digits

size_t zxsd_simple::fraction_digits

Maximum fractional decimal digits.

Definition at line 330 of file zxsd.h.

◆ item_type

zxsd_simple_ref_t zxsd_simple::item_type

Item type for ZXSD_SIMPLE_LIST.

Definition at line 317 of file zxsd.h.

◆ length

size_t zxsd_simple::length

Exact character length.

Definition at line 305 of file zxsd.h.

◆ max_exclusive

const char* zxsd_simple::max_exclusive

Exclusive upper-bound text.

Definition at line 311 of file zxsd.h.

◆ max_inclusive

const char* zxsd_simple::max_inclusive

Inclusive upper-bound text.

Definition at line 309 of file zxsd.h.

◆ max_length

size_t zxsd_simple::max_length

Maximum character length.

Definition at line 307 of file zxsd.h.

◆ member_type_count

size_t zxsd_simple::member_type_count

Number of union member types.

Definition at line 319 of file zxsd.h.

◆ member_types

const zxsd_simple_ref_t* zxsd_simple::member_types

Union member types.

Definition at line 318 of file zxsd.h.

◆ min_exclusive

const char* zxsd_simple::min_exclusive

Exclusive lower-bound text.

Definition at line 310 of file zxsd.h.

◆ min_inclusive

const char* zxsd_simple::min_inclusive

Inclusive lower-bound text.

Definition at line 308 of file zxsd.h.

◆ min_length

size_t zxsd_simple::min_length

Minimum character length.

Definition at line 306 of file zxsd.h.

◆ pattern

const char* zxsd_simple::pattern

Embedded pattern expression.

Definition at line 312 of file zxsd.h.

◆ pattern_count

size_t zxsd_simple::pattern_count

Number of conjunctive pattern constraints.

Definition at line 326 of file zxsd.h.

◆ patterns

const char* const* zxsd_simple::patterns

Pattern constraints from each restriction.

Definition at line 325 of file zxsd.h.

◆ total_digits

size_t zxsd_simple::total_digits

Maximum significant decimal digits.

Definition at line 329 of file zxsd.h.

◆ type_name

const char* zxsd_simple::type_name

Named type local name, or NULL.

Definition at line 323 of file zxsd.h.

◆ type_namespace

const char* zxsd_simple::type_namespace

Named type namespace, or NULL.

Definition at line 324 of file zxsd.h.

◆ variety

zxsd_simple_variety_t zxsd_simple::variety

Atomic, list or union variety.

Definition at line 316 of file zxsd.h.

◆ whitespace

zxsd_whitespace_t zxsd_simple::whitespace

Normalization applied before validation.

Definition at line 315 of file zxsd.h.


The documentation for this struct was generated from the following file: