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

Root descriptor consumed by the generic validation runtime. More...

#include <zxsd.h>

Collaboration diagram for zxsd_schema_t:
Collaboration graph
[legend]

Data Fields

const char * root_name
 Root local name.
 
zxsd_type_t root_type
 Root value kind.
 
const zxsd_complex_t * root_complex
 Root complex descriptor.
 
const zxsd_simple_t * root_simple
 Root simple restriction.
 
const char * root_namespace_uri
 Root namespace, or NULL.
 
const zxsd_identity_t * identities
 Root identity constraints.
 
size_t identity_count
 Number of identity constraints.
 
const zxsd_global_element_t * global_elements
 Wildcard declaration registry.
 
size_t global_element_count
 Number of global declarations.
 
const zxsd_global_attribute_t * global_attributes
 Attribute registry.
 
size_t global_attribute_count
 Number of global attributes.
 
const zxsd_named_type_t * named_types
 Runtime xsi:type registry.
 
size_t named_type_count
 Number of named type entries.
 
const char * default_value
 Root default, or NULL.
 
const char * fixed_value
 Root fixed value, or NULL.
 
int nillable
 Non-zero when root permits xsi:nil.
 
int abstract_element
 Non-zero when root is abstract.
 
unsigned block_methods
 Root block constraints.
 
const zxsd_notation_t * notations
 Global notation declaration registry.
 
size_t notation_count
 Number of notation declarations.
 

Detailed Description

Root descriptor consumed by the generic validation runtime.

Definition at line 487 of file zxsd.h.

Field Documentation

◆ abstract_element

int zxsd_schema_t::abstract_element

Non-zero when root is abstract.

Definition at line 504 of file zxsd.h.

◆ block_methods

unsigned zxsd_schema_t::block_methods

Root block constraints.

Definition at line 505 of file zxsd.h.

◆ default_value

const char* zxsd_schema_t::default_value

Root default, or NULL.

Definition at line 501 of file zxsd.h.

◆ fixed_value

const char* zxsd_schema_t::fixed_value

Root fixed value, or NULL.

Definition at line 502 of file zxsd.h.

◆ global_attribute_count

size_t zxsd_schema_t::global_attribute_count

Number of global attributes.

Definition at line 498 of file zxsd.h.

◆ global_attributes

const zxsd_global_attribute_t* zxsd_schema_t::global_attributes

Attribute registry.

Definition at line 497 of file zxsd.h.

◆ global_element_count

size_t zxsd_schema_t::global_element_count

Number of global declarations.

Definition at line 496 of file zxsd.h.

◆ global_elements

const zxsd_global_element_t* zxsd_schema_t::global_elements

Wildcard declaration registry.

Definition at line 495 of file zxsd.h.

◆ identities

const zxsd_identity_t* zxsd_schema_t::identities

Root identity constraints.

Definition at line 493 of file zxsd.h.

◆ identity_count

size_t zxsd_schema_t::identity_count

Number of identity constraints.

Definition at line 494 of file zxsd.h.

◆ named_type_count

size_t zxsd_schema_t::named_type_count

Number of named type entries.

Definition at line 500 of file zxsd.h.

◆ named_types

const zxsd_named_type_t* zxsd_schema_t::named_types

Runtime xsi:type registry.

Definition at line 499 of file zxsd.h.

◆ nillable

int zxsd_schema_t::nillable

Non-zero when root permits xsi:nil.

Definition at line 503 of file zxsd.h.

◆ notation_count

size_t zxsd_schema_t::notation_count

Number of notation declarations.

Definition at line 507 of file zxsd.h.

◆ notations

const zxsd_notation_t* zxsd_schema_t::notations

Global notation declaration registry.

Definition at line 506 of file zxsd.h.

◆ root_complex

const zxsd_complex_t* zxsd_schema_t::root_complex

Root complex descriptor.

Definition at line 490 of file zxsd.h.

◆ root_name

const char* zxsd_schema_t::root_name

Root local name.

Definition at line 488 of file zxsd.h.

◆ root_namespace_uri

const char* zxsd_schema_t::root_namespace_uri

Root namespace, or NULL.

Definition at line 492 of file zxsd.h.

◆ root_simple

const zxsd_simple_t* zxsd_schema_t::root_simple

Root simple restriction.

Definition at line 491 of file zxsd.h.

◆ root_type

zxsd_type_t zxsd_schema_t::root_type

Root value kind.

Definition at line 489 of file zxsd.h.


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