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

Internal per-element state exposed only to permit static allocation. More...

#include <zxsd.h>

Collaboration diagram for zxsd_stream_frame_t:
Collaboration graph
[legend]

Data Fields

const char * expected_name
 Schema-owned expected local name.
 
const char * expected_namespace
 Schema-owned expected namespace.
 
zxsd_type_t type
 Effective value type.
 
const zxsd_complex_t * complex_type
 Effective complex type.
 
const zxsd_simple_t * simple_type
 Effective simple type.
 
const char * default_value
 Element default.
 
const char * fixed_value
 Element fixed value.
 
unsigned char seen_attributes [32u]
 Seen attributes.
 
unsigned long child_counts [32u]
 Consumed child counts.
 
size_t sequence_index
 Current sequence position.
 
int incremental_model
 Internal content-model cursor mode, or zero for history.
 
uint16_t model_states
 Head of the nested-model frontier in the shared pool.
 
unsigned long model_occurrences
 Non-empty sequence iterations consumed by the cursor.
 
const struct zxsd_particle * child_particle_table [32u]
 Distinct leaf particles referenced by the compact child-token history.
 
size_t child_particle_table_count
 Number of entries in the particle table.
 
uint16_t child_particle_ids [64u]
 16-bit particle-table index for each child in recursive content models.
 
size_t text_length
 Bytes currently in text.
 
size_t child_count
 Number of child events received.
 
int nillable
 Whether xsi:nil is permitted.
 
int nilled
 Whether xsi:nil was true.
 
int content_started
 Whether attributes are closed.
 
int skip_validation
 Wildcard skip/lax unknown subtree.
 
size_t namespace_base
 Namespace stack base for this element.
 
char local_name [128u]
 Actual local name.
 
char namespace_uri [128u]
 Actual namespace URI.
 
char text [1024u+1u]
 Decoded character data.
 

Detailed Description

Internal per-element state exposed only to permit static allocation.

Definition at line 523 of file zxsd.h.

Field Documentation

◆ child_count

size_t zxsd_stream_frame_t::child_count

Number of child events received.

Definition at line 544 of file zxsd.h.

◆ child_counts

unsigned long zxsd_stream_frame_t::child_counts[32u]

Consumed child counts.

Definition at line 532 of file zxsd.h.

◆ child_particle_ids

uint16_t zxsd_stream_frame_t::child_particle_ids[64u]

16-bit particle-table index for each child in recursive content models.

Definition at line 542 of file zxsd.h.

◆ child_particle_table

const struct zxsd_particle* zxsd_stream_frame_t::child_particle_table[32u]

Distinct leaf particles referenced by the compact child-token history.

Definition at line 539 of file zxsd.h.

◆ child_particle_table_count

size_t zxsd_stream_frame_t::child_particle_table_count

Number of entries in the particle table.

Definition at line 540 of file zxsd.h.

◆ complex_type

const zxsd_complex_t* zxsd_stream_frame_t::complex_type

Effective complex type.

Definition at line 527 of file zxsd.h.

◆ content_started

int zxsd_stream_frame_t::content_started

Whether attributes are closed.

Definition at line 547 of file zxsd.h.

◆ default_value

const char* zxsd_stream_frame_t::default_value

Element default.

Definition at line 529 of file zxsd.h.

◆ expected_name

const char* zxsd_stream_frame_t::expected_name

Schema-owned expected local name.

Definition at line 524 of file zxsd.h.

◆ expected_namespace

const char* zxsd_stream_frame_t::expected_namespace

Schema-owned expected namespace.

Definition at line 525 of file zxsd.h.

◆ fixed_value

const char* zxsd_stream_frame_t::fixed_value

Element fixed value.

Definition at line 530 of file zxsd.h.

◆ incremental_model

int zxsd_stream_frame_t::incremental_model

Internal content-model cursor mode, or zero for history.

Definition at line 534 of file zxsd.h.

◆ local_name

char zxsd_stream_frame_t::local_name[128u]

Actual local name.

Definition at line 550 of file zxsd.h.

◆ model_occurrences

unsigned long zxsd_stream_frame_t::model_occurrences

Non-empty sequence iterations consumed by the cursor.

Definition at line 537 of file zxsd.h.

◆ model_states

uint16_t zxsd_stream_frame_t::model_states

Head of the nested-model frontier in the shared pool.

Definition at line 535 of file zxsd.h.

◆ namespace_base

size_t zxsd_stream_frame_t::namespace_base

Namespace stack base for this element.

Definition at line 549 of file zxsd.h.

◆ namespace_uri

char zxsd_stream_frame_t::namespace_uri[128u]

Actual namespace URI.

Definition at line 551 of file zxsd.h.

◆ nillable

int zxsd_stream_frame_t::nillable

Whether xsi:nil is permitted.

Definition at line 545 of file zxsd.h.

◆ nilled

int zxsd_stream_frame_t::nilled

Whether xsi:nil was true.

Definition at line 546 of file zxsd.h.

◆ seen_attributes

unsigned char zxsd_stream_frame_t::seen_attributes[32u]

Seen attributes.

Definition at line 531 of file zxsd.h.

◆ sequence_index

size_t zxsd_stream_frame_t::sequence_index

Current sequence position.

Definition at line 533 of file zxsd.h.

◆ simple_type

const zxsd_simple_t* zxsd_stream_frame_t::simple_type

Effective simple type.

Definition at line 528 of file zxsd.h.

◆ skip_validation

int zxsd_stream_frame_t::skip_validation

Wildcard skip/lax unknown subtree.

Definition at line 548 of file zxsd.h.

◆ text

char zxsd_stream_frame_t::text[ 1024u+1u]

Decoded character data.

Definition at line 552 of file zxsd.h.

◆ text_length

size_t zxsd_stream_frame_t::text_length

Bytes currently in text.

Definition at line 543 of file zxsd.h.

◆ type

zxsd_type_t zxsd_stream_frame_t::type

Effective value type.

Definition at line 526 of file zxsd.h.


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