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

Generated descriptor for a complex XML Schema type. More...

#include <zxsd.h>

Collaboration diagram for zxsd_complex:
Collaboration graph
[legend]

Data Fields

const zxsd_element_t * elements
 Child particle descriptors.
 
size_t element_count
 Number of child descriptors.
 
const zxsd_attribute_t * attributes
 Attribute descriptors.
 
size_t attribute_count
 Number of attribute descriptors.
 
zxsd_model_t model
 Child content model.
 
unsigned long min_occurs
 Minimum model occurrences.
 
unsigned long max_occurs
 Maximum model occurrences.
 
const zxsd_simple_t * simple_content
 Text type for simpleContent.
 
zxsd_type_t simple_content_type
 Built-in simpleContent kind.
 
int has_simple_content
 Non-zero for simpleContent.
 
int abstract_type
 Non-zero if direct use is forbidden.
 
const zxsd_particle_t * particle
 Recursive v0.7 content model.
 
const zxsd_wildcard_t * any_attribute
 Attribute wildcard, or NULL.
 
const struct zxsd_complex * base_definition
 Named base complex type.
 
unsigned derivation_method
 Extension or restriction.
 
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.
 
int mixed_content
 Non-zero when character data is allowed.
 
int any_type
 Non-zero for the built-in xs:anyType.
 
unsigned block_methods
 Derivations forbidden when this type is used through xsi:type.
 

Detailed Description

Generated descriptor for a complex XML Schema type.

Definition at line 384 of file zxsd.h.

Field Documentation

◆ abstract_type

int zxsd_complex::abstract_type

Non-zero if direct use is forbidden.

Definition at line 395 of file zxsd.h.

◆ any_attribute

const zxsd_wildcard_t* zxsd_complex::any_attribute

Attribute wildcard, or NULL.

Definition at line 397 of file zxsd.h.

◆ any_type

int zxsd_complex::any_type

Non-zero for the built-in xs:anyType.

Definition at line 404 of file zxsd.h.

◆ attribute_count

size_t zxsd_complex::attribute_count

Number of attribute descriptors.

Definition at line 388 of file zxsd.h.

◆ attributes

const zxsd_attribute_t* zxsd_complex::attributes

Attribute descriptors.

Definition at line 387 of file zxsd.h.

◆ base_definition

const struct zxsd_complex* zxsd_complex::base_definition

Named base complex type.

Definition at line 398 of file zxsd.h.

◆ block_methods

unsigned zxsd_complex::block_methods

Derivations forbidden when this type is used through xsi:type.

Definition at line 405 of file zxsd.h.

◆ derivation_method

unsigned zxsd_complex::derivation_method

Extension or restriction.

Definition at line 399 of file zxsd.h.

◆ element_count

size_t zxsd_complex::element_count

Number of child descriptors.

Definition at line 386 of file zxsd.h.

◆ elements

const zxsd_element_t* zxsd_complex::elements

Child particle descriptors.

Definition at line 385 of file zxsd.h.

◆ final_methods

unsigned zxsd_complex::final_methods

Methods forbidden to descendants.

Definition at line 400 of file zxsd.h.

◆ has_simple_content

int zxsd_complex::has_simple_content

Non-zero for simpleContent.

Definition at line 394 of file zxsd.h.

◆ max_occurs

unsigned long zxsd_complex::max_occurs

Maximum model occurrences.

Definition at line 391 of file zxsd.h.

◆ min_occurs

unsigned long zxsd_complex::min_occurs

Minimum model occurrences.

Definition at line 390 of file zxsd.h.

◆ mixed_content

int zxsd_complex::mixed_content

Non-zero when character data is allowed.

Definition at line 403 of file zxsd.h.

◆ model

zxsd_model_t zxsd_complex::model

Child content model.

Definition at line 389 of file zxsd.h.

◆ particle

const zxsd_particle_t* zxsd_complex::particle

Recursive v0.7 content model.

Definition at line 396 of file zxsd.h.

◆ simple_content

const zxsd_simple_t* zxsd_complex::simple_content

Text type for simpleContent.

Definition at line 392 of file zxsd.h.

◆ simple_content_type

zxsd_type_t zxsd_complex::simple_content_type

Built-in simpleContent kind.

Definition at line 393 of file zxsd.h.

◆ type_name

const char* zxsd_complex::type_name

Named type local name, or NULL.

Definition at line 401 of file zxsd.h.

◆ type_namespace

const char* zxsd_complex::type_namespace

Named type namespace, or NULL.

Definition at line 402 of file zxsd.h.


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