Skip to content

Provide flattened XSD file for tools that cant work with include #93

@roman-dvorak

Description

@roman-dvorak

It has been discussed that some users prefers to have a single large XSD file, because some tools have problems with working with included XSD sub-models.

to solve this issue i earlier modified xsdmergerh

With this tool, it is possible to automatically merge all XSD files into one flat XSD file (e.g. using GitHub Actions in this repository), which these users could then use.

The resulting XSD file passes the xmllint validation (after solving #92):

> xmllint --noout --schema dataset/schema.xsd ccmm_sample.xml
ccmm_sample.xml validates

> xsdflatten --output flattened_ccmm.xsd dataset/schema.xsd

> xmllint --noout --schema flattened_ccmm.xsd ccmm_sample.xml
ccmm_sample.xml validates

The output file is attached: flattened_ccmm.xsd

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions