import pytest

from tests.utils import assert_bindings


def test_g_day_min_inclusive005_1268_g_day_min_inclusive005_1268_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=- - -01
    and facet=maxExclusive and value=- - -30) and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_minInclusive005.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_min_inclusive004_1267_g_day_min_inclusive004_1267_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=- - -01
    and facet=maxInclusive and value=- - -30) and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_minInclusive004.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_min_inclusive003_1266_g_day_min_inclusive003_1266_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=- - -01
    and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_minInclusive003.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_min_inclusive001_1264_g_day_min_inclusive001_1264_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=- - -01
    and document value=- - -01
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_minInclusive001.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_max_exclusive003_1263_g_day_max_exclusive003_1263_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=- - -30
    and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_max_inclusive003_1260_g_day_max_inclusive003_1260_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=- - -30
    and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_max_inclusive001_1258_g_day_max_inclusive001_1258_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=- - -01
    and document value=- - -01
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_enumeration004_1257_g_day_enumeration004_1257_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=- - -15 -
    - -01 - - -30 and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_enumeration004.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_enumeration002_1255_g_day_enumeration002_1255_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=- - -15
    and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_enumeration002.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_pattern001_1253_g_day_pattern001_1253_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and value=- - -[0-9]{2}
    and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_pattern001.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_exclusive005_1252_g_month_day_min_exclusive005_1252_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=-
    -01-01 and facet=maxExclusive and value=- -10-01) and document value=-
    -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive005.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_exclusive004_1251_g_month_day_min_exclusive004_1251_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=-
    -01-01 and facet=maxInclusive and value=- -10-01) and document value=-
    -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive004.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_exclusive003_1250_g_month_day_min_exclusive003_1250_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=- -01-01
    and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive003.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_inclusive005_1247_g_month_day_min_inclusive005_1247_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=-
    -01-01 and facet=maxExclusive and value=- -10-01) and document value=-
    -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive005.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_inclusive004_1246_g_month_day_min_inclusive004_1246_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=-
    -01-01 and facet=maxInclusive and value=- -10-01) and document value=-
    -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive004.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_inclusive003_1245_g_month_day_min_inclusive003_1245_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=- -01-01
    and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive003.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_inclusive001_1243_g_month_day_min_inclusive001_1243_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=- -01-01
    and document value=- -01-01
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive001.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_max_exclusive003_1242_g_month_day_max_exclusive003_1242_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=- -10-01
    and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_max_inclusive003_1239_g_month_day_max_inclusive003_1239_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=- -10-01
    and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_max_inclusive001_1237_g_month_day_max_inclusive001_1237_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=- -01-01
    and document value=- -01-01
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_enumeration004_1236_g_month_day_enumeration004_1236_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=- -03-15
    - -01-01 - -10-01 and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_enumeration004.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_enumeration002_1234_g_month_day_enumeration002_1234_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=- -03-15
    and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_enumeration002.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_pattern001_1232_g_month_day_pattern001_1232_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and value=-
    -[0-9]{2}-[0-9]{2} and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_pattern001.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_exclusive005_1231_g_year_min_exclusive005_1231_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1998
    and facet=maxExclusive and value=2002) and document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minExclusive005.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_exclusive004_1230_g_year_min_exclusive004_1230_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1998
    and facet=maxInclusive and value=2002) and document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minExclusive004.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_exclusive003_1229_g_year_min_exclusive003_1229_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=1998 and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minExclusive003.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_inclusive005_1226_g_year_min_inclusive005_1226_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1998
    and facet=maxExclusive and value=2002) and document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minInclusive005.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_inclusive004_1225_g_year_min_inclusive004_1225_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1998
    and facet=maxInclusive and value=2002) and document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minInclusive004.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_inclusive003_1224_g_year_min_inclusive003_1224_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1998 and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minInclusive003.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_inclusive001_1222_g_year_min_inclusive001_1222_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1998 and
    document value=1998
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minInclusive001.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_max_exclusive003_1221_g_year_max_exclusive003_1221_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=2002 and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_max_inclusive003_1218_g_year_max_inclusive003_1218_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=2002 and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_max_inclusive001_1216_g_year_max_inclusive001_1216_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=1998 and
    document value=1998
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_enumeration004_1215_g_year_enumeration004_1215_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=2000 1999
    2038 and document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_enumeration004.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_enumeration002_1213_g_year_enumeration002_1213_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=2000 and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_enumeration002.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_pattern001_1211_g_year_pattern001_1211_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and value=[0-9]{4} and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_pattern001.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_exclusive005_1210_g_year_month_min_exclusive005_1210_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=2000-12
    and facet=maxExclusive and value=2001-12) and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive005.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_exclusive004_1209_g_year_month_min_exclusive004_1209_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=2000-12
    and facet=maxInclusive and value=2001-12) and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive004.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_exclusive003_1208_g_year_month_min_exclusive003_1208_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=2000-12
    and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive003.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_inclusive005_1205_g_year_month_min_inclusive005_1205_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=2000-12
    and facet=maxExclusive and value=2001-12) and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive005.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_inclusive004_1204_g_year_month_min_inclusive004_1204_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=2000-12
    and facet=maxInclusive and value=2001-12) and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive004.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_inclusive003_1203_g_year_month_min_inclusive003_1203_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=2000-12
    and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive003.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_inclusive001_1201_g_year_month_min_inclusive001_1201_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=2000-12
    and document value=2000-12
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive001.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_max_exclusive003_1200_g_year_month_max_exclusive003_1200_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=2001-12
    and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_max_inclusive003_1197_g_year_month_max_inclusive003_1197_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=2001-12
    and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_max_inclusive001_1195_g_year_month_max_inclusive001_1195_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=2000-12
    and document value=2000-12
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_enumeration004_1194_g_year_month_enumeration004_1194_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=2001-03
    2000-10 2001-12 and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_enumeration004.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_enumeration002_1192_g_year_month_enumeration002_1192_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=2001-03
    and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_enumeration002.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_pattern001_1190_g_year_month_pattern001_1190_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{4}-[0-9]{2} and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_pattern001.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_exclusive005_1189_date_min_exclusive005_1189_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=1999-01-31 and facet=maxExclusive and value=2000-05-31) and
    document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minExclusive005.xsd",
        instance="msData/datatypes/Facets/date/date_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_exclusive004_1188_date_min_exclusive004_1188_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=1999-01-31 and facet=maxInclusive and value=2000-05-31) and
    document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minExclusive004.xsd",
        instance="msData/datatypes/Facets/date/date_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_exclusive003_1187_date_min_exclusive003_1187_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and
    value=1999-01-31 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minExclusive003.xsd",
        instance="msData/datatypes/Facets/date/date_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_inclusive005_1184_date_min_inclusive005_1184_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=1999-01-31 and facet=maxExclusive and value=2000-05-31) and
    document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minInclusive005.xsd",
        instance="msData/datatypes/Facets/date/date_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_inclusive004_1183_date_min_inclusive004_1183_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=1999-01-31 and facet=maxInclusive and value=2000-05-31) and
    document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minInclusive004.xsd",
        instance="msData/datatypes/Facets/date/date_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_inclusive003_1182_date_min_inclusive003_1182_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=1999-01-31 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minInclusive003.xsd",
        instance="msData/datatypes/Facets/date/date_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_inclusive001_1180_date_min_inclusive001_1180_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=1999-01-31 and document value=1999-01-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minInclusive001.xsd",
        instance="msData/datatypes/Facets/date/date_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_max_exclusive003_1179_date_max_exclusive003_1179_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and
    value=2000-05-31 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/date/date_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_max_inclusive003_1176_date_max_inclusive003_1176_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=2000-05-31 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/date/date_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_max_inclusive001_1174_date_max_inclusive001_1174_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=1999-01-31 and document value=1999-01-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/date/date_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_enumeration004_1173_date_enumeration004_1173_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=1999-05-31 1999-07-31 2000-03-10 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_enumeration004.xsd",
        instance="msData/datatypes/Facets/date/date_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_enumeration002_1171_date_enumeration002_1171_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=1999-05-31 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_enumeration002.xsd",
        instance="msData/datatypes/Facets/date/date_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_pattern001_1169_date_pattern001_1169_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{4}-[0-9]{2}-[0-9]{2} and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_pattern001.xsd",
        instance="msData/datatypes/Facets/date/date_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_exclusive005_1168_time_min_exclusive005_1168_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=10:21:00-05:00 and facet=maxExclusive and value=13:20:00-04:00)
    and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minExclusive005.xsd",
        instance="msData/datatypes/Facets/time/time_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_exclusive004_1167_time_min_exclusive004_1167_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=10:21:00-05:00 and facet=maxInclusive and value=13:20:00-04:00)
    and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minExclusive004.xsd",
        instance="msData/datatypes/Facets/time/time_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_exclusive003_1166_time_min_exclusive003_1166_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and
    value=10:21:00-05:00 and document value=13:20:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minExclusive003.xsd",
        instance="msData/datatypes/Facets/time/time_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_inclusive005_1162_time_min_inclusive005_1162_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=10:21:00-05:00 and facet=maxExclusive and value=13:20:00-04:00)
    and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minInclusive005.xsd",
        instance="msData/datatypes/Facets/time/time_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_inclusive004_1161_time_min_inclusive004_1161_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=10:21:00-05:00 and facet=maxInclusive and value=13:20:00-04:00)
    and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minInclusive004.xsd",
        instance="msData/datatypes/Facets/time/time_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_inclusive003_1160_time_min_inclusive003_1160_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=10:21:00-05:00 and document value=13:20:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minInclusive003.xsd",
        instance="msData/datatypes/Facets/time/time_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_inclusive001_1158_time_min_inclusive001_1158_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=10:21:00-05:00 and document value=10:21:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minInclusive001.xsd",
        instance="msData/datatypes/Facets/time/time_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_max_exclusive003_1157_time_max_exclusive003_1157_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and
    value=13:20:00-04:00 and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/time/time_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_max_inclusive003_1154_time_max_inclusive003_1154_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=13:20:00-04:00 and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/time/time_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_max_inclusive001_1152_time_max_inclusive001_1152_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=10:21:00-05:00 and document value=10:21:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/time/time_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_enumeration004_1151_time_enumeration004_1151_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=13:20:00-05:00 13:20:00 01:50:40 and document
    value=13:20:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_enumeration004.xsd",
        instance="msData/datatypes/Facets/time/time_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_enumeration002_1149_time_enumeration002_1149_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=13:20:00-05:00 and document value=13:20:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_enumeration002.xsd",
        instance="msData/datatypes/Facets/time/time_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_pattern001_1147_time_pattern001_1147_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{1,2}:[0-9]{2}:[0-9]{2}-[0-9]{2}:[0-9]{2} and document
    value=13:20:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_pattern001.xsd",
        instance="msData/datatypes/Facets/time/time_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_exclusive005_1146_date_time_min_exclusive005_1146_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=1981-03-12T10:30:00 and facet=maxExclusive and
    value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minExclusive005.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_exclusive004_1145_date_time_min_exclusive004_1145_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=1981-03-12T10:30:00 and facet=maxInclusive and
    value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minExclusive004.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_exclusive003_1144_date_time_min_exclusive003_1144_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and
    value=1981-03-12T10:30:00 and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minExclusive003.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_inclusive005_1141_date_time_min_inclusive005_1141_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=1981-03-12T10:30:00 and facet=maxExclusive and
    value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minInclusive005.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_inclusive004_1140_date_time_min_inclusive004_1140_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=1981-03-12T10:30:00 and facet=maxInclusive and
    value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minInclusive004.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_inclusive003_1139_date_time_min_inclusive003_1139_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=1981-03-12T10:30:00 and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minInclusive003.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_inclusive001_1137_date_time_min_inclusive001_1137_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=1981-03-12T10:30:00 and document value=1981-03-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minInclusive001.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_max_exclusive003_1136_date_time_max_exclusive003_1136_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and
    value=1999-05-12T10:31:00 and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_max_inclusive003_1133_date_time_max_inclusive003_1133_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=1999-05-12T10:31:00 and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_max_inclusive001_1131_date_time_max_inclusive001_1131_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=1981-03-12T10:30:00 and document value=1981-03-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_enumeration005b_1130_date_time_enumeration005b_1130_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : XSD: XsdDateTime comparison of
    identical representations of the time zones(b)
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_enumeration005.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_enumeration005b.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_enumeration005a_1129_date_time_enumeration005a_1129_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : XSD: XsdDateTime comparison of
    identical representations of the time zones(a)
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_enumeration005.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_enumeration005a.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_enumeration004_1128_date_time_enumeration004_1128_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=1985-04-12T10:30:00 1985-04-12T12:00:00 1999-07-31T01:00:00 and
    document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_enumeration004.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_enumeration002_1126_date_time_enumeration002_1126_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=1985-04-12T10:30:00 and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_enumeration002.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_pattern001_1124_date_time_pattern001_1124_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{1,2}:[0-9]{2}:[0-9]{2} and
    document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_pattern001.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_exclusive005_1123_duration_min_exclusive005_1123_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=P1Y1MT1H and facet=maxExclusive and value=P2Y3MT2H) and document
    value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minExclusive005.xsd",
        instance="msData/datatypes/Facets/duration/duration_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_exclusive004_1122_duration_min_exclusive004_1122_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=P1Y1MT1H and facet=maxInclusive and value=P2Y3MT2H) and document
    value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minExclusive004.xsd",
        instance="msData/datatypes/Facets/duration/duration_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_exclusive003_1121_duration_min_exclusive003_1121_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=P1Y1MT1H
    and document value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minExclusive003.xsd",
        instance="msData/datatypes/Facets/duration/duration_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_inclusive005_1118_duration_min_inclusive005_1118_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=P1Y1MT1H and facet=maxExclusive and value=P2Y3MT2H) and document
    value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minInclusive005.xsd",
        instance="msData/datatypes/Facets/duration/duration_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_inclusive004_1117_duration_min_inclusive004_1117_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=P1Y1MT1H and facet=maxInclusive and value=P2Y3MT2H) and document
    value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minInclusive004.xsd",
        instance="msData/datatypes/Facets/duration/duration_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_inclusive003_1116_duration_min_inclusive003_1116_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=P1Y1MT1H
    and document value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minInclusive003.xsd",
        instance="msData/datatypes/Facets/duration/duration_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_inclusive001_1114_duration_min_inclusive001_1114_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=P1Y1MT1H
    and document value=P1Y1MT1H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minInclusive001.xsd",
        instance="msData/datatypes/Facets/duration/duration_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_max_exclusive003_1113_duration_max_exclusive003_1113_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=P2Y3MT2H
    and document value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/duration/duration_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_max_inclusive003_1110_duration_max_inclusive003_1110_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=P2Y3MT2H
    and document value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/duration/duration_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_max_inclusive001_1108_duration_max_inclusive001_1108_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=P1Y1MT1H
    and document value=P1Y1MT1H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/duration/duration_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_enumeration004_1107_duration_enumeration004_1107_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=P1347Y
    P1347M P1Y2MT2H and document value=P1347Y
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_enumeration004.xsd",
        instance="msData/datatypes/Facets/duration/duration_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_enumeration002_1105_duration_enumeration002_1105_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=P1347Y
    and document value=P1347Y
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_enumeration002.xsd",
        instance="msData/datatypes/Facets/duration/duration_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_pattern001_1103_duration_pattern001_1103_v(mode, save_output, output_format):
    r"""
    TEST :Facet Schemas for string : facet=pattern and
    value=P\p{Nd}{1,4}Y\p{Nd}{1,2}MT\p{Nd}{1,2}H and document
    value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_pattern001.xsd",
        instance="msData/datatypes/Facets/duration/duration_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_exclusive005_1102_double_min_exclusive005_1102_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minExclusive005.xsd",
        instance="msData/datatypes/Facets/double/double_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_exclusive004_1101_double_min_exclusive004_1101_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minExclusive004.xsd",
        instance="msData/datatypes/Facets/double/double_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_exclusive003_1100_double_min_exclusive003_1100_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minExclusive003.xsd",
        instance="msData/datatypes/Facets/double/double_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_inclusive005_1097_double_min_inclusive005_1097_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minInclusive005.xsd",
        instance="msData/datatypes/Facets/double/double_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_inclusive004_1096_double_min_inclusive004_1096_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minInclusive004.xsd",
        instance="msData/datatypes/Facets/double/double_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_inclusive003_1095_double_min_inclusive003_1095_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minInclusive003.xsd",
        instance="msData/datatypes/Facets/double/double_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_inclusive001_1093_double_min_inclusive001_1093_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minInclusive001.xsd",
        instance="msData/datatypes/Facets/double/double_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_max_exclusive003_1092_double_max_exclusive003_1092_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/double/double_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_max_inclusive003_1089_double_max_inclusive003_1089_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/double/double_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_max_inclusive001_1087_double_max_inclusive001_1087_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/double/double_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_enumeration004_1086_double_enumeration004_1086_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 3.14
    2.718 and document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_enumeration004.xsd",
        instance="msData/datatypes/Facets/double/double_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_enumeration002_1084_double_enumeration002_1084_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_enumeration002.xsd",
        instance="msData/datatypes/Facets/double/double_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_pattern001_1082_double_pattern001_1082_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{0,2}.[0-9]{0,2} and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_pattern001.xsd",
        instance="msData/datatypes/Facets/double/double_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_exclusive005_1081_float_min_exclusive005_1081_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minExclusive005.xsd",
        instance="msData/datatypes/Facets/float/float_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_exclusive004_1080_float_min_exclusive004_1080_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minExclusive004.xsd",
        instance="msData/datatypes/Facets/float/float_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_exclusive003_1079_float_min_exclusive003_1079_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minExclusive003.xsd",
        instance="msData/datatypes/Facets/float/float_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_inclusive005_1076_float_min_inclusive005_1076_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minInclusive005.xsd",
        instance="msData/datatypes/Facets/float/float_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_inclusive004_1075_float_min_inclusive004_1075_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minInclusive004.xsd",
        instance="msData/datatypes/Facets/float/float_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_inclusive003_1074_float_min_inclusive003_1074_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minInclusive003.xsd",
        instance="msData/datatypes/Facets/float/float_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_inclusive001_1072_float_min_inclusive001_1072_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minInclusive001.xsd",
        instance="msData/datatypes/Facets/float/float_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_max_exclusive003_1071_float_max_exclusive003_1071_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/float/float_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_max_inclusive003_1068_float_max_inclusive003_1068_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/float/float_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_max_inclusive001_1066_float_max_inclusive001_1066_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/float/float_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_enumeration004_1065_float_enumeration004_1065_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 3.14
    2.718 and document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_enumeration004.xsd",
        instance="msData/datatypes/Facets/float/float_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_enumeration002_1063_float_enumeration002_1063_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_enumeration002.xsd",
        instance="msData/datatypes/Facets/float/float_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_pattern001_1061_float_pattern001_1061_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{0,2}.[0-9]{0,2} and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_pattern001.xsd",
        instance="msData/datatypes/Facets/float/float_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_total_digits004_1060_decimal_total_digits004_1060_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : XSD: totalDigits calculartion for
    xs:decimal
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_totalDigits004.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_totalDigits004.xml",
        class_name="T1",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_total_digits003_1059_decimal_total_digits003_1059_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=totalDigits and value=4 and
    document value=123
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_totalDigits003.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_totalDigits003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_total_digits002_1058_decimal_total_digits002_1058_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=totalDigits and value=3 and
    document value=123
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_totalDigits002.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_totalDigits002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_exclusive005_1056_decimal_min_exclusive005_1056_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minExclusive005.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_exclusive004_1055_decimal_min_exclusive004_1055_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minExclusive004.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_exclusive003_1054_decimal_min_exclusive003_1054_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minExclusive003.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_inclusive005_1051_decimal_min_inclusive005_1051_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minInclusive005.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_inclusive004_1050_decimal_min_inclusive004_1050_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minInclusive004.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_inclusive003_1049_decimal_min_inclusive003_1049_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minInclusive003.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_inclusive001_1047_decimal_min_inclusive001_1047_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minInclusive001.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_max_exclusive003_1046_decimal_max_exclusive003_1046_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_max_inclusive003_1043_decimal_max_inclusive003_1043_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_max_inclusive001_1041_decimal_max_inclusive001_1041_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_enumeration004_1040_decimal_enumeration004_1040_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 3.14
    2.718 and document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_enumeration004.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_enumeration002_1038_decimal_enumeration002_1038_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_enumeration002.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_pattern001_1036_decimal_pattern001_1036_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{0,2}.[0-9]{0,2} and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_pattern001.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_enumeration004_1035_string_enumeration004_1035_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=foo 123
    foo123 and document value=foo
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_enumeration004.xsd",
        instance="msData/datatypes/Facets/string/string_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_enumeration002_1033_string_enumeration002_1033_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=foo and
    document value=foo
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_enumeration002.xsd",
        instance="msData/datatypes/Facets/string/string_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_pattern001_1030_string_pattern001_1030_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and value=[a-z]{3} and
    document value=abc
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_pattern001.xsd",
        instance="msData/datatypes/Facets/string/string_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_max_length003_1029_string_max_length003_1029_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxLength and value=6 and
    document value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_maxLength003.xsd",
        instance="msData/datatypes/Facets/string/string_maxLength003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_max_length002_1028_string_max_length002_1028_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxLength and value=5 and
    document value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_maxLength002.xsd",
        instance="msData/datatypes/Facets/string/string_maxLength002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_min_length004_1026_string_min_length004_1026_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minLength and value=4 and
    facet=maxLength and value=6) and document value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_minLength004.xsd",
        instance="msData/datatypes/Facets/string/string_minLength004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_min_length002_1024_string_min_length002_1024_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minLength and value=5 and
    document value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_minLength002.xsd",
        instance="msData/datatypes/Facets/string/string_minLength002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_min_length001_1023_string_min_length001_1023_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minLength and value=4 and
    document value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_minLength001.xsd",
        instance="msData/datatypes/Facets/string/string_minLength001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_length002_1021_string_length002_1021_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=length and value=5 and document
    value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_length002.xsd",
        instance="msData/datatypes/Facets/string/string_length002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z029_elem_z029_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: an element can have a default value constraints and
    xsi:nil=true
    """
    assert_bindings(
        schema="msData/element/elemZ029.xsd",
        instance="msData/element/elemZ029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700g2_qfe1700g2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : G2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700g.xsd",
        instance="msData/element/QFE1700g2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700f2_qfe1700f2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : F2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700f.xsd",
        instance="msData/element/QFE1700f2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700f1_qfe1700f1_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : F1:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700f.xsd",
        instance="msData/element/QFE1700f1.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700e2_qfe1700e2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : E2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700e.xsd",
        instance="msData/element/QFE1700e2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700e1_qfe1700e1_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : E1:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700e.xsd",
        instance="msData/element/QFE1700e1.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700c2_qfe1700c2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : C2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700c.xsd",
        instance="msData/element/QFE1700c2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700b2_qfe1700b2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : B2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700b.xsd",
        instance="msData/element/QFE1700b2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700b1_qfe1700b1_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : B1:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700b.xsd",
        instance="msData/element/QFE1700b1.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700a3_qfe1700a3_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : A3:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700a.xsd",
        instance="msData/element/QFE1700a3.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700a2_qfe1700a2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : A2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700a.xsd",
        instance="msData/element/QFE1700a2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700a1_qfe1700a1_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : A1:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700a.xsd",
        instance="msData/element/QFE1700a1.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z022b_elem_z022b_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: Wildcard prohibited element through a
    substitutionGroup(2)
    """
    assert_bindings(
        schema="msData/element/test115478_b.xsd",
        instance="msData/element/test115478_b.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z021e_elem_z021e_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: member of substitutionGroup and local particle with
    the same qualified name (5)
    """
    assert_bindings(
        schema="msData/element/test115044_3.xsd",
        instance="msData/element/test115044_a.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z021d_elem_z021d_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: member of substitutionGroup and local particle with
    the same qualified name (4)
    """
    assert_bindings(
        schema="msData/element/test115044_2.xsd",
        instance="msData/element/test115044_b.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z021c_elem_z021c_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: member of substitutionGroup and local particle with
    the same qualified name (3)
    """
    assert_bindings(
        schema="msData/element/test115044_2.xsd",
        instance="msData/element/test115044_a.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z021a_elem_z021a_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: member of substitutionGroup and local particle with
    the same qualified name (1)
    """
    assert_bindings(
        schema="msData/element/test115044_1.xsd",
        instance="msData/element/test115044_a.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z020_elem_z020_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : xsd: when substitutionGroup exists, we shold not change
    content model as if it is a choice
    """
    assert_bindings(
        schema="msData/element/elemZ020.xsd",
        instance="msData/element/elemZ020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z019_elem_z019_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: Namespace URIs should not be canonicalized if they
    are GUIDs, XDR uses this GUID for datatype declarations
    """
    assert_bindings(
        schema="msData/element/elemZ019.xsd",
        instance="msData/element/elemZ019.xml",
        class_name="Series",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z018_elem_z018_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Schema with deep nested nodes (>14 nested levels)
    """
    assert_bindings(
        schema="msData/element/elemZ018.xsd",
        instance="msData/element/elemZ018.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z016_elem_z016_i(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : xsd: element with childNodes typed=ID, dupe ID should be
    invalid. Becomes valid in XSD 1.1 (two child elements of type xs:ID
    are permitted if the ID is the same)
    """
    assert_bindings(
        schema="msData/element/elemZ016.xsd",
        instance="msData/element/elemZ016.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z014_elem_z014_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : xsi:type references and namespace alias for parent
    element
    """
    assert_bindings(
        schema="msData/element/elemZ014.xsd",
        instance="msData/element/elemZ014.xml",
        class_name="RootElem",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z010_elem_z010_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Components in A may be indirectly using components from
    C. Lets assume that a type declared in B derives from one in C (which
    is possible because B imports C). Document A can declare elements
    using that type because it includes B. Such use obviously involves
    information from the base type in C as will as the explicit reference
    in B.
    """
    assert_bindings(
        schema="msData/element/elemZ010.xsd",
        instance="msData/element/elemZ010.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z009_elem_z009_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Components in A may be indirectly using components from
    C. Lets assume that a type declared in B derives from one in C (which
    is possible because B imports C). Document A can declare elements
    using that type because it includes B. Such use obviously involves
    information from the base type in C as will as the explicit reference
    in B.
    """
    assert_bindings(
        schema="msData/element/elemZ009.xsd",
        instance="msData/element/elemZ009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z003_elem_z003_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : 72898 - subsitutionGroup with deep chains
    """
    assert_bindings(
        schema="msData/element/elemZ003.xsd",
        instance="msData/element/elemZ003.xml",
        class_name="Container",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z002_elem_z002_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : 67493 - xsd: xsi:type should allowed predefined types as
    valid value.
    """
    assert_bindings(
        schema="msData/element/elemZ002.xsd",
        instance="msData/element/elemZ002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z001_elem_z001_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : 81682 - Element with xsi:nil value set to true and
    xsi:type value
    """
    assert_bindings(
        schema="msData/element/elemZ001.xsd",
        instance="msData/element/elemZ001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u024_elem_u024_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "(ab){2}x"
    """
    assert_bindings(
        schema="msData/element/elemU024.xsd",
        instance="msData/element/elemU024.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u023_elem_u023_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "ab{2,}x"
    """
    assert_bindings(
        schema="msData/element/elemU023.xsd",
        instance="msData/element/elemU023.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u022_elem_u022_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "ab{2,4}x"
    """
    assert_bindings(
        schema="msData/element/elemU022.xsd",
        instance="msData/element/elemU022.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u021_elem_u021_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "ab{2}x"
    """
    assert_bindings(
        schema="msData/element/elemU021.xsd",
        instance="msData/element/elemU021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u020_elem_u020_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string ".*abc.*"
    """
    assert_bindings(
        schema="msData/element/elemU020.xsd",
        instance="msData/element/elemU020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u019_elem_u019_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string ".x"
    """
    assert_bindings(
        schema="msData/element/elemU019.xsd",
        instance="msData/element/elemU019.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u018_elem_u018_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\Dx"
    """
    assert_bindings(
        schema="msData/element/elemU018.xsd",
        instance="msData/element/elemU018.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u017_elem_u017_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "[^0-9]x"
    """
    assert_bindings(
        schema="msData/element/elemU017.xsd",
        instance="msData/element/elemU017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u015_elem_u015_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "[ae-]x"
    """
    assert_bindings(
        schema="msData/element/elemU015.xsd",
        instance="msData/element/elemU015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u014_elem_u014_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "[-ae]x"
    """
    assert_bindings(
        schema="msData/element/elemU014.xsd",
        instance="msData/element/elemU014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u013_elem_u013_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "[a-e]x"
    """
    assert_bindings(
        schema="msData/element/elemU013.xsd",
        instance="msData/element/elemU013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u012_elem_u012_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "[abcde]x"
    """
    assert_bindings(
        schema="msData/element/elemU012.xsd",
        instance="msData/element/elemU012.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u011_elem_u011_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "(a|b)+x"
    """
    assert_bindings(
        schema="msData/element/elemU011.xsd",
        instance="msData/element/elemU011.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u010_elem_u010_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "a+x"
    """
    assert_bindings(
        schema="msData/element/elemU010.xsd",
        instance="msData/element/elemU010.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u009_elem_u009_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "a?x"
    """
    assert_bindings(
        schema="msData/element/elemU009.xsd",
        instance="msData/element/elemU009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u008_elem_u008_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "a*x"
    """
    assert_bindings(
        schema="msData/element/elemU008.xsd",
        instance="msData/element/elemU008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u007_elem_u007_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\P{IsGreek}"
    """
    assert_bindings(
        schema="msData/element/elemU007.xsd",
        instance="msData/element/elemU007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u006_elem_u006_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\p{IsGreek}"
    """
    assert_bindings(
        schema="msData/element/elemU006.xsd",
        instance="msData/element/elemU006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u005_elem_u005_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\p{Lu}"
    """
    assert_bindings(
        schema="msData/element/elemU005.xsd",
        instance="msData/element/elemU005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u004_elem_u004_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string
    "Espan&#xF1;ola"
    """
    assert_bindings(
        schema="msData/element/elemU004.xsd",
        instance="msData/element/elemU004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u003_elem_u003_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\s\w"
    """
    assert_bindings(
        schema="msData/element/elemU003.xsd",
        instance="msData/element/elemU003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u002_elem_u002_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\s\d"
    """
    assert_bindings(
        schema="msData/element/elemU002.xsd",
        instance="msData/element/elemU002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u001_elem_u001_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\d"
    """
    assert_bindings(
        schema="msData/element/elemU001.xsd",
        instance="msData/element/elemU001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t073_elem_t073_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=Union-AB, block=extension, and instant
    XMLhas xsi:type=A type derived from a type in the Union
    """
    assert_bindings(
        schema="msData/element/elemT073.xsd",
        instance="msData/element/elemT073.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t072_elem_t072_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=Union-AB, block=absent, and instant XMLhas
    xsi:type=A type derived from a type in the Union
    """
    assert_bindings(
        schema="msData/element/elemT072.xsd",
        instance="msData/element/elemT072.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t071_elem_t071_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=Union-A, block=absent, and instant XMLhas
    xsi:type=A type derived from a type in the Union
    """
    assert_bindings(
        schema="msData/element/elemT071.xsd",
        instance="msData/element/elemT071.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t067_elem_t067_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=A, block="extension", and instant XMLhas
    xsi:type=a substitution group with ur-type
    """
    assert_bindings(
        schema="msData/element/elemT067.xsd",
        instance="msData/element/elemT067.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t066_elem_t066_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=A, block="extension", and instant XMLhas
    xsi:type=a substitution group with type=restriction of A
    """
    assert_bindings(
        schema="msData/element/elemT066.xsd",
        instance="msData/element/elemT066.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t064_elem_t064_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=A, block="restriction", and instant XMLhas
    xsi:type=a substitution group with ur-type
    """
    assert_bindings(
        schema="msData/element/elemT064.xsd",
        instance="msData/element/elemT064.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t062_elem_t062_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=A, block="restriction", and instant XMLhas
    xsi:type=a substitution group with type=extension of A
    """
    assert_bindings(
        schema="msData/element/elemT062.xsd",
        instance="msData/element/elemT062.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t058_elem_t058_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : several elements with different blocks and valid instance
    """
    assert_bindings(
        schema="msData/element/elemT058.xsd",
        instance="msData/element/elemT058.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t044_elem_t044_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=simpleType A, block="#all", and instant
    XMLhas xsi:type=A
    """
    assert_bindings(
        schema="msData/element/elemT044.xsd",
        instance="msData/element/elemT044.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t043_elem_t043_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=ur-Type, block="extension", and instant
    XMLhas xsi:type=List of the Union of simpleType A and B
    """
    assert_bindings(
        schema="msData/element/elemT043.xsd",
        instance="msData/element/elemT043.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t042_elem_t042_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=ur-Type, block="extension", and instant
    XMLhas xsi:type=List of simpleType A
    """
    assert_bindings(
        schema="msData/element/elemT042.xsd",
        instance="msData/element/elemT042.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t041_elem_t041_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=ur-Type, block="extension", and instant
    XMLhas xsi:type=union of simpleType A and B
    """
    assert_bindings(
        schema="msData/element/elemT041.xsd",
        instance="msData/element/elemT041.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t040_elem_t040_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=ur-Type, block="extension", and instant
    XMLhas xsi:type=union of simpleType A
    """
    assert_bindings(
        schema="msData/element/elemT040.xsd",
        instance="msData/element/elemT040.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t038_elem_t038_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=complexType A, block="extension", and
    instant XMLhas xsi:type=restriction of A
    """
    assert_bindings(
        schema="msData/element/elemT038.xsd",
        instance="msData/element/elemT038.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t032_elem_t032_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=simpleType A, block="extension", and instant
    XMLhas xsi:type=restriction of A
    """
    assert_bindings(
        schema="msData/element/elemT032.xsd",
        instance="msData/element/elemT032.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t030_elem_t030_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=simpleType A, block="extension", and instant
    XMLhas xsi:type=A
    """
    assert_bindings(
        schema="msData/element/elemT030.xsd",
        instance="msData/element/elemT030.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t025_elem_t025_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=complexType A, block="restriction", and
    instant XMLhas xsi:type=extension of A
    """
    assert_bindings(
        schema="msData/element/elemT025.xsd",
        instance="msData/element/elemT025.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t016_elem_t016_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=simpleType A, block="restriction", and
    instant XMLhas xsi:type=A
    """
    assert_bindings(
        schema="msData/element/elemT016.xsd",
        instance="msData/element/elemT016.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t015_elem_t015_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : schema with block="#all" and, element with block="", a
    list used in instant XML
    """
    assert_bindings(
        schema="msData/element/elemT015.xsd",
        instance="msData/element/elemT015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t014_elem_t014_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : schema with block="#all" and, element with block="", a
    union used in instant XML
    """
    assert_bindings(
        schema="msData/element/elemT014.xsd",
        instance="msData/element/elemT014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t008_elem_t008_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with Element with block="" and a subsitution of
    a derivation by extension
    """
    assert_bindings(
        schema="msData/element/elemT008.xsd",
        instance="msData/element/elemT008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t007_elem_t007_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with Element with block="" and a subsitution of
    a derivation by restriction
    """
    assert_bindings(
        schema="msData/element/elemT007.xsd",
        instance="msData/element/elemT007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t003_elem_t003_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with Element with block=extension and a
    subsitution of a derivation by restriction
    """
    assert_bindings(
        schema="msData/element/elemT003.xsd",
        instance="msData/element/elemT003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t002_elem_t002_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with Element with block=restriction and a
    subsitution of a derivation by extension
    """
    assert_bindings(
        schema="msData/element/elemT002.xsd",
        instance="msData/element/elemT002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_s008_elem_s008_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element with final='' and an element affliation by
    extension
    """
    assert_bindings(
        schema="msData/element/elemS008.xsd",
        instance="msData/element/elemS008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_s007_elem_s007_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element with final='' and an element affliation by
    restriction
    """
    assert_bindings(
        schema="msData/element/elemS007.xsd",
        instance="msData/element/elemS007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_s003_elem_s003_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element with final=extension and an element affliation by
    restriction
    """
    assert_bindings(
        schema="msData/element/elemS003.xsd",
        instance="msData/element/elemS003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_s002_elem_s002_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element with final=restriction and an element affliation
    by extension
    """
    assert_bindings(
        schema="msData/element/elemS002.xsd",
        instance="msData/element/elemS002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_r005_elem_r005_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Valid Document for Element with schema's
    elementFormDefault=qualified and default qualified elements
    """
    assert_bindings(
        schema="msData/element/elemR005.xsd",
        instance="msData/element/elemR005.xml",
        class_name="PurchaseOrder",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_r004_elem_r004_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Valid Document for Element with schema's
    elementFormDefault=qualified and explicitly qualified elements
    """
    assert_bindings(
        schema="msData/element/elemR004.xsd",
        instance="msData/element/elemR004.xml",
        class_name="PurchaseOrder",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_r002_elem_r002_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Valid Document for Element with form=qualified and
    default qualified elements
    """
    assert_bindings(
        schema="msData/element/elemR002.xsd",
        instance="msData/element/elemR002.xml",
        class_name="PurchaseOrder",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_r001_elem_r001_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Valid Document for Element with form=qualified and
    explicitly qualified elements
    """
    assert_bindings(
        schema="msData/element/elemR001.xsd",
        instance="msData/element/elemR001.xml",
        class_name="PurchaseOrder",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q022_elem_q022_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with default=Hello andDocument contains nothing
    """
    assert_bindings(
        schema="msData/element/elemQ022.xsd",
        instance="msData/element/elemQ022.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q021_elem_q021_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with default=Hello andDocument contains Hello
    World!
    """
    assert_bindings(
        schema="msData/element/elemQ021.xsd",
        instance="msData/element/elemQ021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q020_elem_q020_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with default=Hello andDocument contains Hello
    """
    assert_bindings(
        schema="msData/element/elemQ020.xsd",
        instance="msData/element/elemQ020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q019_elem_q019_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with fixed=Hello andDocument contains nothing
    """
    assert_bindings(
        schema="msData/element/elemQ019.xsd",
        instance="msData/element/elemQ019.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q017_elem_q017_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with fixed=Hello andDocument contains Hello
    """
    assert_bindings(
        schema="msData/element/elemQ017.xsd",
        instance="msData/element/elemQ017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q015_elem_q015_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with minOccurs = 1 and maxOccurs = unbounded and
    3 occurrences
    """
    assert_bindings(
        schema="msData/element/elemQ015.xsd",
        instance="msData/element/elemQ015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q013_elem_q013_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with minOccurs = 1 and maxOccurs = 2 and 2
    occurrences
    """
    assert_bindings(
        schema="msData/element/elemQ013.xsd",
        instance="msData/element/elemQ013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q011_elem_q011_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with minOccurs = 1 and 1 occurrence
    """
    assert_bindings(
        schema="msData/element/elemQ011.xsd",
        instance="msData/element/elemQ011.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q008_elem_q008_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with default maxOccurs and 1 occurrence
    """
    assert_bindings(
        schema="msData/element/elemQ008.xsd",
        instance="msData/element/elemQ008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o012_elem_o012_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with nillable = false
    """
    assert_bindings(
        schema="msData/element/elemO012.xsd",
        instance="msData/element/elemO012.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o009_elem_o009_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with nillable = true
    """
    assert_bindings(
        schema="msData/element/elemO009.xsd",
        instance="msData/element/elemO009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o008_elem_o008_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with nillable = true andDocument's
    null = false in xml
    """
    assert_bindings(
        schema="msData/element/elemO008.xsd",
        instance="msData/element/elemO008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o006_elem_o006_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with nillable = true in xsd
    andDocument's nil = true in xml
    """
    assert_bindings(
        schema="msData/element/elemO006.xsd",
        instance="msData/element/elemO006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o005_elem_o005_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with anonymous complexType, no type
    on element
    """
    assert_bindings(
        schema="msData/element/elemO005.xsd",
        instance="msData/element/elemO005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o004_elem_o004_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with complexType
    """
    assert_bindings(
        schema="msData/element/elemO004.xsd",
        instance="msData/element/elemO004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o003_elem_o003_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with anonymous simpleType, no type
    on element
    """
    assert_bindings(
        schema="msData/element/elemO003.xsd",
        instance="msData/element/elemO003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o002_elem_o002_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with simpleType
    """
    assert_bindings(
        schema="msData/element/elemO002.xsd",
        instance="msData/element/elemO002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_e008_err_e008_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E2-17 Error: Do not allow carriage return in
    token values
    """
    assert_bindings(
        schema="msData/errata10/errE008.xsd",
        instance="msData/errata10/errE008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_e006_err_e006_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E2-22 Clarification: test date, gYearMonth,
    gMonthDay, gDay, gMonth and gYear permit an optional, trailing time
    zone specification.
    """
    assert_bindings(
        schema="msData/errata10/errE006.xsd",
        instance="msData/errata10/errE006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_e003_err_e003_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E2-25 Error: test support for the new language
    pattern ([a-zA-Z]{1,8})-([a-zA-Z0-9]{1,8})*
    """
    assert_bindings(
        schema="msData/errata10/errE003.xsd",
        instance="msData/errata10/errE003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_e002_err_e002_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E2-27 Error: test that nonNegativeIntegers
    support a '-' on zero
    """
    assert_bindings(
        schema="msData/errata10/errE002.xsd",
        instance="msData/errata10/errE002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_e001_err_e001_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E2-27 Error: test that nonPositiveIntegers
    support a '+' on zero
    """
    assert_bindings(
        schema="msData/errata10/errE001.xsd",
        instance="msData/errata10/errE001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_c007_err_c007_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E1-22 Error: R-117 Process contents for ur-type
    need to be lax
    """
    assert_bindings(
        schema="msData/errata10/errC007.xsd",
        instance="msData/errata10/errC007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_c001_err_c001_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E1-40 Clarification: test that anySimpleType
    whitespace normalization is set to preserve
    """
    assert_bindings(
        schema="msData/errata10/errC001.xsd",
        instance="msData/errata10/errC001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_a003_err_a003_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E0-15 Error, E2-12 Error: test lexical
    representation of gMonth
    """
    assert_bindings(
        schema="msData/errata10/errA003.xsd",
        instance="msData/errata10/errA003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_a001_err_a001_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E0-23 Clarification: test that facet
    fractionDigits can be added to all numeric datatypes as long as value
    is 0 (except for decimal which takes any value)
    """
    assert_bindings(
        schema="msData/errata10/errA001.xsd",
        instance="msData/errata10/errA001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_o008v_group_o008v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test content: annotation follow by
    sequence
    """
    assert_bindings(
        schema="msData/group/groupO008.xsd",
        instance="msData/group/groupO008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_o006v_group_o006v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test content: annotation follow by
    choice
    """
    assert_bindings(
        schema="msData/group/groupO006.xsd",
        instance="msData/group/groupO006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_o004v_group_o004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test content: annotation follow by
    all
    """
    assert_bindings(
        schema="msData/group/groupO004.xsd",
        instance="msData/group/groupO004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n021v_group_n021v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=3, maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/group/groupN021.xsd",
        instance="msData/group/groupN021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n018v_group_n018v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=2, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupN018.xsd",
        instance="msData/group/groupN018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n017v_group_n017v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=1, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupN017.xsd",
        instance="msData/group/groupN017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n014v_group_n014v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=1, minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupN014.xsd",
        instance="msData/group/groupN014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n011v_group_n011v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=1, minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupN011.xsd",
        instance="msData/group/groupN011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n009v_group_n009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=0, minOccurs=0, maxOccurs=999999999
    """
    assert_bindings(
        schema="msData/group/groupN009.xsd",
        instance="msData/group/groupN009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n007v_group_n007v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=0, minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/group/groupN007.xsd",
        instance="msData/group/groupN007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n005v_group_n005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=1, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupN005.xsd",
        instance="msData/group/groupN005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n004v_group_n004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=0, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupN004.xsd",
        instance="msData/group/groupN004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n002v_group_n002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=1, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupN002.xsd",
        instance="msData/group/groupN002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n001v_group_n001v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=0, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupN001.xsd",
        instance="msData/group/groupN001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_m004v_group_m004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: check that
    minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupM004.xsd",
        instance="msData/group/groupM004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l021v_group_l021v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=3, maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/group/groupL021.xsd",
        instance="msData/group/groupL021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l018v_group_l018v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=2, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupL018.xsd",
        instance="msData/group/groupL018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l017v_group_l017v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=1, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupL017.xsd",
        instance="msData/group/groupL017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l014v_group_l014v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=1, minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupL014.xsd",
        instance="msData/group/groupL014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l011v_group_l011v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=1, minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupL011.xsd",
        instance="msData/group/groupL011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l009v_group_l009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=0, minOccurs=0, maxOccurs=999999999
    """
    assert_bindings(
        schema="msData/group/groupL009.xsd",
        instance="msData/group/groupL009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l007_group_l007_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=0, minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/group/groupL007.xsd",
        instance="msData/group/groupL007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l005v_group_l005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=1, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupL005.xsd",
        instance="msData/group/groupL005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l004v_group_l004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=0, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupL004.xsd",
        instance="msData/group/groupL004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l002v_group_l002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=1, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupL002.xsd",
        instance="msData/group/groupL002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l001v_group_l001v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=0, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupL001.xsd",
        instance="msData/group/groupL001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_k004v_group_k004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: check that
    minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupK004.xsd",
        instance="msData/group/groupK004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j021v_group_j021v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=3, maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/group/groupJ021.xsd",
        instance="msData/group/groupJ021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j018v_group_j018v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=2, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupJ018.xsd",
        instance="msData/group/groupJ018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j017v_group_j017v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=1, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupJ017.xsd",
        instance="msData/group/groupJ017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j014v_group_j014v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=1, minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupJ014.xsd",
        instance="msData/group/groupJ014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j011v_group_j011v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=1, minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupJ011.xsd",
        instance="msData/group/groupJ011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j009v_group_j009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=0, minOccurs=0, maxOccurs=99999999999
    """
    assert_bindings(
        schema="msData/group/groupJ009.xsd",
        instance="msData/group/groupJ009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j007v_group_j007v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=0, minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/group/groupJ007.xsd",
        instance="msData/group/groupJ007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j005v_group_j005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=1, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupJ005.xsd",
        instance="msData/group/groupJ005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j004v_group_j004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=0, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupJ004.xsd",
        instance="msData/group/groupJ004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j002v_group_j002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=1, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupJ002.xsd",
        instance="msData/group/groupJ002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j001v_group_j001v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=0, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupJ001.xsd",
        instance="msData/group/groupJ001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_i004v_group_i004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: check that
    minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupI004.xsd",
        instance="msData/group/groupI004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h018v_group_h018v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=2, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupH018.xsd",
        instance="msData/group/groupH018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h017v_group_h017v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=1, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupH017.xsd",
        instance="msData/group/groupH017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h014v_group_h014v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=1, minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupH014.xsd",
        instance="msData/group/groupH014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h011v_group_h011v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=1, minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupH011.xsd",
        instance="msData/group/groupH011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h009v_group_h009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=0, minOccurs=0, maxOccurs=999999999999999
    """
    assert_bindings(
        schema="msData/group/groupH009.xsd",
        instance="msData/group/groupH009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h005v_group_h005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=1, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupH005.xsd",
        instance="msData/group/groupH005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h004v_group_h004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=0, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupH004.xsd",
        instance="msData/group/groupH004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h002v_group_h002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=1, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupH002.xsd",
        instance="msData/group/groupH002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h001v_group_h001v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=0, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupH001.xsd",
        instance="msData/group/groupH001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_g004v_group_g004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: check that
    minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupG004.xsd",
        instance="msData/group/groupG004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f021v_group_f021v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=3, maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/group/groupF021.xsd",
        instance="msData/group/groupF021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f018v_group_f018v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=2, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupF018.xsd",
        instance="msData/group/groupF018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f017v_group_f017v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=1, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupF017.xsd",
        instance="msData/group/groupF017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f014v_group_f014v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=1, minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupF014.xsd",
        instance="msData/group/groupF014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f011v_group_f011v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=1, minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupF011.xsd",
        instance="msData/group/groupF011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f009v_group_f009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=0, minOccurs=0, maxOccurs=999999999999999999999
    """
    assert_bindings(
        schema="msData/group/groupF009.xsd",
        instance="msData/group/groupF009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f007v_group_f007v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=0, minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/group/groupF007.xsd",
        instance="msData/group/groupF007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f005v_group_f005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=1, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupF005.xsd",
        instance="msData/group/groupF005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f004v_group_f004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=0, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupF004.xsd",
        instance="msData/group/groupF004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f002v_group_f002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=1, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupF002.xsd",
        instance="msData/group/groupF002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f001v_group_f001v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=0, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupF001.xsd",
        instance="msData/group/groupF001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_e004v_group_e004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: check that
    minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupE004.xsd",
        instance="msData/group/groupE004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b010v_group_b010v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is extension,
    ref='global group from included xsd"
    """
    assert_bindings(
        schema="msData/group/groupB010.xsd",
        instance="msData/group/groupB010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b009v_group_b009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is extension,
    ref='global group from imported xsd"
    """
    assert_bindings(
        schema="msData/group/groupB009.xsd",
        instance="msData/group/groupB009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b006v_group_b006v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is complexType,
    ref='global group'
    """
    assert_bindings(
        schema="msData/group/groupB006.xsd",
        instance="msData/group/groupB006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b005v_group_b005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is choice,
    ref='global group'
    """
    assert_bindings(
        schema="msData/group/groupB005.xsd",
        instance="msData/group/groupB005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b004v_group_b004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is sequence,
    ref='global group'
    """
    assert_bindings(
        schema="msData/group/groupB004.xsd",
        instance="msData/group/groupB004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b003v_group_b003v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is restriction,
    ref='global group'
    """
    assert_bindings(
        schema="msData/group/groupB003.xsd",
        instance="msData/group/groupB003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b002v_group_b002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is extension,
    ref='global group'
    """
    assert_bindings(
        schema="msData/group/groupB002.xsd",
        instance="msData/group/groupB002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_z007_id_z007_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Values of
    simple types derived from built-in types should always be comparable
    """
    assert_bindings(
        schema="msData/identityConstraint/idZ007.xsd",
        instance="msData/identityConstraint/idZ007.xml",
        class_name="NewDataSet",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_z006_id_z006_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : test
    Validation of keys when more than one key is defined
    """
    assert_bindings(
        schema="msData/identityConstraint/idZ006.xsd",
        instance="msData/identityConstraint/idZ006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_z005_id_z005_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : test
    Validation of keys when more than one key is defined
    """
    assert_bindings(
        schema="msData/identityConstraint/idZ005.xsd",
        instance="msData/identityConstraint/idZ005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l102_id_l102_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='@ncname:*' , selector contains qname |
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL102.xsd",
        instance="msData/identityConstraint/idL102.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l098_id_l098_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='@qname' , selector contains qname |
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL098.xsd",
        instance="msData/identityConstraint/idL098.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l096_id_l096_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='ncname:*' , selector contains qname |
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL096.xsd",
        instance="msData/identityConstraint/idL096.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l094_id_l094_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='*' , selector contains qname | qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL094.xsd",
        instance="msData/identityConstraint/idL094.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l092_id_l092_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='qname' , selector contains qname |
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL092.xsd",
        instance="msData/identityConstraint/idL092.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l090_id_l090_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='.' , selector contains qname | qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL090.xsd",
        instance="msData/identityConstraint/idL090.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l088_id_l088_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='@ncname:* ; qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL088.xsd",
        instance="msData/identityConstraint/idL088.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l086_id_l086_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='@* ; qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL086.xsd",
        instance="msData/identityConstraint/idL086.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l084_id_l084_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='@qname ; qname1' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL084.xsd",
        instance="msData/identityConstraint/idL084.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l082_id_l082_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='ncname:* ; qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL082.xsd",
        instance="msData/identityConstraint/idL082.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l078_id_l078_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='qname ; qname1' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL078.xsd",
        instance="msData/identityConstraint/idL078.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l077a_id_l077_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='. ; qname' , selector contains *
    Resolution pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idL077.xsd",
        instance="msData/identityConstraint/idL077.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l077_id_l077_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='. ; qname' , selector contains *
    Resolution pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idL077.xsd",
        instance="msData/identityConstraint/idL077.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l076a_id_l076_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='. ; qname' , selector contains *
    Resolution pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idL076.xsd",
        instance="msData/identityConstraint/idL076.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l076_id_l076_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='. ; qname' , selector contains *
    Resolution pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idL076.xsd",
        instance="msData/identityConstraint/idL076.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l074_id_l074_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='attribute::ncname:*' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL074.xsd",
        instance="msData/identityConstraint/idL074.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l073_id_l073_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='@ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL073.xsd",
        instance="msData/identityConstraint/idL073.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l071_id_l071_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='attribute::*' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL071.xsd",
        instance="msData/identityConstraint/idL071.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l070_id_l070_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='@*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL070.xsd",
        instance="msData/identityConstraint/idL070.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l068_id_l068_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='attribute::qname' , selector
    contains .//qname1/qname2
    """
    assert_bindings(
        schema="msData/identityConstraint/idL068.xsd",
        instance="msData/identityConstraint/idL068.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l067_id_l067_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='attribute::qname' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL067.xsd",
        instance="msData/identityConstraint/idL067.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l066_id_l066_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='@qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL066.xsd",
        instance="msData/identityConstraint/idL066.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l064_id_l064_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='child::ncname:*' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL064.xsd",
        instance="msData/identityConstraint/idL064.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l063_id_l063_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL063.xsd",
        instance="msData/identityConstraint/idL063.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l060_id_l060_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='child::*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL060.xsd",
        instance="msData/identityConstraint/idL060.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l059_id_l059_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='*' , selector contains .//qname
    """
    assert_bindings(
        schema="msData/identityConstraint/idL059.xsd",
        instance="msData/identityConstraint/idL059.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l058_id_l058_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL058.xsd",
        instance="msData/identityConstraint/idL058.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l055_id_l055_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='.//qname' , selector contains
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL055.xsd",
        instance="msData/identityConstraint/idL055.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l054_id_l054_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='child::qname' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL054.xsd",
        instance="msData/identityConstraint/idL054.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l053_id_l053_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL053.xsd",
        instance="msData/identityConstraint/idL053.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l051_id_l051_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='.' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL051.xsd",
        instance="msData/identityConstraint/idL051.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l049_id_l049_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='attribute::ncname:*' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL049.xsd",
        instance="msData/identityConstraint/idL049.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l048_id_l048_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='@ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL048.xsd",
        instance="msData/identityConstraint/idL048.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l046_id_l046_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='attribute::*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL046.xsd",
        instance="msData/identityConstraint/idL046.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l045_id_l045_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='@*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL045.xsd",
        instance="msData/identityConstraint/idL045.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l043_id_l043_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='attribute::qname' , selector contains
    .//qname1/qname2
    """
    assert_bindings(
        schema="msData/identityConstraint/idL043.xsd",
        instance="msData/identityConstraint/idL043.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l042_id_l042_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='attribute::qname' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL042.xsd",
        instance="msData/identityConstraint/idL042.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l041_id_l041_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='@qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL041.xsd",
        instance="msData/identityConstraint/idL041.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l039_id_l039_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='child::ncname:*' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL039.xsd",
        instance="msData/identityConstraint/idL039.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l038_id_l038_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL038.xsd",
        instance="msData/identityConstraint/idL038.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l035_id_l035_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='child::*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL035.xsd",
        instance="msData/identityConstraint/idL035.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l034_id_l034_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='*' , selector contains .//qname
    """
    assert_bindings(
        schema="msData/identityConstraint/idL034.xsd",
        instance="msData/identityConstraint/idL034.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l033_id_l033_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL033.xsd",
        instance="msData/identityConstraint/idL033.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l030_id_l030_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='.//qname' , selector contains qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL030.xsd",
        instance="msData/identityConstraint/idL030.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l029_id_l029_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='child::qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL029.xsd",
        instance="msData/identityConstraint/idL029.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l028_id_l028_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL028.xsd",
        instance="msData/identityConstraint/idL028.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l026_id_l026_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='.' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL026.xsd",
        instance="msData/identityConstraint/idL026.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l024_id_l024_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='attribute::ncname:*' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL024.xsd",
        instance="msData/identityConstraint/idL024.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l023_id_l023_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='@ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL023.xsd",
        instance="msData/identityConstraint/idL023.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l021_id_l021_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='attribute::*' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL021.xsd",
        instance="msData/identityConstraint/idL021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l020_id_l020_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='@*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL020.xsd",
        instance="msData/identityConstraint/idL020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l018_id_l018_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='attribute::qname' , selector
    contains .//qname1/qname2
    """
    assert_bindings(
        schema="msData/identityConstraint/idL018.xsd",
        instance="msData/identityConstraint/idL018.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l017_id_l017_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='attribute::qname' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL017.xsd",
        instance="msData/identityConstraint/idL017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l016_id_l016_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='@qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL016.xsd",
        instance="msData/identityConstraint/idL016.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l014_id_l014_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='child::ncname:*' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL014.xsd",
        instance="msData/identityConstraint/idL014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l013_id_l013_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL013.xsd",
        instance="msData/identityConstraint/idL013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l010_id_l010_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='child::*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL010.xsd",
        instance="msData/identityConstraint/idL010.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l009_id_l009_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='*' , selector contains .//qname
    """
    assert_bindings(
        schema="msData/identityConstraint/idL009.xsd",
        instance="msData/identityConstraint/idL009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l008_id_l008_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL008.xsd",
        instance="msData/identityConstraint/idL008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l005_id_l005_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='.//qname' , selector contains
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL005.xsd",
        instance="msData/identityConstraint/idL005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l004_id_l004_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='child::qname' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL004.xsd",
        instance="msData/identityConstraint/idL004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l003_id_l003_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL003.xsd",
        instance="msData/identityConstraint/idL003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l001_id_l001_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='.' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL001.xsd",
        instance="msData/identityConstraint/idL001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k017_id_k017_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref defined
    locally within key scope
    """
    assert_bindings(
        schema="msData/identityConstraint/idK017.xsd",
        instance="msData/identityConstraint/idK017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k015_id_k015_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : constraint
    locating an element that is of simpleType/union
    """
    assert_bindings(
        schema="msData/identityConstraint/idK015.xsd",
        instance="msData/identityConstraint/idK015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k014_id_k014_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : constraint
    locating an element that is of simpleType/list
    """
    assert_bindings(
        schema="msData/identityConstraint/idK014.xsd",
        instance="msData/identityConstraint/idK014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k013_id_k013_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : constraint
    locating an element that is of simpleType/restriction
    """
    assert_bindings(
        schema="msData/identityConstraint/idK013.xsd",
        instance="msData/identityConstraint/idK013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k011a_id_k011_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : constraint
    locating an element that is of complexType/simpleContent Resolution
    pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idK011.xsd",
        instance="msData/identityConstraint/idK011.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k011_id_k011_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : constraint
    locating an element that is of complexType/simpleContent Resolution
    pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idK011.xsd",
        instance="msData/identityConstraint/idK011.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k010_id_k010_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an element refers to a unique locating an element
    """
    assert_bindings(
        schema="msData/identityConstraint/idK010.xsd",
        instance="msData/identityConstraint/idK010.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k009_id_k009_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an element refers to a key locating an element
    """
    assert_bindings(
        schema="msData/identityConstraint/idK009.xsd",
        instance="msData/identityConstraint/idK009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k008_id_k008_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an attribute refers to a unique locating an attribute
    """
    assert_bindings(
        schema="msData/identityConstraint/idK008.xsd",
        instance="msData/identityConstraint/idK008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k007_id_k007_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an attribute refers to a key locating an attribute
    """
    assert_bindings(
        schema="msData/identityConstraint/idK007.xsd",
        instance="msData/identityConstraint/idK007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k006_id_k006_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an element refers to a unique locating an attribute
    """
    assert_bindings(
        schema="msData/identityConstraint/idK006.xsd",
        instance="msData/identityConstraint/idK006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k005_id_k005_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an element refers to a key locating an attribute
    """
    assert_bindings(
        schema="msData/identityConstraint/idK005.xsd",
        instance="msData/identityConstraint/idK005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k004_id_k004_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an attribute subject to normalization refers to a key
    locating an element that is not normalized , postnormalization values
    are the same
    """
    assert_bindings(
        schema="msData/identityConstraint/idK004.xsd",
        instance="msData/identityConstraint/idK004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k002_id_k002_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an attribute refers to a unique locating an element
    """
    assert_bindings(
        schema="msData/identityConstraint/idK002.xsd",
        instance="msData/identityConstraint/idK002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k001_id_k001_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an attribute refers to a key locating an element
    """
    assert_bindings(
        schema="msData/identityConstraint/idK001.xsd",
        instance="msData/identityConstraint/idK001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h034_id_h034_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to attribute used only within xsi:type
    substitution
    """
    assert_bindings(
        schema="msData/identityConstraint/idH034.xsd",
        instance="msData/identityConstraint/idH034.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h032_id_h032_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to attribute from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH032.xsd",
        instance="msData/identityConstraint/idH032.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h031a_id_h031_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to attribute from imported schema Resolution
    pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idH031.xsd",
        instance="msData/identityConstraint/idH031.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h031_id_h031_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to attribute from imported schema Resolution
    pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idH031.xsd",
        instance="msData/identityConstraint/idH031.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h030_id_h030_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to attribute within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idH030.xsd",
        instance="msData/identityConstraint/idH030.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h029_id_h029_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to element redefined by use of
    substitutionGroup
    """
    assert_bindings(
        schema="msData/identityConstraint/idH029.xsd",
        instance="msData/identityConstraint/idH029.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h028_id_h028_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH028.xsd",
        instance="msData/identityConstraint/idH028.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h027_id_h027_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH027.xsd",
        instance="msData/identityConstraint/idH027.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h026_id_h026_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to element outside targetNamespace in non-
    imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH026.xsd",
        instance="msData/identityConstraint/idH026.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h025_id_h025_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idH025.xsd",
        instance="msData/identityConstraint/idH025.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h024_id_h024_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector points to element redefined by use of
    substitutionGroup
    """
    assert_bindings(
        schema="msData/identityConstraint/idH024.xsd",
        instance="msData/identityConstraint/idH024.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h023_id_h023_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH023.xsd",
        instance="msData/identityConstraint/idH023.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h022_id_h022_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH022.xsd",
        instance="msData/identityConstraint/idH022.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h021_id_h021_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector points to element outside of targetNamespace in a
    non-imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH021.xsd",
        instance="msData/identityConstraint/idH021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h020_id_h020_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idH020.xsd",
        instance="msData/identityConstraint/idH020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h019_id_h019_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, qualified node set defined with the use of multiple field
    schema elements pointing to a mix of elements and attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idH019.xsd",
        instance="msData/identityConstraint/idH019.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h018_id_h018_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, qualified node set defined with the use of multiple field
    schema elements pointing to only attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idH018.xsd",
        instance="msData/identityConstraint/idH018.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h017_id_h017_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, qualified node set defined with the use of multiple field
    schema elements pointing to only elements
    """
    assert_bindings(
        schema="msData/identityConstraint/idH017.xsd",
        instance="msData/identityConstraint/idH017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h016_id_h016_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, instance member (a)=test, string; instance member (b)='',
    string defined using fixed='test'
    """
    assert_bindings(
        schema="msData/identityConstraint/idH016.xsd",
        instance="msData/identityConstraint/idH016.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h015_id_h015_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, instance member (a)=test, string; instance member (b)='',
    string defined using default='test'
    """
    assert_bindings(
        schema="msData/identityConstraint/idH015.xsd",
        instance="msData/identityConstraint/idH015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h009_id_h009_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, keyref refers to unique element
    """
    assert_bindings(
        schema="msData/identityConstraint/idH009.xsd",
        instance="msData/identityConstraint/idH009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h008_id_h008_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, keyref refers to existing key element defined post to keyref
    """
    assert_bindings(
        schema="msData/identityConstraint/idH008.xsd",
        instance="msData/identityConstraint/idH008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h007_id_h007_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, keyref refers to existing key element defined prior to
    keyref
    """
    assert_bindings(
        schema="msData/identityConstraint/idH007.xsd",
        instance="msData/identityConstraint/idH007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h004_id_h004_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field element evaluates to a node-set with only one member
    """
    assert_bindings(
        schema="msData/identityConstraint/idH004.xsd",
        instance="msData/identityConstraint/idH004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h003_id_h003_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field element evaluates to an empty-node set
    """
    assert_bindings(
        schema="msData/identityConstraint/idH003.xsd",
        instance="msData/identityConstraint/idH003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h001_id_h001_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector element evaluates to a node-set
    """
    assert_bindings(
        schema="msData/identityConstraint/idH001.xsd",
        instance="msData/identityConstraint/idH001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g030_id_g030_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to attribute used only within xsi:type substitution
    """
    assert_bindings(
        schema="msData/identityConstraint/idG030.xsd",
        instance="msData/identityConstraint/idG030.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g029_id_g029_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to attribute outside targetNamespace in non-imported
    schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG029.xsd",
        instance="msData/identityConstraint/idG029.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g028_id_g028_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to attribute from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG028.xsd",
        instance="msData/identityConstraint/idG028.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g027_id_g027_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to attribute from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG027.xsd",
        instance="msData/identityConstraint/idG027.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g026_id_g026_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to attribute within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idG026.xsd",
        instance="msData/identityConstraint/idG026.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g024_id_g024_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG024.xsd",
        instance="msData/identityConstraint/idG024.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g023_id_g023_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG023.xsd",
        instance="msData/identityConstraint/idG023.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g022_id_g022_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to element outside targetNamespace in non-imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG022.xsd",
        instance="msData/identityConstraint/idG022.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g021_id_g021_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idG021.xsd",
        instance="msData/identityConstraint/idG021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g019_id_g019_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    selector points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG019.xsd",
        instance="msData/identityConstraint/idG019.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g018_id_g018_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    selector points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG018.xsd",
        instance="msData/identityConstraint/idG018.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g017_id_g017_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    selector points to element outside of targetNamespace in a non-
    imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG017.xsd",
        instance="msData/identityConstraint/idG017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g016_id_g016_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    selector points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idG016.xsd",
        instance="msData/identityConstraint/idG016.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g015_id_g015_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    qualified node set defined with the use of multiple field schema
    elements pointing to a mix of elements and attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idG015.xsd",
        instance="msData/identityConstraint/idG015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g014_id_g014_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    qualified node set defined with the use of multiple field schema
    elements pointing to only attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idG014.xsd",
        instance="msData/identityConstraint/idG014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g013_id_g013_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    qualified node set defined with the use of multiple field schema
    elements pointing to only elements
    """
    assert_bindings(
        schema="msData/identityConstraint/idG013.xsd",
        instance="msData/identityConstraint/idG013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g007_id_g007_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    all target node set members exist in qualified node set
    """
    assert_bindings(
        schema="msData/identityConstraint/idG007.xsd",
        instance="msData/identityConstraint/idG007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g004_id_g004_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field element evaluates to a node-set with only one member
    """
    assert_bindings(
        schema="msData/identityConstraint/idG004.xsd",
        instance="msData/identityConstraint/idG004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g001_id_g001_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    selector element evaluates to a node-set
    """
    assert_bindings(
        schema="msData/identityConstraint/idG001.xsd",
        instance="msData/identityConstraint/idG001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f036_id_f036_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to attribute used only within xsi:type
    substitution
    """
    assert_bindings(
        schema="msData/identityConstraint/idF036.xsd",
        instance="msData/identityConstraint/idF036.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f035_id_f035_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to attribute outside targetNamespace in non-
    imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF035.xsd",
        instance="msData/identityConstraint/idF035.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f034_id_f034_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to attribute from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF034.xsd",
        instance="msData/identityConstraint/idF034.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f033_id_f033_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to attribute from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF033.xsd",
        instance="msData/identityConstraint/idF033.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f032_id_f032_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to attribute within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idF032.xsd",
        instance="msData/identityConstraint/idF032.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f031_id_f031_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to element redefined by use of
    substitutionGroup
    """
    assert_bindings(
        schema="msData/identityConstraint/idF031.xsd",
        instance="msData/identityConstraint/idF031.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f030_id_f030_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF030.xsd",
        instance="msData/identityConstraint/idF030.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f029_id_f029_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF029.xsd",
        instance="msData/identityConstraint/idF029.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f028_id_f028_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to element outside targetNamespace in non-
    imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF028.xsd",
        instance="msData/identityConstraint/idF028.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f027_id_f027_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idF027.xsd",
        instance="msData/identityConstraint/idF027.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f026_id_f026_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector points to element redefined by use of
    substitutionGroup
    """
    assert_bindings(
        schema="msData/identityConstraint/idF026.xsd",
        instance="msData/identityConstraint/idF026.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f025_id_f025_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF025.xsd",
        instance="msData/identityConstraint/idF025.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f024_id_f024_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF024.xsd",
        instance="msData/identityConstraint/idF024.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f023_id_f023_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector points to element outside of targetNamespace in a
    non-imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF023.xsd",
        instance="msData/identityConstraint/idF023.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f022_id_f022_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idF022.xsd",
        instance="msData/identityConstraint/idF022.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f021_id_f021_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, qualified node set defined with the use of multiple field
    schema elements pointing to a mix of elements and attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idF021.xsd",
        instance="msData/identityConstraint/idF021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f020_id_f020_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, qualified node set defined with the use of multiple field
    schema elements pointing to only attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idF020.xsd",
        instance="msData/identityConstraint/idF020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f019_id_f019_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, qualified node set defined with the use of multiple field
    schema elements pointing to only elements
    """
    assert_bindings(
        schema="msData/identityConstraint/idF019.xsd",
        instance="msData/identityConstraint/idF019.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f014_id_f014_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, instance member (a)=1, float; instance member (b)=1,
    unsignedByte
    """
    assert_bindings(
        schema="msData/identityConstraint/idF014.xsd",
        instance="msData/identityConstraint/idF014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f013_id_f013_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, instance member (a)=1, float; instance member (b)=1, decimal
    """
    assert_bindings(
        schema="msData/identityConstraint/idF013.xsd",
        instance="msData/identityConstraint/idF013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f012_id_f012_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, instance member (a)=1, boolean; instance member (b)=1,
    number
    """
    assert_bindings(
        schema="msData/identityConstraint/idF012.xsd",
        instance="msData/identityConstraint/idF012.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f011_id_f011_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, instance member (a)=3.0, string; instance member (b)=3,
    string
    """
    assert_bindings(
        schema="msData/identityConstraint/idF011.xsd",
        instance="msData/identityConstraint/idF011.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f009_id_f009_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, qualified node set contains members with an element
    declaration whose {nillable} is true.
    """
    assert_bindings(
        schema="msData/identityConstraint/idF009.xsd",
        instance="msData/identityConstraint/idF009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f007_id_f007_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, all qualified node set members are unique
    """
    assert_bindings(
        schema="msData/identityConstraint/idF007.xsd",
        instance="msData/identityConstraint/idF007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f004_id_f004_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field element evaluates to a node-set with only one member
    """
    assert_bindings(
        schema="msData/identityConstraint/idF004.xsd",
        instance="msData/identityConstraint/idF004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f003_id_f003_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field element evaluates to an empty-node set
    """
    assert_bindings(
        schema="msData/identityConstraint/idF003.xsd",
        instance="msData/identityConstraint/idF003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f001_id_f001_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector element evaluates to a node-set
    """
    assert_bindings(
        schema="msData/identityConstraint/idF001.xsd",
        instance="msData/identityConstraint/idF001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_z004_mg_z004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : test occurence range of xs:choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgZ004.xsd",
        instance="msData/modelGroups/mgZ004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_z003_mg_z003_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : test derivation by ext. with all with
    base=empty content
    """
    assert_bindings(
        schema="msData/modelGroups/mgZ003.xsd",
        instance="msData/modelGroups/mgZ003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q020_mg_q020_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'choice', one under 'sequence'
    inside 'choice' of 'choice'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ020.xsd",
        instance="msData/modelGroups/mgQ020.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q019_mg_q019_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'choice', one under 'choice'
    inside 'sequence' of 'choice'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ019.xsd",
        instance="msData/modelGroups/mgQ019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q018_mg_q018_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'choice', one under 'sequence'
    inside 'sequence' of 'choice'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ018.xsd",
        instance="msData/modelGroups/mgQ018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q017_mg_q017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'choice'
    inside 'choice' of 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ017.xsd",
        instance="msData/modelGroups/mgQ017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q016_mg_q016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'sequence'
    inside 'choice' of 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ016.xsd",
        instance="msData/modelGroups/mgQ016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q015_mg_q015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'choice'
    inside 'sequence' of 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ015.xsd",
        instance="msData/modelGroups/mgQ015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q014_mg_q014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'sequence'
    inside 'sequence' of 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ014.xsd",
        instance="msData/modelGroups/mgQ014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q009_mg_q009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'choice', one under 'sequence'
    inside 'choice'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ009.xsd",
        instance="msData/modelGroups/mgQ009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q008_mg_q008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'choice', one under 'choice'
    inside 'choice'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ008.xsd",
        instance="msData/modelGroups/mgQ008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q007_mg_q007_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'sequence'
    inside 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ007.xsd",
        instance="msData/modelGroups/mgQ007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q006_mg_q006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'choice'
    inside 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ006.xsd",
        instance="msData/modelGroups/mgQ006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q003_mg_q003_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), both under choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ003.xsd",
        instance="msData/modelGroups/mgQ003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q002_mg_q002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), both under sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ002.xsd",
        instance="msData/modelGroups/mgQ002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o038_mg_o038_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'choice'
    with maxOccurs=minOccurs=1 , which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO038.xsd",
        instance="msData/modelGroups/mgO038.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o037_mg_o037_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'sequence'
    with maxOccurs=minOccurs=1, which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO037.xsd",
        instance="msData/modelGroups/mgO037.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o036_mg_o036_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under
    'restriction', whiche is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO036.xsd",
        instance="msData/modelGroups/mgO036.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o034_mg_o034_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'redefine',
    which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO034.xsd",
        instance="msData/modelGroups/mgO034.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o031_mg_o031_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'choice'
    with maxOccurs=minOccurs=1 , which is part of a complexType, and group
    ref has minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgO031.xsd",
        instance="msData/modelGroups/mgO031.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o030_mg_o030_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 'all', and has minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgO030.xsd",
        instance="msData/modelGroups/mgO030.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o029_mg_o029_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 'all', appear under 'restriction', which is
    part of a complexType, and has minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgO029.xsd",
        instance="msData/modelGroups/mgO029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o017_mg_o017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'choice'
    with maxOccurs=minOccurs=1 , whiche is part of a complexType, and
    particles in all has maxOccurs=minOccurs (absent)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO017.xsd",
        instance="msData/modelGroups/mgO017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o016_mg_o016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'sequence'
    with maxOccurs=minOccurs=1, , whiche is part of a complexType, and
    particles in all has maxOccurs=minOccurs (absent)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO016.xsd",
        instance="msData/modelGroups/mgO016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o015_mg_o015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under
    'restriction', whiche is part of a complexType, and particles in all
    has maxOccurs=minOccurs (absent)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO015.xsd",
        instance="msData/modelGroups/mgO015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o011_mg_o011_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under
    'complexType', whiche is part of a complexType, and particles in all
    has maxOccurs=minOccurs (absent)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO011.xsd",
        instance="msData/modelGroups/mgO011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o010_mg_o010_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'choice'
    which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO010.xsd",
        instance="msData/modelGroups/mgO010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o009_mg_o009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'sequence'
    which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO009.xsd",
        instance="msData/modelGroups/mgO009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o008_mg_o008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under
    'restriction', which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO008.xsd",
        instance="msData/modelGroups/mgO008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o006_mg_o006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'redefine',
    which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO006.xsd",
        instance="msData/modelGroups/mgO006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o005_mg_o005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'schema',
    which is part of a complexType and has maxOccurs=minOccurs (0 | 1)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO005.xsd",
        instance="msData/modelGroups/mgO005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o004_mg_o004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all appear under 'complexType', which is
    part of a complexType, and particles in all has maxOccurs=minOccurs (0
    | 1)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO004.xsd",
        instance="msData/modelGroups/mgO004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o002_mg_o002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all has particle with minOccurs=maxOccur =
    1
    """
    assert_bindings(
        schema="msData/modelGroups/mgO002.xsd",
        instance="msData/modelGroups/mgO002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_n012_mg_n012_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : parent is sequence, has 2 sequence (E1, E2)
    (F1,F2), and 2 choice (C1 | C2) (D1 | D2), in the instant XML document
    ( E1, E2, F1, F2, C1, D1)
    """
    assert_bindings(
        schema="msData/modelGroups/mgN012.xsd",
        instance="msData/modelGroups/mgN012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_n005_mg_n005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : parent is sequence, has 2 sequence as child
    (E1,E2) (F1,F2), in the instant XML document, there is no element
    specified
    """
    assert_bindings(
        schema="msData/modelGroups/mgN005.xsd",
        instance="msData/modelGroups/mgN005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_n001_mg_n001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : parent is sequence, more than one child
    sequences, each of them again have more than one sequence child node,
    instant XML conform to the declaration
    """
    assert_bindings(
        schema="msData/modelGroups/mgN001.xsd",
        instance="msData/modelGroups/mgN001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_m013_mg_m013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with 2 elements instant doc has a
    global element
    """
    assert_bindings(
        schema="msData/modelGroups/mgM013.xsd",
        instance="msData/modelGroups/mgM013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_m011_mg_m011_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with 5 elements instant doc has all
    the element in reverse order
    """
    assert_bindings(
        schema="msData/modelGroups/mgM011.xsd",
        instance="msData/modelGroups/mgM011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_m009_mg_m009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with 2 elements 2 element in different
    order is in the instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgM009.xsd",
        instance="msData/modelGroups/mgM009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_m008_mg_m008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with 2 elements 2 element is in the
    instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgM008.xsd",
        instance="msData/modelGroups/mgM008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_m004_mg_m004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with 1 elements 1 element is in the
    instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgM004.xsd",
        instance="msData/modelGroups/mgM004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_l009_mg_l009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with 5 elements, 1 element in the
    instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgL009.xsd",
        instance="msData/modelGroups/mgL009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_l008_mg_l008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with 5 elements, 0 element in the
    instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgL008.xsd",
        instance="msData/modelGroups/mgL008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_l006_mg_l006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with 2 elements, 1 element in the
    instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgL006.xsd",
        instance="msData/modelGroups/mgL006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_l004_mg_l004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with 1 elements, 1 element is in
    the instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgL004.xsd",
        instance="msData/modelGroups/mgL004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_l001_mg_l001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with NO elements (max=min=absent),
    0 element is in the instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgL001.xsd",
        instance="msData/modelGroups/mgL001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_k009_mg_k009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with 5 elements, all elements
    appeared and are in defined order
    """
    assert_bindings(
        schema="msData/modelGroups/mgK009.xsd",
        instance="msData/modelGroups/mgK009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_k004_mg_k004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with 1 elements, 1 element is in
    the instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgK004.xsd",
        instance="msData/modelGroups/mgK004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_k001_mg_k001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with NO elements
    (max=min=absent), 0 element is in the instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgK001.xsd",
        instance="msData/modelGroups/mgK001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j026_mg_j026_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=3,
    maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ026.xsd",
        instance="msData/modelGroups/mgJ026.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j023_mg_j023_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=2,
    minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ023.xsd",
        instance="msData/modelGroups/mgJ023.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j022_mg_j022_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=1,
    minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ022.xsd",
        instance="msData/modelGroups/mgJ022.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j019_mg_j019_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=1,
    minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ019.xsd",
        instance="msData/modelGroups/mgJ019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j016_mg_j016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=1,
    minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ016.xsd",
        instance="msData/modelGroups/mgJ016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j014_mg_j014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=0,
    minOccurs=0, maxOccurs=999999999
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ014.xsd",
        instance="msData/modelGroups/mgJ014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j012_mg_j012_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=0,
    minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ012.xsd",
        instance="msData/modelGroups/mgJ012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j010_mg_j010_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=1,
    minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ010.xsd",
        instance="msData/modelGroups/mgJ010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j009_mg_j009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=0,
    minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ009.xsd",
        instance="msData/modelGroups/mgJ009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j007_mg_j007_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=1,
    minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ007.xsd",
        instance="msData/modelGroups/mgJ007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j006_mg_j006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=0,
    minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ006.xsd",
        instance="msData/modelGroups/mgJ006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j004_mg_j004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: check that minOccurs default is 1,
    elements in instant XML = 1, minOccurs=absent, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ004.xsd",
        instance="msData/modelGroups/mgJ004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i019_mg_i019_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children 4 any, 4 elements
    """
    assert_bindings(
        schema="msData/modelGroups/mgI019.xsd",
        instance="msData/modelGroups/mgI019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i018_mg_i018_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children 4 sequence, 4 any
    """
    assert_bindings(
        schema="msData/modelGroups/mgI018.xsd",
        instance="msData/modelGroups/mgI018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i017_mg_i017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children 4 choice, 4 sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgI017.xsd",
        instance="msData/modelGroups/mgI017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i016_mg_i016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children 4 groups, 4 choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgI016.xsd",
        instance="msData/modelGroups/mgI016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i015_mg_i015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children 4 elements, 4 groups
    """
    assert_bindings(
        schema="msData/modelGroups/mgI015.xsd",
        instance="msData/modelGroups/mgI015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i014_mg_i014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children any, sequence, group,
    element, choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgI014.xsd",
        instance="msData/modelGroups/mgI014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i013_mg_i013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children sequence, group,
    choice, element, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgI013.xsd",
        instance="msData/modelGroups/mgI013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i012_mg_i012_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children choice, any, group,
    sequence, element
    """
    assert_bindings(
        schema="msData/modelGroups/mgI012.xsd",
        instance="msData/modelGroups/mgI012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i011_mg_i011_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children group, any, choice,
    element, sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgI011.xsd",
        instance="msData/modelGroups/mgI011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i010_mg_i010_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children element, any,
    sequence, choice, group
    """
    assert_bindings(
        schema="msData/modelGroups/mgI010.xsd",
        instance="msData/modelGroups/mgI010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i009_mg_i009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, element,
    group, choice, sequence, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgI009.xsd",
        instance="msData/modelGroups/mgI009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i008_mg_i008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgI008.xsd",
        instance="msData/modelGroups/mgI008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i007_mg_i007_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgI007.xsd",
        instance="msData/modelGroups/mgI007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i006_mg_i006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgI006.xsd",
        instance="msData/modelGroups/mgI006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i005_mg_i005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, group
    """
    assert_bindings(
        schema="msData/modelGroups/mgI005.xsd",
        instance="msData/modelGroups/mgI005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i004_mg_i004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, element
    """
    assert_bindings(
        schema="msData/modelGroups/mgI004.xsd",
        instance="msData/modelGroups/mgI004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i002_mg_i002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with one annotation only
    """
    assert_bindings(
        schema="msData/modelGroups/mgI002.xsd",
        instance="msData/modelGroups/mgI002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i001_mg_i001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with no child node
    """
    assert_bindings(
        schema="msData/modelGroups/mgI001.xsd",
        instance="msData/modelGroups/mgI001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_hb005_mg_hb005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: maxOccurs = 5
    """
    assert_bindings(
        schema="msData/modelGroups/mgHb005.xsd",
        instance="msData/modelGroups/mgHb005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_hb004_mg_hb004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: maxOccurs = unbounded
    """
    assert_bindings(
        schema="msData/modelGroups/mgHb004.xsd",
        instance="msData/modelGroups/mgHb004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h018_mg_h018_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgH018.xsd",
        instance="msData/modelGroups/mgH018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h017_mg_h017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgH017.xsd",
        instance="msData/modelGroups/mgH017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h016_mg_h016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent group
    """
    assert_bindings(
        schema="msData/modelGroups/mgH016.xsd",
        instance="msData/modelGroups/mgH016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h015_mg_h015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent extension
    """
    assert_bindings(
        schema="msData/modelGroups/mgH015.xsd",
        instance="msData/modelGroups/mgH015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h014_mg_h014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent restriction
    """
    assert_bindings(
        schema="msData/modelGroups/mgH014.xsd",
        instance="msData/modelGroups/mgH014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h013_mg_h013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgH013.xsd",
        instance="msData/modelGroups/mgH013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h001_mg_h001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: id, id="foo"
    """
    assert_bindings(
        schema="msData/modelGroups/mgH001.xsd",
        instance="msData/modelGroups/mgH001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g026_mg_g026_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=3,
    maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/modelGroups/mgG026.xsd",
        instance="msData/modelGroups/mgG026.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g023_mg_g023_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=2,
    minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/modelGroups/mgG023.xsd",
        instance="msData/modelGroups/mgG023.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g022_mg_g022_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=1,
    minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/modelGroups/mgG022.xsd",
        instance="msData/modelGroups/mgG022.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g019_mg_g019_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=1,
    minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgG019.xsd",
        instance="msData/modelGroups/mgG019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g016_mg_g016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=1,
    minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgG016.xsd",
        instance="msData/modelGroups/mgG016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g014_mg_g014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=0,
    minOccurs=0, maxOccurs=999999999
    """
    assert_bindings(
        schema="msData/modelGroups/mgG014.xsd",
        instance="msData/modelGroups/mgG014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g012_mg_g012_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=0,
    minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/modelGroups/mgG012.xsd",
        instance="msData/modelGroups/mgG012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g010_mg_g010_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=1,
    minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgG010.xsd",
        instance="msData/modelGroups/mgG010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g009_mg_g009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=0,
    minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgG009.xsd",
        instance="msData/modelGroups/mgG009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g007_mg_g007_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=1,
    minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgG007.xsd",
        instance="msData/modelGroups/mgG007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g006_mg_g006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=0,
    minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgG006.xsd",
        instance="msData/modelGroups/mgG006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g004_mg_g004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: check that minOccurs default is
    1, elements in instant XML = 1, minOccurs=absent, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgG004.xsd",
        instance="msData/modelGroups/mgG004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f019_mg_f019_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children 4 any, 4 elements
    """
    assert_bindings(
        schema="msData/modelGroups/mgF019.xsd",
        instance="msData/modelGroups/mgF019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f018_mg_f018_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children 4 sequence, 4 any
    """
    assert_bindings(
        schema="msData/modelGroups/mgF018.xsd",
        instance="msData/modelGroups/mgF018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f017_mg_f017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children 4 choice, 4
    sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgF017.xsd",
        instance="msData/modelGroups/mgF017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f016_mg_f016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children 4 groups, 4 choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgF016.xsd",
        instance="msData/modelGroups/mgF016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f015_mg_f015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children 4 elements, 4
    groups
    """
    assert_bindings(
        schema="msData/modelGroups/mgF015.xsd",
        instance="msData/modelGroups/mgF015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f014_mg_f014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children any, sequence,
    group, element, choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgF014.xsd",
        instance="msData/modelGroups/mgF014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f013_mg_f013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children sequence, group,
    choice, element, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgF013.xsd",
        instance="msData/modelGroups/mgF013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f012_mg_f012_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children choice, any, group,
    sequence, element
    """
    assert_bindings(
        schema="msData/modelGroups/mgF012.xsd",
        instance="msData/modelGroups/mgF012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f011_mg_f011_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children group, any, choice,
    element, sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgF011.xsd",
        instance="msData/modelGroups/mgF011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f010_mg_f010_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children element, any,
    sequence, choice, group
    """
    assert_bindings(
        schema="msData/modelGroups/mgF010.xsd",
        instance="msData/modelGroups/mgF010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f009_mg_f009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation,
    element, group, choice, sequence, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgF009.xsd",
        instance="msData/modelGroups/mgF009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f008_mg_f008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgF008.xsd",
        instance="msData/modelGroups/mgF008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f007_mg_f007_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation,
    sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgF007.xsd",
        instance="msData/modelGroups/mgF007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f006_mg_f006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation, choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgF006.xsd",
        instance="msData/modelGroups/mgF006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f005_mg_f005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation, group
    """
    assert_bindings(
        schema="msData/modelGroups/mgF005.xsd",
        instance="msData/modelGroups/mgF005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f004_mg_f004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation, element
    """
    assert_bindings(
        schema="msData/modelGroups/mgF004.xsd",
        instance="msData/modelGroups/mgF004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f002_mg_f002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with one annotation only
    """
    assert_bindings(
        schema="msData/modelGroups/mgF002.xsd",
        instance="msData/modelGroups/mgF002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f001_mg_f001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with no child node
    """
    assert_bindings(
        schema="msData/modelGroups/mgF001.xsd",
        instance="msData/modelGroups/mgF001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_eb005_mg_eb005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: maxOccurs = 8
    """
    assert_bindings(
        schema="msData/modelGroups/mgEb005.xsd",
        instance="msData/modelGroups/mgEb005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_eb004_mg_eb004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: maxOccurs = unbounded
    """
    assert_bindings(
        schema="msData/modelGroups/mgEb004.xsd",
        instance="msData/modelGroups/mgEb004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e018_mg_e018_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgE018.xsd",
        instance="msData/modelGroups/mgE018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e017_mg_e017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgE017.xsd",
        instance="msData/modelGroups/mgE017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e016_mg_e016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent group
    """
    assert_bindings(
        schema="msData/modelGroups/mgE016.xsd",
        instance="msData/modelGroups/mgE016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e015_mg_e015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent extension
    """
    assert_bindings(
        schema="msData/modelGroups/mgE015.xsd",
        instance="msData/modelGroups/mgE015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e014_mg_e014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent restriction
    """
    assert_bindings(
        schema="msData/modelGroups/mgE014.xsd",
        instance="msData/modelGroups/mgE014.xml",
        class_name="Who",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e013_mg_e013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgE013.xsd",
        instance="msData/modelGroups/mgE013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e001_mg_e001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: id, id="foo"
    """
    assert_bindings(
        schema="msData/modelGroups/mgE001.xsd",
        instance="msData/modelGroups/mgE001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_d013_mg_d013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : test using of minOccurs=0 and allowing
    elements to not exists
    """
    assert_bindings(
        schema="msData/modelGroups/mgD013.xsd",
        instance="msData/modelGroups/mgD013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_d009_mg_d009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with any attribute with no schema
    namespace
    """
    assert_bindings(
        schema="msData/modelGroups/mgD009.xsd",
        instance="msData/modelGroups/mgD009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_d005_mg_d005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with any attribute with no schema
    namespace
    """
    assert_bindings(
        schema="msData/modelGroups/mgD005.xsd",
        instance="msData/modelGroups/mgD005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_d001_mg_d001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with any attribute with no schema
    namespace
    """
    assert_bindings(
        schema="msData/modelGroups/mgD001.xsd",
        instance="msData/modelGroups/mgD001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_c014_mg_c014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all with default minOccurs and maxOccurs
    with optional element children
    """
    assert_bindings(
        schema="msData/modelGroups/mgC014.xsd",
        instance="msData/modelGroups/mgC014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_c011_mg_c011_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: elements in instant XML=1,
    minOccurs=absent, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgC011.xsd",
        instance="msData/modelGroups/mgC011.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_c006_mg_c006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: elements in instant XML=1,
    minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgC006.xsd",
        instance="msData/modelGroups/mgC006.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_c004_mg_c004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: minOccurs can have value of 0 or 1 max
    occurs can only have 1 as value, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgC004.xsd",
        instance="msData/modelGroups/mgC004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_c002_mg_c002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: check that minOccurs default is 1,
    elements in instant XML = 1, minOccurs=absent, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgC002.xsd",
        instance="msData/modelGroups/mgC002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_b006_mg_b006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with one element only
    """
    assert_bindings(
        schema="msData/modelGroups/mgB006.xsd",
        instance="msData/modelGroups/mgB006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_b004_mg_b004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with annotation follow by 1 element
    """
    assert_bindings(
        schema="msData/modelGroups/mgB004.xsd",
        instance="msData/modelGroups/mgB004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_b002_mg_b002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with one annotation only
    """
    assert_bindings(
        schema="msData/modelGroups/mgB002.xsd",
        instance="msData/modelGroups/mgB002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_b001_mg_b001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with no child node
    """
    assert_bindings(
        schema="msData/modelGroups/mgB001.xsd",
        instance="msData/modelGroups/mgB001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_aa003_mg_aa003_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: minOccurs = 0
    """
    assert_bindings(
        schema="msData/modelGroups/mgAa003.xsd",
        instance="msData/modelGroups/mgAa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_a017_mg_a017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with parent group
    """
    assert_bindings(
        schema="msData/modelGroups/mgA017.xsd",
        instance="msData/modelGroups/mgA017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_a015_mg_a015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with parent restriction
    """
    assert_bindings(
        schema="msData/modelGroups/mgA015.xsd",
        instance="msData/modelGroups/mgA015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_a014_mg_a014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with parent complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgA014.xsd",
        instance="msData/modelGroups/mgA014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_a001_mg_a001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: id, id="foo"
    """
    assert_bindings(
        schema="msData/modelGroups/mgA001.xsd",
        instance="msData/modelGroups/mgA001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_notat_h001v_notat_h001v_v(mode, save_output, output_format):
    """
    TEST :Notations : Instance document declares a notation type
    """
    assert_bindings(
        schema="msData/notations/notatH001.xsd",
        instance="msData/notations/notatH001.xml",
        class_name="Foo",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z040_particles_z040_i(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : XSD: validation on a sequence involving an
    optional wildcard
    """
    assert_bindings(
        schema="msData/particles/particlesZ040.xsd",
        instance="msData/particles/particlesZ040.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z036_c_particles_z036_c_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema validation engine validates as xs:any if
    maxOccurs greater than 4096(15) TSTF concluded no change required to
    instance test here The validity of these schemas was never in doubt,
    prior 'queried' status was in error
    """
    assert_bindings(
        schema="msData/particles/particlesZ036_c.xsd",
        instance="msData/particles/particlesZ036_c.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z036_b2_particles_z036_b2_i(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema validation engine validates as xs:any if
    maxOccurs greater than 4096(15) TSTF concluded the instances are OK
    The validity of these schemas was never in doubt, prior 'queried'
    status was in error
    """
    assert_bindings(
        schema="msData/particles/particlesZ036_b.xsd",
        instance="msData/particles/particlesZ036_b2.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z036_b1_particles_z036_b1_i(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema validation engine validates as xs:any if
    maxOccurs greater than 4096(14) TSTF concluded the instances are OK
    The validity of these schemas was never in doubt, prior 'queried'
    status was in error
    """
    assert_bindings(
        schema="msData/particles/particlesZ036_b.xsd",
        instance="msData/particles/particlesZ036_b1.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z034_a1_particles_z034_a1_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema validation engine validates as xs:any if
    maxOccurs greater than 4096(8)
    """
    assert_bindings(
        schema="msData/particles/particlesZ034_a.xsd",
        instance="msData/particles/particlesZ034_a1.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z012_particles_z012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : id="86379" description="xsd: derived attribute's
    type should validly derived from base attribute's type."
    """
    assert_bindings(
        schema="msData/particles/particlesZ012.xsd",
        instance="msData/particles/particlesZ012.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z008_particles_z008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Restriction of abstract classes with abstract
    particles via substitution group should be valid.
    """
    assert_bindings(
        schema="msData/particles/particlesZ008.xsd",
        instance="msData/particles/particlesZ008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z005_particles_z005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : xsd: test valid value in instance XML, whose xsd
    type derived by restriction from union.
    """
    assert_bindings(
        schema="msData/particles/particlesZ005.xsd",
        instance="msData/particles/particlesZ005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z003_particles_z003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : xsd: should allow and recognize declaration of
    namespace URI in local level as well as root level.
    """
    assert_bindings(
        schema="msData/particles/particlesZ003.xsd",
        instance="msData/particles/particlesZ003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z002_particles_z002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema Component Constraint: Derivation Valid
    (Restriction, Complex) rules in regard to attribute uses
    """
    assert_bindings(
        schema="msData/particles/particlesZ002.xsd",
        instance="msData/particles/particlesZ002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z001_particles_z001_i(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema Component Constraint: Particle Derivation
    OK (Elt:All/Choice/Sequence -- RecurseAsIfGroup) rule is ambiguous
    Invalid restriction which becomes valid in XSD 1.1 - MHK
    """
    assert_bindings(
        schema="msData/particles/particlesZ001.xsd",
        instance="msData/particles/particlesZ001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_w016_particles_w016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Sequence -
    Recurse) (Sequence) R drived by restriction from (Sequence) B : B has
    (a, b), R has (a) is a valid restriction of the 'a' in B
    """
    assert_bindings(
        schema="msData/particles/particlesW016.xsd",
        instance="msData/particles/particlesW016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_w011_particles_w011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Sequence -
    Recurse) (Sequence) R drived by restriction from (Sequence) B : B has
    (a, b, c), R has (a, b, c)
    """
    assert_bindings(
        schema="msData/particles/particlesW011.xsd",
        instance="msData/particles/particlesW011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_w008_particles_w008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Sequence -
    Recurse) (Sequence) R drived by restriction from (Sequence) B : B has
    (a, b, c), b and c are emptiable, R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesW008.xsd",
        instance="msData/particles/particlesW008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_w003_particles_w003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Sequence -
    Recurse) (Sequence) R drived by restriction from (Sequence) B : B's
    min,maxOccuranceRange=(3, 9), R's min,maxOccuranceRange=(4, 8)
    """
    assert_bindings(
        schema="msData/particles/particlesW003.xsd",
        instance="msData/particles/particlesW003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_w001_particles_w001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Sequence -
    Recurse) (Sequence) R drived by restriction from (Sequence) B : B's
    minOccuranceRange=6, R's minOccuranceRange=6
    """
    assert_bindings(
        schema="msData/particles/particlesW001.xsd",
        instance="msData/particles/particlesW001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v015_particles_v015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (c, b, a)
    """
    assert_bindings(
        schema="msData/particles/particlesV015.xsd",
        instance="msData/particles/particlesV015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v014_particles_v014_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (a, c)
    """
    assert_bindings(
        schema="msData/particles/particlesV014.xsd",
        instance="msData/particles/particlesV014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v013_particles_v013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (b, c)
    """
    assert_bindings(
        schema="msData/particles/particlesV013.xsd",
        instance="msData/particles/particlesV013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v012_particles_v012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesV012.xsd",
        instance="msData/particles/particlesV012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v011_particles_v011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has ( c)
    """
    assert_bindings(
        schema="msData/particles/particlesV011.xsd",
        instance="msData/particles/particlesV011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v010_particles_v010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (b)
    """
    assert_bindings(
        schema="msData/particles/particlesV010.xsd",
        instance="msData/particles/particlesV010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v009_particles_v009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesV009.xsd",
        instance="msData/particles/particlesV009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v008_particles_v008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b), R has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesV008.xsd",
        instance="msData/particles/particlesV008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v007_particles_v007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b), R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesV007.xsd",
        instance="msData/particles/particlesV007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v006_particles_v006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B's
    min,maxOccuranceRange=(0,0), R's min,maxOccuranceRange=(0,0)
    """
    assert_bindings(
        schema="msData/particles/particlesV006.xsd",
        instance="msData/particles/particlesV006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v004_particles_v004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B's
    maxOccuranceRange=6, R's maxOccuranceRange=6
    """
    assert_bindings(
        schema="msData/particles/particlesV004.xsd",
        instance="msData/particles/particlesV004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v003_particles_v003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B's
    min,maxOccuranceRange=(3, 9), R's min,maxOccuranceRange=(4, 8)
    """
    assert_bindings(
        schema="msData/particles/particlesV003.xsd",
        instance="msData/particles/particlesV003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_u007_particles_u007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:All -
    RecurseUnordered) (Sequence) R drived by restriction from (All) B : B
    has (a, b, c, d), R has (d,b,c,a)
    """
    assert_bindings(
        schema="msData/particles/particlesU007.xsd",
        instance="msData/particles/particlesU007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_u005_particles_u005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:All -
    RecurseUnordered) (Sequence) R drived by restriction from (All) B : B
    has (a, b, c), c is emptiable, R has ( a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesU005.xsd",
        instance="msData/particles/particlesU005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_u004_particles_u004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:All -
    RecurseUnordered) (Sequence) R drived by restriction from (All) B : B
    has (a, b, c), c is emptiable, R has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesU004.xsd",
        instance="msData/particles/particlesU004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_u003_particles_u003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:All -
    RecurseUnordered) (Sequence) R drived by restriction from (All) B : B
    has (a, b), R has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesU003.xsd",
        instance="msData/particles/particlesU003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q032_particles_q032_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##targetNamespace, foo, bar, R has an elements
    from targetNamespace, and foo
    """
    assert_bindings(
        schema="msData/particles/particlesQ032.xsd",
        instance="msData/particles/particlesQ032.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q030_particles_q030_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=foo, bar', R has an element from foo and bar
    """
    assert_bindings(
        schema="msData/particles/particlesQ030.xsd",
        instance="msData/particles/particlesQ030.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q029_particles_q029_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=foo, bar', R has an element from foo
    """
    assert_bindings(
        schema="msData/particles/particlesQ029.xsd",
        instance="msData/particles/particlesQ029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q024_particles_q024_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##targetNamespace, R has an element
    targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesQ024.xsd",
        instance="msData/particles/particlesQ024.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q022_particles_q022_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##local, R has an element from no namespace
    """
    assert_bindings(
        schema="msData/particles/particlesQ022.xsd",
        instance="msData/particles/particlesQ022.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q020_particles_q020_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##other, R has an element from foo
    """
    assert_bindings(
        schema="msData/particles/particlesQ020.xsd",
        instance="msData/particles/particlesQ020.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q017_particles_q017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##any, R has an element from namespace foo
    """
    assert_bindings(
        schema="msData/particles/particlesQ017.xsd",
        instance="msData/particles/particlesQ017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q016_particles_q016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##any, R has an element from no namespace
    """
    assert_bindings(
        schema="msData/particles/particlesQ016.xsd",
        instance="msData/particles/particlesQ016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


@pytest.mark.xfail
def test_particles_q013_particles_q013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=4, B's maxOccurs=4, R has 2 groups, each has
    one child with minOccurs as 2
    """
    assert_bindings(
        schema="msData/particles/particlesQ013.xsd",
        instance="msData/particles/particlesQ013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q011_particles_q011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=4, R has 2 groups, each has
    one child with maxOccurs as 2
    """
    assert_bindings(
        schema="msData/particles/particlesQ011.xsd",
        instance="msData/particles/particlesQ011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q007_particles_q007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=4, R has 2 elements, each
    with maxOccurs as 2
    """
    assert_bindings(
        schema="msData/particles/particlesQ007.xsd",
        instance="msData/particles/particlesQ007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q005_particles_q005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=unbounded, R's maxOccurs =
    1000, R has element with maxOccurs unbounded
    """
    assert_bindings(
        schema="msData/particles/particlesQ005.xsd",
        instance="msData/particles/particlesQ005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q004_particles_q004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=6, R has an element with
    minOccurs=1, maxOccurs=6
    """
    assert_bindings(
        schema="msData/particles/particlesQ004.xsd",
        instance="msData/particles/particlesQ004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q003_particles_q003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=6, R's minOccurs=1, R's
    maxOccurs=6
    """
    assert_bindings(
        schema="msData/particles/particlesQ003.xsd",
        instance="msData/particles/particlesQ003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q002_particles_q002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=1, B's maxOccurs=1, R's minOccurs=1, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesQ002.xsd",
        instance="msData/particles/particlesQ002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q001_particles_q001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=1, R's minOccurs=1, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesQ001.xsd",
        instance="msData/particles/particlesQ001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t014_particles_t014_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B's
    maxOccurs=unbounded, R's maxOccurs = 3 (a | b | c) all with maxOccurs
    ( 0 and 10 and 100 )
    """
    assert_bindings(
        schema="msData/particles/particlesT014.xsd",
        instance="msData/particles/particlesT014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t013_particles_t013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B's
    maxOccurs=unbounded, R's maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/particles/particlesT013.xsd",
        instance="msData/particles/particlesT013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t012_particles_t012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B's
    maxOccurs=unbounded, R's maxOccurs=1, but has (a | b | c) all with
    maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/particles/particlesT012.xsd",
        instance="msData/particles/particlesT012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t007_particles_t007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b | c), R has (a | b | c)
    """
    assert_bindings(
        schema="msData/particles/particlesT007.xsd",
        instance="msData/particles/particlesT007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t006_particles_t006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b | c), c is NOT emptiable, R has (a | b)
    """
    assert_bindings(
        schema="msData/particles/particlesT006.xsd",
        instance="msData/particles/particlesT006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t005_particles_t005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b | c), b is but c is NOT emptiable, R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesT005.xsd",
        instance="msData/particles/particlesT005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t004_particles_t004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b | c), c is emptiable, R has (a | b) c is emptiable
    """
    assert_bindings(
        schema="msData/particles/particlesT004.xsd",
        instance="msData/particles/particlesT004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t003_particles_t003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b | c), b and c are emptiable, R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesT003.xsd",
        instance="msData/particles/particlesT003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t001_particles_t001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b), R has (a | b)
    """
    assert_bindings(
        schema="msData/particles/particlesT001.xsd",
        instance="msData/particles/particlesT001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r030_particles_r030_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=foo, bar', R has an element from bar
    """
    assert_bindings(
        schema="msData/particles/particlesR030.xsd",
        instance="msData/particles/particlesR030.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r029_particles_r029_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=foo, bar', R has an element from foo
    """
    assert_bindings(
        schema="msData/particles/particlesR029.xsd",
        instance="msData/particles/particlesR029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r024_particles_r024_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##targetNamespace, R has an element
    targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesR024.xsd",
        instance="msData/particles/particlesR024.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r022_particles_r022_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##local, R has an element from no namespace
    """
    assert_bindings(
        schema="msData/particles/particlesR022.xsd",
        instance="msData/particles/particlesR022.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r020_particles_r020_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##other, R has an element from foo
    """
    assert_bindings(
        schema="msData/particles/particlesR020.xsd",
        instance="msData/particles/particlesR020.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r017_particles_r017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##any, R has an element from foo
    """
    assert_bindings(
        schema="msData/particles/particlesR017.xsd",
        instance="msData/particles/particlesR017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r016_particles_r016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##any, R has an element from no namespace
    """
    assert_bindings(
        schema="msData/particles/particlesR016.xsd",
        instance="msData/particles/particlesR016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r015_particles_r015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##any, R has an element targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesR015.xsd",
        instance="msData/particles/particlesR015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r013_particles_r013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=3, B's maxOccurs=8, R's minOccurs=3, B's
    maxOccurs=4, have 2 children
    """
    assert_bindings(
        schema="msData/particles/particlesR013.xsd",
        instance="msData/particles/particlesR013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r012_particles_r012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=3, R's minOccurs=0, B's
    maxOccurs=2, but have 2 children
    """
    assert_bindings(
        schema="msData/particles/particlesR012.xsd",
        instance="msData/particles/particlesR012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r011_particles_r011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=4, R has 2 groups, each
    with maxOccurs as 4 and 0
    """
    assert_bindings(
        schema="msData/particles/particlesR011.xsd",
        instance="msData/particles/particlesR011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r009_particles_r009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=4, B's maxOccurs=4, R has 2 elements, each
    with minOccurs as 2 and 2
    """
    assert_bindings(
        schema="msData/particles/particlesR009.xsd",
        instance="msData/particles/particlesR009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r008_particles_r008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=3, R has 2 elements, each
    with maxOccurs as 2 and 2
    """
    assert_bindings(
        schema="msData/particles/particlesR008.xsd",
        instance="msData/particles/particlesR008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r007_particles_r007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=4, R has 2 elements, each
    with maxOccurs as 2 and 2
    """
    assert_bindings(
        schema="msData/particles/particlesR007.xsd",
        instance="msData/particles/particlesR007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r005_particles_r005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=unbounded, R has an
    element with minOccurs=1, maxOccurs=3
    """
    assert_bindings(
        schema="msData/particles/particlesR005.xsd",
        instance="msData/particles/particlesR005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r004_particles_r004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=3, R has an element with
    minOccurs=1, maxOccurs=3
    """
    assert_bindings(
        schema="msData/particles/particlesR004.xsd",
        instance="msData/particles/particlesR004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r003_particles_r003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=2, R's minOccurs=1, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesR003.xsd",
        instance="msData/particles/particlesR003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r002_particles_r002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=1, B's maxOccurs=1, R's minOccurs=1, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesR002.xsd",
        instance="msData/particles/particlesR002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r001_particles_r001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=1, R's minOccurs=1, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesR001.xsd",
        instance="msData/particles/particlesR001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_s011_particles_s011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:All - Recurse) (All)
    R drived by restriction from (All) B : B has (a, b), R has (a) which
    has a type that is a valid restriction from type of B
    """
    assert_bindings(
        schema="msData/particles/particlesS011.xsd",
        instance="msData/particles/particlesS011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_s007_particles_s007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:All - Recurse) (All)
    R drived by restriction from (All) B : B has (a, b, c), R has (a, b,
    c)
    """
    assert_bindings(
        schema="msData/particles/particlesS007.xsd",
        instance="msData/particles/particlesS007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_s004_particles_s004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:All - Recurse) (All)
    R drived by restriction from (All) B : B has (a, b, c), c is
    emptiable, R has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesS004.xsd",
        instance="msData/particles/particlesS004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_s003_particles_s003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:All - Recurse) (All)
    R drived by restriction from (All) B : B has (a, b, c), b and c are
    emptiable, R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesS003.xsd",
        instance="msData/particles/particlesS003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_s001_particles_s001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:All - Recurse) (All)
    R drived by restriction from (All) B : B has (a, b), R has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesS001.xsd",
        instance="msData/particles/particlesS001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_p002_particles_p002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:Any -
    NSRecurseCheckCardinality) (All) R drived by restriction from (any) B
    : B's minOccurs=1, B's maxOccurs=1, R has one child
    """
    assert_bindings(
        schema="msData/particles/particlesP002.xsd",
        instance="msData/particles/particlesP002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob060_particles_ob060_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=bar Added schemaDoc for
    xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb060.xsd",
        instance="msData/particles/particlesOb060.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob059_particles_ob059_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=foo Added schemaDoc for
    xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb059.xsd",
        instance="msData/particles/particlesOb059.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob057_particles_ob057_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=foo, ##local, bar Added
    schemaDoc for xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb057.xsd",
        instance="msData/particles/particlesOb057.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob056_particles_ob056_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=##targetNamespace, ##local
    """
    assert_bindings(
        schema="msData/particles/particlesOb056.xsd",
        instance="msData/particles/particlesOb056.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob055_particles_ob055_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=##local, foo, bar,
    ##targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesOb055.xsd",
        instance="msData/particles/particlesOb055.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob054_particles_ob054_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=foo bar' Added schemaDoc for
    xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb054.xsd",
        instance="msData/particles/particlesOb054.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob053_particles_ob053_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=##targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesOb053.xsd",
        instance="msData/particles/particlesOb053.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob052_particles_ob052_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=##local Added schemaDoc for
    xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb052.xsd",
        instance="msData/particles/particlesOb052.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob048_particles_ob048_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=foo bar', R's
    namespace=bar Added schemaDoc for xsi:schemaLoc'd additional schema,
    per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb048.xsd",
        instance="msData/particles/particlesOb048.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob047_particles_ob047_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=foo bar', R's
    namespace=foo Added schemaDoc for xsi:schemaLoc'd additional schema,
    per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb047.xsd",
        instance="msData/particles/particlesOb047.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob042_particles_ob042_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=foo bar', R's
    namespace=foo bar' Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb042.xsd",
        instance="msData/particles/particlesOb042.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob032_particles_ob032_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's
    namespace=##targetNamespace, R's namespace=##targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesOb032.xsd",
        instance="msData/particles/particlesOb032.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob022_particles_ob022_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, R's
    namespace=##local Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb022.xsd",
        instance="msData/particles/particlesOb022.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob015_particles_ob015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##other, R's
    namespace=foo bar' Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb015.xsd",
        instance="msData/particles/particlesOb015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob012_particles_ob012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##other, R's
    namespace=##other Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb012.xsd",
        instance="msData/particles/particlesOb012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob007_particles_ob007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##any, R's
    namespace=##local, foo, bar, ##targetNamespace Added schemaDoc for
    xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb007.xsd",
        instance="msData/particles/particlesOb007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob006_particles_ob006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##any, R's
    namespace=foo bar' Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb006.xsd",
        instance="msData/particles/particlesOb006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob005_particles_ob005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##any, R's
    namespace=##targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesOb005.xsd",
        instance="msData/particles/particlesOb005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob003_particles_ob003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##any, R's
    namespace=##other Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb003.xsd",
        instance="msData/particles/particlesOb003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa014_particles_oa014_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=2, B's
    maxOccurs=4, R's minOccurs=3, R's maxOccurs=3
    """
    assert_bindings(
        schema="msData/particles/particlesOa014.xsd",
        instance="msData/particles/particlesOa014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa013_particles_oa013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=2, B's
    maxOccurs=4, R's minOccurs=2, R's maxOccurs=3
    """
    assert_bindings(
        schema="msData/particles/particlesOa013.xsd",
        instance="msData/particles/particlesOa013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa012_particles_oa012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=2, B's
    maxOccurs=4, R's minOccurs=3, R's maxOccurs=4
    """
    assert_bindings(
        schema="msData/particles/particlesOa012.xsd",
        instance="msData/particles/particlesOa012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa011_particles_oa011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=2, B's
    maxOccurs=4, R's minOccurs=2, R's maxOccurs=4
    """
    assert_bindings(
        schema="msData/particles/particlesOa011.xsd",
        instance="msData/particles/particlesOa011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa006_particles_oa006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=absent, B's
    maxOccurs=absent, R's minOccurs=absent, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesOa006.xsd",
        instance="msData/particles/particlesOa006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa003_particles_oa003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=absent, B's
    maxOccurs=absent, R's minOccurs=1, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesOa003.xsd",
        instance="msData/particles/particlesOa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa001_particles_oa001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=absent, B's
    maxOccurs=absent, R's minOccurs=absent, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesOa001.xsd",
        instance="msData/particles/particlesOa001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_m035_particles_m035_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Sequence -
    RecurseAsIfGroup) element R drived by restriction from (Sequence) B :
    B's parent is choice, B=(a*, b+), R=(b+)
    """
    assert_bindings(
        schema="msData/particles/particlesM035.xsd",
        instance="msData/particles/particlesM035.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_m003_particles_m003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Sequence -
    RecurseAsIfGroup) element R drived by restriction from (Sequence) B :
    B's parent is choice, B's minOccurs=2, R's minOccurs=3
    """
    assert_bindings(
        schema="msData/particles/particlesM003.xsd",
        instance="msData/particles/particlesM003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_m002_particles_m002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Sequence -
    RecurseAsIfGroup) element R drived by restriction from (Sequence) B :
    B's parent is choice, B's minOccurs=2, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesM002.xsd",
        instance="msData/particles/particlesM002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l029_particles_l029_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with final=#all, R has
    element 'foo' with final=#all
    """
    assert_bindings(
        schema="msData/particles/particlesL029.xsd",
        instance="msData/particles/particlesL029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l028_particles_l028_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=substitution, R
    has element 'foo' with block=substitution
    """
    assert_bindings(
        schema="msData/particles/particlesL028.xsd",
        instance="msData/particles/particlesL028.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l025_particles_l025_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=substitution, R
    has element 'foo' with block=#all
    """
    assert_bindings(
        schema="msData/particles/particlesL025.xsd",
        instance="msData/particles/particlesL025.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l023_particles_l023_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=restriction, R
    has element 'foo' with block=restriction
    """
    assert_bindings(
        schema="msData/particles/particlesL023.xsd",
        instance="msData/particles/particlesL023.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l021_particles_l021_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=restriction, R
    has element 'foo' with block=#all
    """
    assert_bindings(
        schema="msData/particles/particlesL021.xsd",
        instance="msData/particles/particlesL021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l018_particles_l018_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=extension, R
    has element 'foo' with block=extension
    """
    assert_bindings(
        schema="msData/particles/particlesL018.xsd",
        instance="msData/particles/particlesL018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l017_particles_l017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=extension, R
    has element 'foo' with block=#all
    """
    assert_bindings(
        schema="msData/particles/particlesL017.xsd",
        instance="msData/particles/particlesL017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l013_particles_l013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=#all, R has
    element 'foo' with block=#all
    """
    assert_bindings(
        schema="msData/particles/particlesL013.xsd",
        instance="msData/particles/particlesL013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l012_particles_l012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with mixed=TRUE, R has
    element 'foo' with mixed=FALSE
    """
    assert_bindings(
        schema="msData/particles/particlesL012.xsd",
        instance="msData/particles/particlesL012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l007_particles_l007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B's minOccurs=B' maxOccurs=absent, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesL007.xsd",
        instance="msData/particles/particlesL007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l006_particles_l006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B's minOccurs=B' maxOccurs=absent, R's
    minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesL006.xsd",
        instance="msData/particles/particlesL006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l003_particles_l003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B's minOccurs= 2, R's maxOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesL003.xsd",
        instance="msData/particles/particlesL003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_k008_particles_k008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:All -
    RecurseAsIfGroup) element R drived by restriction from (all) B : R has
    an element (min=maxOccurs=1) from a different namespace than the
    targetNS
    """
    assert_bindings(
        schema="msData/particles/particlesK008.xsd",
        instance="msData/particles/particlesK008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_k005_particles_k005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:All -
    RecurseAsIfGroup) element R drived by restriction from (all) B : B's
    minOccurs=0, B' maxOccurs=absent, R's minOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesK005.xsd",
        instance="msData/particles/particlesK005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_k003_particles_k003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:All -
    RecurseAsIfGroup) element R drived by restriction from (all) B : B's
    minOccurs=1, B' maxOccurs=absent, R's minOccurs=absent, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesK003.xsd",
        instance="msData/particles/particlesK003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_k002_particles_k002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:All -
    RecurseAsIfGroup) element R drived by restriction from (all) B : B's
    minOccurs=absent, B' maxOccurs=1, R's minOccurs=1, R's
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesK002.xsd",
        instance="msData/particles/particlesK002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_k001_particles_k001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:All -
    RecurseAsIfGroup) element R drived by restriction from (all) B : B's
    minOccurs=1, B' maxOccurs=1, R's minOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesK001.xsd",
        instance="msData/particles/particlesK001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ju003_particles_ju003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##local, ##targetNamespace, nsFoo, nsBar), R's
    targetNamespace=targetNamespace, B's minOccurs less than R's minOccurs
    , B's maxOccurs > R's maxOccurs
    """
    assert_bindings(
        schema="msData/particles/particlesJu003.xsd",
        instance="msData/particles/particlesJu003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ju002_particles_ju002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##local, ##targetNamespace, nsFoo, nsBar), R's targetNamespace=nsFoo,
    B's minOccurs less than R's minOccurs , B's maxOccurs > R's maxOccurs
    """
    assert_bindings(
        schema="msData/particles/particlesJu002.xsd",
        instance="msData/particles/particlesJu002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ju001_particles_ju001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##local, ##targetNamespace, nsFoo, nsBar), R's
    targetNamespace=absent, B's minOccurs less than R's minOccurs , B's
    maxOccurs > R's maxOccurs
    """
    assert_bindings(
        schema="msData/particles/particlesJu001.xsd",
        instance="msData/particles/particlesJu001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_js001_particles_js001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##local), R's namespace=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJs001.xsd",
        instance="msData/particles/particlesJs001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jq010_particles_jq010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##targetNamespace), R's namespace=targetNamespace, B's
    maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJq010.xsd",
        instance="msData/particles/particlesJq010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jq008_particles_jq008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##targetNamespace), R's namespace=targetNamespace, B's maxOccurs=1,
    R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJq008.xsd",
        instance="msData/particles/particlesJq008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jq007_particles_jq007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##targetNamespace), R's namespace=targetNamespace, B's maxOccurs=1,
    R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJq007.xsd",
        instance="msData/particles/particlesJq007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jp005_particles_jp005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##targetNamespace), R's namespace=targetNamespace, B's minOccurs=1,
    R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJp005.xsd",
        instance="msData/particles/particlesJp005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jp004_particles_jp004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##targetNamespace), R's namespace=targetNamespace, B's minOccurs=1,
    R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJp004.xsd",
        instance="msData/particles/particlesJp004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jn010_particles_jn010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences), R's targetNamespace=ref of an elt from valid
    targetNS, B's maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJn010.xsd",
        instance="msData/particles/particlesJn010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jn008_particles_jn008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences), R's targetNamespace=ref of an elt from valid
    targetNS, B's maxOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJn008.xsd",
        instance="msData/particles/particlesJn008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jn007_particles_jn007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences), R's targetNamespace=ref of an elt from valid
    targetNS, B's maxOccurs=1, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJn007.xsd",
        instance="msData/particles/particlesJn007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jm005_particles_jm005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences), R's targetNamespace=ref of an elt from valid
    targetNS, B's minOccurs=1, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJm005.xsd",
        instance="msData/particles/particlesJm005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jm004_particles_jm004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences), R's targetNamespace=ref of an elt from valid
    targetNS, B's minOccurs=1, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJm004.xsd",
        instance="msData/particles/particlesJm004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jl001_particles_jl001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences [ foo, bar ]), R's targetNamespace=foo
    """
    assert_bindings(
        schema="msData/particles/particlesJl001.xsd",
        instance="msData/particles/particlesJl001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk016_particles_jk016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=absent, B's maxOccurs=2, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJk016.xsd",
        instance="msData/particles/particlesJk016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk015_particles_jk015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJk015.xsd",
        instance="msData/particles/particlesJk015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk013_particles_jk013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJk013.xsd",
        instance="msData/particles/particlesJk013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk011_particles_jk011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJk011.xsd",
        instance="msData/particles/particlesJk011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk010_particles_jk010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJk010.xsd",
        instance="msData/particles/particlesJk010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk008_particles_jk008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJk008.xsd",
        instance="msData/particles/particlesJk008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk007_particles_jk007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJk007.xsd",
        instance="msData/particles/particlesJk007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk005_particles_jk005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=0, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJk005.xsd",
        instance="msData/particles/particlesJk005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk004_particles_jk004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJk004.xsd",
        instance="msData/particles/particlesJk004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk003_particles_jk003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=999999
    """
    assert_bindings(
        schema="msData/particles/particlesJk003.xsd",
        instance="msData/particles/particlesJk003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk002_particles_jk002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJk002.xsd",
        instance="msData/particles/particlesJk002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk001_particles_jk001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJk001.xsd",
        instance="msData/particles/particlesJk001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj011_particles_jj011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJj011.xsd",
        instance="msData/particles/particlesJj011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj010_particles_jj010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJj010.xsd",
        instance="msData/particles/particlesJj010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj009_particles_jj009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJj009.xsd",
        instance="msData/particles/particlesJj009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj008_particles_jj008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJj008.xsd",
        instance="msData/particles/particlesJj008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj007_particles_jj007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJj007.xsd",
        instance="msData/particles/particlesJj007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj005_particles_jj005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJj005.xsd",
        instance="msData/particles/particlesJj005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj004_particles_jj004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJj004.xsd",
        instance="msData/particles/particlesJj004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj002_particles_jj002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJj002.xsd",
        instance="msData/particles/particlesJj002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj001_particles_jj001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJj001.xsd",
        instance="msData/particles/particlesJj001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf016_particles_jf016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=2, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJf016.xsd",
        instance="msData/particles/particlesJf016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf015_particles_jf015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJf015.xsd",
        instance="msData/particles/particlesJf015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf013_particles_jf013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJf013.xsd",
        instance="msData/particles/particlesJf013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf011_particles_jf011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJf011.xsd",
        instance="msData/particles/particlesJf011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf010_particles_jf010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJf010.xsd",
        instance="msData/particles/particlesJf010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf008_particles_jf008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJf008.xsd",
        instance="msData/particles/particlesJf008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf007_particles_jf007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJf007.xsd",
        instance="msData/particles/particlesJf007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf005_particles_jf005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=0, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJf005.xsd",
        instance="msData/particles/particlesJf005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf004_particles_jf004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJf004.xsd",
        instance="msData/particles/particlesJf004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf003_particles_jf003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=999999
    """
    assert_bindings(
        schema="msData/particles/particlesJf003.xsd",
        instance="msData/particles/particlesJf003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf002_particles_jf002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJf002.xsd",
        instance="msData/particles/particlesJf002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf001_particles_jf001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJf001.xsd",
        instance="msData/particles/particlesJf001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je011_particles_je011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJe011.xsd",
        instance="msData/particles/particlesJe011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je010_particles_je010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJe010.xsd",
        instance="msData/particles/particlesJe010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je009_particles_je009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJe009.xsd",
        instance="msData/particles/particlesJe009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je008_particles_je008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJe008.xsd",
        instance="msData/particles/particlesJe008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je007_particles_je007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJe007.xsd",
        instance="msData/particles/particlesJe007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je005_particles_je005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJe005.xsd",
        instance="msData/particles/particlesJe005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je004_particles_je004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJe004.xsd",
        instance="msData/particles/particlesJe004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je002_particles_je002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJe002.xsd",
        instance="msData/particles/particlesJe002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je001_particles_je001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJe001.xsd",
        instance="msData/particles/particlesJe001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd016_particles_jd016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=2, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJd016.xsd",
        instance="msData/particles/particlesJd016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd015_particles_jd015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=1, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJd015.xsd",
        instance="msData/particles/particlesJd015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd013_particles_jd013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=absent, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJd013.xsd",
        instance="msData/particles/particlesJd013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd011_particles_jd011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=absent, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJd011.xsd",
        instance="msData/particles/particlesJd011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd010_particles_jd010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJd010.xsd",
        instance="msData/particles/particlesJd010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd008_particles_jd008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJd008.xsd",
        instance="msData/particles/particlesJd008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd007_particles_jd007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=1, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJd007.xsd",
        instance="msData/particles/particlesJd007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd005_particles_jd005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=0, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJd005.xsd",
        instance="msData/particles/particlesJd005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd004_particles_jd004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJd004.xsd",
        instance="msData/particles/particlesJd004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd003_particles_jd003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=999999
    """
    assert_bindings(
        schema="msData/particles/particlesJd003.xsd",
        instance="msData/particles/particlesJd003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd002_particles_jd002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJd002.xsd",
        instance="msData/particles/particlesJd002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd001_particles_jd001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJd001.xsd",
        instance="msData/particles/particlesJd001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc011_particles_jc011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=1, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJc011.xsd",
        instance="msData/particles/particlesJc011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc010_particles_jc010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=0, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJc010.xsd",
        instance="msData/particles/particlesJc010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc009_particles_jc009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=absent, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJc009.xsd",
        instance="msData/particles/particlesJc009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc008_particles_jc008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=absent, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJc008.xsd",
        instance="msData/particles/particlesJc008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc007_particles_jc007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=absent, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJc007.xsd",
        instance="msData/particles/particlesJc007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc005_particles_jc005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=1, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJc005.xsd",
        instance="msData/particles/particlesJc005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc004_particles_jc004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=1, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJc004.xsd",
        instance="msData/particles/particlesJc004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc002_particles_jc002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=0, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJc002.xsd",
        instance="msData/particles/particlesJc002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc001_particles_jc001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=0, R's minOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJc001.xsd",
        instance="msData/particles/particlesJc001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb016_particles_jb016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=2, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJb016.xsd",
        instance="msData/particles/particlesJb016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb015_particles_jb015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=1, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJb015.xsd",
        instance="msData/particles/particlesJb015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb013_particles_jb013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=absent, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJb013.xsd",
        instance="msData/particles/particlesJb013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb011_particles_jb011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=absent, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJb011.xsd",
        instance="msData/particles/particlesJb011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb010_particles_jb010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJb010.xsd",
        instance="msData/particles/particlesJb010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb008_particles_jb008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJb008.xsd",
        instance="msData/particles/particlesJb008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb007_particles_jb007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=1, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJb007.xsd",
        instance="msData/particles/particlesJb007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb005_particles_jb005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=0, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJb005.xsd",
        instance="msData/particles/particlesJb005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb004_particles_jb004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJb004.xsd",
        instance="msData/particles/particlesJb004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb003_particles_jb003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=999999
    """
    assert_bindings(
        schema="msData/particles/particlesJb003.xsd",
        instance="msData/particles/particlesJb003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb002_particles_jb002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJb002.xsd",
        instance="msData/particles/particlesJb002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb001_particles_jb001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJb001.xsd",
        instance="msData/particles/particlesJb001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja011_particles_ja011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=1, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJa011.xsd",
        instance="msData/particles/particlesJa011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja010_particles_ja010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=0, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJa010.xsd",
        instance="msData/particles/particlesJa010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja009_particles_ja009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=absent, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJa009.xsd",
        instance="msData/particles/particlesJa009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja008_particles_ja008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=absent, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJa008.xsd",
        instance="msData/particles/particlesJa008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja007_particles_ja007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=absent, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJa007.xsd",
        instance="msData/particles/particlesJa007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja005_particles_ja005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=1, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJa005.xsd",
        instance="msData/particles/particlesJa005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja004_particles_ja004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=1, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJa004.xsd",
        instance="msData/particles/particlesJa004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja002_particles_ja002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=0, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJa002.xsd",
        instance="msData/particles/particlesJa002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja001_particles_ja001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=0, R's minOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJa001.xsd",
        instance="msData/particles/particlesJa001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ik026_particles_ik026_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=U1, union of simpleType s1, s2, R
    type=x1 which is drived by restriction from the U1.
    """
    assert_bindings(
        schema="msData/particles/particlesIk026.xsd",
        instance="msData/particles/particlesIk026.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ik012_particles_ik012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=simpleType with union (S1, S2), R
    type=simpleType with union (S1, S2)
    """
    assert_bindings(
        schema="msData/particles/particlesIk012.xsd",
        instance="msData/particles/particlesIk012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ik004_particles_ik004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=simpleType xsd:string, R
    type=simpleType restriction of xsd:string
    """
    assert_bindings(
        schema="msData/particles/particlesIk004.xsd",
        instance="msData/particles/particlesIk004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ik001_particles_ik001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=simpleType 'foo', R type=simpleType
    'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIk001.xsd",
        instance="msData/particles/particlesIk001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ij006_particles_ij006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=complexType 'Z' which is a drived
    by restriction of 'foo', R type=complexType 'Z' which is a drived by
    restriction of 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIj006.xsd",
        instance="msData/particles/particlesIj006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ij005_particles_ij005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=complexType 'foo', R
    type=complexType 'Z' which is a drived by restriction of 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIj005.xsd",
        instance="msData/particles/particlesIj005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ij002_particles_ij002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=complexType 'foo', R
    type=complexType 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIj002.xsd",
        instance="msData/particles/particlesIj002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ij001_particles_ij001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=absent, R type=anyType
    """
    assert_bindings(
        schema="msData/particles/particlesIj001.xsd",
        instance="msData/particles/particlesIj001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig015_particles_ig015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=empty, R
    disallowed substitutions=sub
    """
    assert_bindings(
        schema="msData/particles/particlesIg015.xsd",
        instance="msData/particles/particlesIg015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig014_particles_ig014_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=absent, R
    disallowed substitutions=sub
    """
    assert_bindings(
        schema="msData/particles/particlesIg014.xsd",
        instance="msData/particles/particlesIg014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig012_particles_ig012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=sub, ext , R
    disallowed substitutions=#all
    """
    assert_bindings(
        schema="msData/particles/particlesIg012.xsd",
        instance="msData/particles/particlesIg012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig011_particles_ig011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=res, sub, R
    disallowed substitutions=res, sub, ext
    """
    assert_bindings(
        schema="msData/particles/particlesIg011.xsd",
        instance="msData/particles/particlesIg011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig005_particles_ig005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=sub, ext, res,
    R disallowed substitutions=#all
    """
    assert_bindings(
        schema="msData/particles/particlesIg005.xsd",
        instance="msData/particles/particlesIg005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig002_particles_ig002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=extension, R
    disallowed substitutions=extension
    """
    assert_bindings(
        schema="msData/particles/particlesIg002.xsd",
        instance="msData/particles/particlesIg002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig001_particles_ig001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=substitution, R
    disallowed substitutions=substitution
    """
    assert_bindings(
        schema="msData/particles/particlesIg001.xsd",
        instance="msData/particles/particlesIg001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if006_particles_if006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B fixed=empty, R fixed=empty
    """
    assert_bindings(
        schema="msData/particles/particlesIf006.xsd",
        instance="msData/particles/particlesIf006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if005_particles_if005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B fixed=foo', R fixed=foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIf005.xsd",
        instance="msData/particles/particlesIf005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if004_particles_if004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B default=empty, R default=foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIf004.xsd",
        instance="msData/particles/particlesIf004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if003_particles_if003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B default=bar, R default=foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIf003.xsd",
        instance="msData/particles/particlesIf003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if002_particles_if002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B default=absent, R default=foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIf002.xsd",
        instance="msData/particles/particlesIf002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if001_particles_if001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B default=absent, R default=empty
    """
    assert_bindings(
        schema="msData/particles/particlesIf001.xsd",
        instance="msData/particles/particlesIf001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie016_particles_ie016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=2, R maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIe016.xsd",
        instance="msData/particles/particlesIe016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie015_particles_ie015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=1, R maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIe015.xsd",
        instance="msData/particles/particlesIe015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie013_particles_ie013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=absent, R maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIe013.xsd",
        instance="msData/particles/particlesIe013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie011_particles_ie011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=absent, R maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesIe011.xsd",
        instance="msData/particles/particlesIe011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie010_particles_ie010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=absent, R maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesIe010.xsd",
        instance="msData/particles/particlesIe010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie008_particles_ie008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=1, R maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesIe008.xsd",
        instance="msData/particles/particlesIe008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie007_particles_ie007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=1, R maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesIe007.xsd",
        instance="msData/particles/particlesIe007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie005_particles_ie005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=0, R maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesIe005.xsd",
        instance="msData/particles/particlesIe005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie004_particles_ie004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=unbounded, R maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIe004.xsd",
        instance="msData/particles/particlesIe004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie003_particles_ie003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=unbounded, R maxOccurs=999999
    """
    assert_bindings(
        schema="msData/particles/particlesIe003.xsd",
        instance="msData/particles/particlesIe003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie002_particles_ie002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=unbounded, R maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesIe002.xsd",
        instance="msData/particles/particlesIe002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie001_particles_ie001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=unbounded, R maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesIe001.xsd",
        instance="msData/particles/particlesIe001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id011_particles_id011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=1, R minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesId011.xsd",
        instance="msData/particles/particlesId011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id010_particles_id010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=0, R minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesId010.xsd",
        instance="msData/particles/particlesId010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id009_particles_id009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=absent, R minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesId009.xsd",
        instance="msData/particles/particlesId009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id008_particles_id008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=absent, R minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesId008.xsd",
        instance="msData/particles/particlesId008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id007_particles_id007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=absent, R minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesId007.xsd",
        instance="msData/particles/particlesId007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id005_particles_id005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=1, R minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesId005.xsd",
        instance="msData/particles/particlesId005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id004_particles_id004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=1, R minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesId004.xsd",
        instance="msData/particles/particlesId004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id002_particles_id002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=0, R minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesId002.xsd",
        instance="msData/particles/particlesId002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id001_particles_id001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=0, R minOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesId001.xsd",
        instance="msData/particles/particlesId001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ic007_particles_ic007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B (B is from included XSD): B
    targetNanespace=absent, R targetNanespace=foo
    """
    assert_bindings(
        schema="msData/particles/particlesIc007.xsd",
        instance="msData/particles/particlesIc007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ic006_particles_ic006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B (B is from included XSD): B
    targetNanespace=absent, R targetNanespace=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIc006.xsd",
        instance="msData/particles/particlesIc006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ic005_particles_ic005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B (B is from included XSD): B
    targetNanespace=foo, R targetNanespace=foo
    """
    assert_bindings(
        schema="msData/particles/particlesIc005.xsd",
        instance="msData/particles/particlesIc005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ic001_particles_ic001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B targetNanespace=foo, R
    targetNanespace=foo
    """
    assert_bindings(
        schema="msData/particles/particlesIc001.xsd",
        instance="msData/particles/particlesIc001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ib005_particles_ib005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B name=foo, R name=ref to group which has
    foo only
    """
    assert_bindings(
        schema="msData/particles/particlesIb005.xsd",
        instance="msData/particles/particlesIb005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ib003_particles_ib003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B name=foo, R name=ref to foo
    """
    assert_bindings(
        schema="msData/particles/particlesIb003.xsd",
        instance="msData/particles/particlesIb003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ib001_particles_ib001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B name=foo, R name=foo
    """
    assert_bindings(
        schema="msData/particles/particlesIb001.xsd",
        instance="msData/particles/particlesIb001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ia005_particles_ia005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B nillable=absent, R nillable=FALSE
    """
    assert_bindings(
        schema="msData/particles/particlesIa005.xsd",
        instance="msData/particles/particlesIa005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ia004_particles_ia004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B nillable=FALSE, R nillable=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIa004.xsd",
        instance="msData/particles/particlesIa004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ia003_particles_ia003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B nillable=absent, R nillable=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIa003.xsd",
        instance="msData/particles/particlesIa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ia002_particles_ia002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B nillable=TRUE, R nillable=TRUE
    """
    assert_bindings(
        schema="msData/particles/particlesIa002.xsd",
        instance="msData/particles/particlesIa002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ia001_particles_ia001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B nillable=FALSE, R nillable=FALSE
    """
    assert_bindings(
        schema="msData/particles/particlesIa001.xsd",
        instance="msData/particles/particlesIa001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha018_particles_ha018_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of particles: All
    has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa018.xsd",
        instance="msData/particles/particlesHa018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha017_particles_ha017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of particles: All is
    empty
    """
    assert_bindings(
        schema="msData/particles/particlesHa017.xsd",
        instance="msData/particles/particlesHa017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha016_particles_ha016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under 'sequence' (P) with minOccurs=maxOccurs=1, and the
    (P) is itself among the particles of a 'choice'
    """
    assert_bindings(
        schema="msData/particles/particlesHa016.xsd",
        instance="msData/particles/particlesHa016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha015_particles_ha015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under 'choice' (P) with minOccurs=maxOccurs=1, and the
    (P) is itself among the particles of a 'choice'
    """
    assert_bindings(
        schema="msData/particles/particlesHa015.xsd",
        instance="msData/particles/particlesHa015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha014_particles_ha014_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under group (P) with minOccurs=maxOccurs=1, and the (P)
    is itself among the particles of a 'choice'
    """
    assert_bindings(
        schema="msData/particles/particlesHa014.xsd",
        instance="msData/particles/particlesHa014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha013_particles_ha013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under 'sequence' (P) with minOccurs=maxOccurs=1, and the
    ( C) has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa013.xsd",
        instance="msData/particles/particlesHa013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha012_particles_ha012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under 'choice' (P) with minOccurs=maxOccurs=1, and the (
    C) has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa012.xsd",
        instance="msData/particles/particlesHa012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha011_particles_ha011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under group (P) with minOccurs=maxOccurs=1, and the ( C)
    has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa011.xsd",
        instance="msData/particles/particlesHa011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha010_particles_ha010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) is empty and the 'sequence' within which ( C) appears has
    minOccurs of 0
    """
    assert_bindings(
        schema="msData/particles/particlesHa010.xsd",
        instance="msData/particles/particlesHa010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha009_particles_ha009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) is empty and the 'choice' within which ( C) appears has minOccurs
    of 0
    """
    assert_bindings(
        schema="msData/particles/particlesHa009.xsd",
        instance="msData/particles/particlesHa009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha007_particles_ha007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a 'sequence' (P) with
    minOccurs=maxOccurs=1, and the (P) is itself among the particles of a
    'sequence'
    """
    assert_bindings(
        schema="msData/particles/particlesHa007.xsd",
        instance="msData/particles/particlesHa007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha006_particles_ha006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a 'choice' (P) with minOccurs=maxOccurs=1,
    and the (P) is itself among the particles of a 'sequence'
    """
    assert_bindings(
        schema="msData/particles/particlesHa006.xsd",
        instance="msData/particles/particlesHa006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha005_particles_ha005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a model group (P) with
    minOccurs=maxOccurs=1, and the (P) is itself among the particles of a
    'sequence'
    """
    assert_bindings(
        schema="msData/particles/particlesHa005.xsd",
        instance="msData/particles/particlesHa005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha004_particles_ha004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a 'sequence' (P) with
    minOccurs=maxOccurs=1, and the (S) has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa004.xsd",
        instance="msData/particles/particlesHa004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha003_particles_ha003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a 'choice' (P) with minOccurs=maxOccurs=1,
    and the (S) has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa003.xsd",
        instance="msData/particles/particlesHa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha002_particles_ha002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a model group (P) with
    minOccurs=maxOccurs=1, and the (S) has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa002.xsd",
        instance="msData/particles/particlesHa002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha001_particles_ha001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence'
    :sequence is empty
    """
    assert_bindings(
        schema="msData/particles/particlesHa001.xsd",
        instance="msData/particles/particlesHa001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fb004_particles_fb004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B=group,
    E=sequence with B as the first content particle (follow by sequence)
    """
    assert_bindings(
        schema="msData/particles/particlesFb004.xsd",
        instance="msData/particles/particlesFb004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fb001_particles_fb001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B=choice,
    E=sequence with B as the first content particle (follow by group)
    """
    assert_bindings(
        schema="msData/particles/particlesFb001.xsd",
        instance="msData/particles/particlesFb001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fa005_particles_fa005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B= 'any', E=same
    as B
    """
    assert_bindings(
        schema="msData/particles/particlesFa005.xsd",
        instance="msData/particles/particlesFa005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fa004_particles_fa004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B= group, E=same
    as B
    """
    assert_bindings(
        schema="msData/particles/particlesFa004.xsd",
        instance="msData/particles/particlesFa004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fa003_particles_fa003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B= 'choice',
    E=same as B, different annotation properties
    """
    assert_bindings(
        schema="msData/particles/particlesFa003.xsd",
        instance="msData/particles/particlesFa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fa002_particles_fa002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B= 'sequence',
    E=same as B, same annotation properties
    """
    assert_bindings(
        schema="msData/particles/particlesFa002.xsd",
        instance="msData/particles/particlesFa002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec037_particles_ec037_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (b,b,b,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc037.xsd",
        instance="msData/particles/particlesEc037.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec036_particles_ec036_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (b,a,b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc036.xsd",
        instance="msData/particles/particlesEc036.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec035_particles_ec035_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (a,a,a,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc035.xsd",
        instance="msData/particles/particlesEc035.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec034_particles_ec034_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (b,a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc034.xsd",
        instance="msData/particles/particlesEc034.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec033_particles_ec033_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (a,b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc033.xsd",
        instance="msData/particles/particlesEc033.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec032_particles_ec032_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc032.xsd",
        instance="msData/particles/particlesEc032.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec031_particles_ec031_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc031.xsd",
        instance="msData/particles/particlesEc031.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec030_particles_ec030_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (b,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc030.xsd",
        instance="msData/particles/particlesEc030.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec029_particles_ec029_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (a,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc029.xsd",
        instance="msData/particles/particlesEc029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec021_particles_ec021_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc021.xsd",
        instance="msData/particles/particlesEc021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec020_particles_ec020_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (b,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc020.xsd",
        instance="msData/particles/particlesEc020.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec019_particles_ec019_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc019.xsd",
        instance="msData/particles/particlesEc019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec018_particles_ec018_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (a,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc018.xsd",
        instance="msData/particles/particlesEc018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec017_particles_ec017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc017.xsd",
        instance="msData/particles/particlesEc017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec016_particles_ec016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc016.xsd",
        instance="msData/particles/particlesEc016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec012_particles_ec012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=1, content=choice (a|b), and the instant
    XML has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc012.xsd",
        instance="msData/particles/particlesEc012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec006_particles_ec006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=1,
    maxOccurs=absent, content=choice (a|b), and the instant XML has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc006.xsd",
        instance="msData/particles/particlesEc006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec002_particles_ec002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=0,
    maxOccurs=absent, content=choice (a|b), and the instant XML has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc002.xsd",
        instance="msData/particles/particlesEc002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec001_particles_ec001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=0,
    maxOccurs=absent, content=choice (a|b), and the instant XML has no
    element
    """
    assert_bindings(
        schema="msData/particles/particlesEc001.xsd",
        instance="msData/particles/particlesEc001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb041_particles_eb041_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Valid restriction of a content model from within
    the content model
    """
    assert_bindings(
        schema="msData/particles/particlesEb041.xsd",
        instance="msData/particles/particlesEb041.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb038_particles_eb038_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=sequence (a,b), and the instant XML has
    (a,b,a,b,a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb038.xsd",
        instance="msData/particles/particlesEb038.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb036_particles_eb036_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=sequence (a,b), and the instant XML has (a,b,a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb036.xsd",
        instance="msData/particles/particlesEb036.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb027_particles_eb027_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=sequence (a,b), and the instant
    XML has (a,b,a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb027.xsd",
        instance="msData/particles/particlesEb027.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb026_particles_eb026_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=sequence (a,b), and the instant
    XML has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb026.xsd",
        instance="msData/particles/particlesEb026.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb019_particles_eb019_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=1, content=sequence (a,b), and the instant
    XML has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb019.xsd",
        instance="msData/particles/particlesEb019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb010_particles_eb010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=1,
    maxOccurs=absent, content=sequence (a,b), and the instant XML has (a,
    b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb010.xsd",
        instance="msData/particles/particlesEb010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb003_particles_eb003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=0,
    maxOccurs=absent, content=sequence (a,b), and the instant XML has (a,
    b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb003.xsd",
        instance="msData/particles/particlesEb003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb001_particles_eb001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=0,
    maxOccurs=absent, content=sequence (a,b), and the instant XML has no
    element
    """
    assert_bindings(
        schema="msData/particles/particlesEb001.xsd",
        instance="msData/particles/particlesEb001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea018_particles_ea018_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=1, content=all (a,b), and the instant XML
    has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEa018.xsd",
        instance="msData/particles/particlesEa018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea017_particles_ea017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=1, content=all (a,b), and the instant XML
    has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesEa017.xsd",
        instance="msData/particles/particlesEa017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea015_particles_ea015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=1, content=all (a,b), and the instant XML
    has no element
    """
    assert_bindings(
        schema="msData/particles/particlesEa015.xsd",
        instance="msData/particles/particlesEa015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea011_particles_ea011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=1,
    maxOccurs=absent, content=all (a,b), and the instant XML has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEa011.xsd",
        instance="msData/particles/particlesEa011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea010_particles_ea010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=1,
    maxOccurs=absent, content=all (a,b), and the instant XML has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesEa010.xsd",
        instance="msData/particles/particlesEa010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea008_particles_ea008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=1,
    maxOccurs=absent, content=all (a,b), and the instant XML has no
    element
    """
    assert_bindings(
        schema="msData/particles/particlesEa008.xsd",
        instance="msData/particles/particlesEa008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea004_particles_ea004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=absent, content=all (a,b), and the instant
    XML has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEa004.xsd",
        instance="msData/particles/particlesEa004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea003_particles_ea003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=absent, content=all (a,b), and the instant
    XML has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesEa003.xsd",
        instance="msData/particles/particlesEa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea001_particles_ea001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=absent, content=all (a,b) with
    minOccurs="0", and the instant XML has no element
    """
    assert_bindings(
        schema="msData/particles/particlesEa001.xsd",
        instance="msData/particles/particlesEa001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_dc007_particles_dc007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=TRUE, block =extension restriction, instant element name
    resolved to element declared as a valid substitution group
    """
    assert_bindings(
        schema="msData/particles/particlesDc007.xsd",
        instance="msData/particles/particlesDc007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_dc003_particles_dc003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=TRUE, block =restriction, instant element name resolved to
    element declared as a valid substitution group
    """
    assert_bindings(
        schema="msData/particles/particlesDc003.xsd",
        instance="msData/particles/particlesDc003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_dc002_particles_dc002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=TRUE, block =extension, instant element name resolved to
    element declared as a valid substitution group
    """
    assert_bindings(
        schema="msData/particles/particlesDc002.xsd",
        instance="msData/particles/particlesDc002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_dc001_particles_dc001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=FALSE, block =absent, instant element name resolved to
    element declared as a valid substitution group
    """
    assert_bindings(
        schema="msData/particles/particlesDc001.xsd",
        instance="msData/particles/particlesDc001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_db007_particles_db007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=FALSE, instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesDb007.xsd",
        instance="msData/particles/particlesDb007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_db002_particles_db002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=absent, instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesDb002.xsd",
        instance="msData/particles/particlesDb002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_da002_particles_da002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=local,
    abstract=absent, instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesDa002.xsd",
        instance="msData/particles/particlesDa002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c046_particles_c046_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##targetNamespace bar ##local', instant element's namespace is
    'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC046.xsd",
        instance="msData/particles/particlesC046.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c045_particles_c045_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##targetNamespace bar ##local', instant element's namespace is
    unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC045.xsd",
        instance="msData/particles/particlesC045.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c044_particles_c044_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##targetNamespace bar ##local', instant element's namespace is 'bar'
    """
    assert_bindings(
        schema="msData/particles/particlesC044.xsd",
        instance="msData/particles/particlesC044.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c043_particles_c043_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##targetNamespace bar ##local', instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC043.xsd",
        instance="msData/particles/particlesC043.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c041_particles_c041_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=
    '##targetNamespace ##local', instant element's namespace is
    unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC041.xsd",
        instance="msData/particles/particlesC041.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c040_particles_c040_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=
    '##targetNamespace ##local', instant element's namespace is
    'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC040.xsd",
        instance="msData/particles/particlesC040.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c037_particles_c037_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##local', instant element's namespace is unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC037.xsd",
        instance="msData/particles/particlesC037.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c034_particles_c034_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##local', instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC034.xsd",
        instance="msData/particles/particlesC034.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c030_particles_c030_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo bar
    ##targetNamespace', instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC030.xsd",
        instance="msData/particles/particlesC030.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c029_particles_c029_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo bar
    ##targetNamespace', instant element's namespace is 'bar'
    """
    assert_bindings(
        schema="msData/particles/particlesC029.xsd",
        instance="msData/particles/particlesC029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c028_particles_c028_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo bar
    ##targetNamespace', instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC028.xsd",
        instance="msData/particles/particlesC028.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c027_particles_c027_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= ##local,
    instant element's namespace is unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC027.xsd",
        instance="msData/particles/particlesC027.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c021_particles_c021_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=
    ##targetNamespace, instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC021.xsd",
        instance="msData/particles/particlesC021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c016_particles_c016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo bar',
    instant element's namespace is 'bar'
    """
    assert_bindings(
        schema="msData/particles/particlesC016.xsd",
        instance="msData/particles/particlesC016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c015_particles_c015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo bar',
    instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC015.xsd",
        instance="msData/particles/particlesC015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c011_particles_c011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=
    'http://xslt', instant element's namespace is 'http://xslt'
    """
    assert_bindings(
        schema="msData/particles/particlesC011.xsd",
        instance="msData/particles/particlesC011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c008_particles_c008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=##other,
    instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC008.xsd",
        instance="msData/particles/particlesC008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c006_particles_c006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=##any,
    instant element's namespace is unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC006.xsd",
        instance="msData/particles/particlesC006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c005_particles_c005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=##any,
    instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC005.xsd",
        instance="msData/particles/particlesC005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c004_particles_c004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=##any,
    instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC004.xsd",
        instance="msData/particles/particlesC004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c003_particles_c003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=absent
    (default to ##any), instant element's namespace is unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC003.xsd",
        instance="msData/particles/particlesC003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c002_particles_c002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=absent
    (default to ##any), instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC002.xsd",
        instance="msData/particles/particlesC002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c001_particles_c001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=absent
    (default to ##any), instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC001.xsd",
        instance="msData/particles/particlesC001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )

import pytest

from tests.utils import assert_bindings


def test_g_day_min_inclusive005_1268_g_day_min_inclusive005_1268_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=- - -01
    and facet=maxExclusive and value=- - -30) and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_minInclusive005.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_min_inclusive004_1267_g_day_min_inclusive004_1267_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=- - -01
    and facet=maxInclusive and value=- - -30) and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_minInclusive004.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_min_inclusive003_1266_g_day_min_inclusive003_1266_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=- - -01
    and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_minInclusive003.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_min_inclusive001_1264_g_day_min_inclusive001_1264_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=- - -01
    and document value=- - -01
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_minInclusive001.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_max_exclusive003_1263_g_day_max_exclusive003_1263_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=- - -30
    and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_max_inclusive003_1260_g_day_max_inclusive003_1260_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=- - -30
    and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_max_inclusive001_1258_g_day_max_inclusive001_1258_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=- - -01
    and document value=- - -01
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_enumeration004_1257_g_day_enumeration004_1257_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=- - -15 -
    - -01 - - -30 and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_enumeration004.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_enumeration002_1255_g_day_enumeration002_1255_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=- - -15
    and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_enumeration002.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_day_pattern001_1253_g_day_pattern001_1253_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and value=- - -[0-9]{2}
    and document value=- - -15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gDay/gDay_pattern001.xsd",
        instance="msData/datatypes/Facets/gDay/gDay_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_exclusive005_1252_g_month_day_min_exclusive005_1252_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=-
    -01-01 and facet=maxExclusive and value=- -10-01) and document value=-
    -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive005.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_exclusive004_1251_g_month_day_min_exclusive004_1251_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=-
    -01-01 and facet=maxInclusive and value=- -10-01) and document value=-
    -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive004.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_exclusive003_1250_g_month_day_min_exclusive003_1250_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=- -01-01
    and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive003.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_inclusive005_1247_g_month_day_min_inclusive005_1247_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=-
    -01-01 and facet=maxExclusive and value=- -10-01) and document value=-
    -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive005.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_inclusive004_1246_g_month_day_min_inclusive004_1246_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=-
    -01-01 and facet=maxInclusive and value=- -10-01) and document value=-
    -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive004.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_inclusive003_1245_g_month_day_min_inclusive003_1245_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=- -01-01
    and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive003.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_min_inclusive001_1243_g_month_day_min_inclusive001_1243_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=- -01-01
    and document value=- -01-01
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive001.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_max_exclusive003_1242_g_month_day_max_exclusive003_1242_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=- -10-01
    and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_max_inclusive003_1239_g_month_day_max_inclusive003_1239_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=- -10-01
    and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_max_inclusive001_1237_g_month_day_max_inclusive001_1237_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=- -01-01
    and document value=- -01-01
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_enumeration004_1236_g_month_day_enumeration004_1236_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=- -03-15
    - -01-01 - -10-01 and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_enumeration004.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_enumeration002_1234_g_month_day_enumeration002_1234_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=- -03-15
    and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_enumeration002.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_month_day_pattern001_1232_g_month_day_pattern001_1232_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and value=-
    -[0-9]{2}-[0-9]{2} and document value=- -03-15
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gMonthDay/gMonthDay_pattern001.xsd",
        instance="msData/datatypes/Facets/gMonthDay/gMonthDay_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_exclusive005_1231_g_year_min_exclusive005_1231_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1998
    and facet=maxExclusive and value=2002) and document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minExclusive005.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_exclusive004_1230_g_year_min_exclusive004_1230_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1998
    and facet=maxInclusive and value=2002) and document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minExclusive004.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_exclusive003_1229_g_year_min_exclusive003_1229_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=1998 and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minExclusive003.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_inclusive005_1226_g_year_min_inclusive005_1226_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1998
    and facet=maxExclusive and value=2002) and document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minInclusive005.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_inclusive004_1225_g_year_min_inclusive004_1225_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1998
    and facet=maxInclusive and value=2002) and document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minInclusive004.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_inclusive003_1224_g_year_min_inclusive003_1224_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1998 and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minInclusive003.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_min_inclusive001_1222_g_year_min_inclusive001_1222_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1998 and
    document value=1998
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_minInclusive001.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_max_exclusive003_1221_g_year_max_exclusive003_1221_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=2002 and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_max_inclusive003_1218_g_year_max_inclusive003_1218_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=2002 and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_max_inclusive001_1216_g_year_max_inclusive001_1216_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=1998 and
    document value=1998
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_enumeration004_1215_g_year_enumeration004_1215_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=2000 1999
    2038 and document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_enumeration004.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_enumeration002_1213_g_year_enumeration002_1213_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=2000 and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_enumeration002.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_pattern001_1211_g_year_pattern001_1211_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and value=[0-9]{4} and
    document value=2000
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYear/gYear_pattern001.xsd",
        instance="msData/datatypes/Facets/gYear/gYear_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_exclusive005_1210_g_year_month_min_exclusive005_1210_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=2000-12
    and facet=maxExclusive and value=2001-12) and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive005.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_exclusive004_1209_g_year_month_min_exclusive004_1209_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=2000-12
    and facet=maxInclusive and value=2001-12) and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive004.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_exclusive003_1208_g_year_month_min_exclusive003_1208_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=2000-12
    and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive003.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_inclusive005_1205_g_year_month_min_inclusive005_1205_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=2000-12
    and facet=maxExclusive and value=2001-12) and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive005.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_inclusive004_1204_g_year_month_min_inclusive004_1204_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=2000-12
    and facet=maxInclusive and value=2001-12) and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive004.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_inclusive003_1203_g_year_month_min_inclusive003_1203_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=2000-12
    and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive003.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_min_inclusive001_1201_g_year_month_min_inclusive001_1201_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=2000-12
    and document value=2000-12
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive001.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_max_exclusive003_1200_g_year_month_max_exclusive003_1200_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=2001-12
    and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_max_inclusive003_1197_g_year_month_max_inclusive003_1197_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=2001-12
    and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_max_inclusive001_1195_g_year_month_max_inclusive001_1195_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=2000-12
    and document value=2000-12
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_enumeration004_1194_g_year_month_enumeration004_1194_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=2001-03
    2000-10 2001-12 and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_enumeration004.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_enumeration002_1192_g_year_month_enumeration002_1192_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=2001-03
    and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_enumeration002.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_g_year_month_pattern001_1190_g_year_month_pattern001_1190_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{4}-[0-9]{2} and document value=2001-03
    """
    assert_bindings(
        schema="msData/datatypes/Facets/gYearMonth/gYearMonth_pattern001.xsd",
        instance="msData/datatypes/Facets/gYearMonth/gYearMonth_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_exclusive005_1189_date_min_exclusive005_1189_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=1999-01-31 and facet=maxExclusive and value=2000-05-31) and
    document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minExclusive005.xsd",
        instance="msData/datatypes/Facets/date/date_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_exclusive004_1188_date_min_exclusive004_1188_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=1999-01-31 and facet=maxInclusive and value=2000-05-31) and
    document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minExclusive004.xsd",
        instance="msData/datatypes/Facets/date/date_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_exclusive003_1187_date_min_exclusive003_1187_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and
    value=1999-01-31 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minExclusive003.xsd",
        instance="msData/datatypes/Facets/date/date_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_inclusive005_1184_date_min_inclusive005_1184_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=1999-01-31 and facet=maxExclusive and value=2000-05-31) and
    document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minInclusive005.xsd",
        instance="msData/datatypes/Facets/date/date_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_inclusive004_1183_date_min_inclusive004_1183_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=1999-01-31 and facet=maxInclusive and value=2000-05-31) and
    document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minInclusive004.xsd",
        instance="msData/datatypes/Facets/date/date_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_inclusive003_1182_date_min_inclusive003_1182_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=1999-01-31 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minInclusive003.xsd",
        instance="msData/datatypes/Facets/date/date_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_min_inclusive001_1180_date_min_inclusive001_1180_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=1999-01-31 and document value=1999-01-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_minInclusive001.xsd",
        instance="msData/datatypes/Facets/date/date_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_max_exclusive003_1179_date_max_exclusive003_1179_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and
    value=2000-05-31 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/date/date_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_max_inclusive003_1176_date_max_inclusive003_1176_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=2000-05-31 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/date/date_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_max_inclusive001_1174_date_max_inclusive001_1174_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=1999-01-31 and document value=1999-01-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/date/date_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_enumeration004_1173_date_enumeration004_1173_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=1999-05-31 1999-07-31 2000-03-10 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_enumeration004.xsd",
        instance="msData/datatypes/Facets/date/date_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_enumeration002_1171_date_enumeration002_1171_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=1999-05-31 and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_enumeration002.xsd",
        instance="msData/datatypes/Facets/date/date_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_pattern001_1169_date_pattern001_1169_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{4}-[0-9]{2}-[0-9]{2} and document value=1999-05-31
    """
    assert_bindings(
        schema="msData/datatypes/Facets/date/date_pattern001.xsd",
        instance="msData/datatypes/Facets/date/date_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_exclusive005_1168_time_min_exclusive005_1168_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=10:21:00-05:00 and facet=maxExclusive and value=13:20:00-04:00)
    and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minExclusive005.xsd",
        instance="msData/datatypes/Facets/time/time_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_exclusive004_1167_time_min_exclusive004_1167_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=10:21:00-05:00 and facet=maxInclusive and value=13:20:00-04:00)
    and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minExclusive004.xsd",
        instance="msData/datatypes/Facets/time/time_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_exclusive003_1166_time_min_exclusive003_1166_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and
    value=10:21:00-05:00 and document value=13:20:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minExclusive003.xsd",
        instance="msData/datatypes/Facets/time/time_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_inclusive005_1162_time_min_inclusive005_1162_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=10:21:00-05:00 and facet=maxExclusive and value=13:20:00-04:00)
    and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minInclusive005.xsd",
        instance="msData/datatypes/Facets/time/time_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_inclusive004_1161_time_min_inclusive004_1161_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=10:21:00-05:00 and facet=maxInclusive and value=13:20:00-04:00)
    and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minInclusive004.xsd",
        instance="msData/datatypes/Facets/time/time_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_inclusive003_1160_time_min_inclusive003_1160_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=10:21:00-05:00 and document value=13:20:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minInclusive003.xsd",
        instance="msData/datatypes/Facets/time/time_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_min_inclusive001_1158_time_min_inclusive001_1158_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=10:21:00-05:00 and document value=10:21:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_minInclusive001.xsd",
        instance="msData/datatypes/Facets/time/time_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_max_exclusive003_1157_time_max_exclusive003_1157_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and
    value=13:20:00-04:00 and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/time/time_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_max_inclusive003_1154_time_max_inclusive003_1154_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=13:20:00-04:00 and document value=13:20:00-03:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/time/time_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_max_inclusive001_1152_time_max_inclusive001_1152_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=10:21:00-05:00 and document value=10:21:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/time/time_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_enumeration004_1151_time_enumeration004_1151_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=13:20:00-05:00 13:20:00 01:50:40 and document
    value=13:20:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_enumeration004.xsd",
        instance="msData/datatypes/Facets/time/time_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_enumeration002_1149_time_enumeration002_1149_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=13:20:00-05:00 and document value=13:20:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_enumeration002.xsd",
        instance="msData/datatypes/Facets/time/time_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_time_pattern001_1147_time_pattern001_1147_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{1,2}:[0-9]{2}:[0-9]{2}-[0-9]{2}:[0-9]{2} and document
    value=13:20:00-05:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/time/time_pattern001.xsd",
        instance="msData/datatypes/Facets/time/time_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_exclusive005_1146_date_time_min_exclusive005_1146_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=1981-03-12T10:30:00 and facet=maxExclusive and
    value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minExclusive005.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_exclusive004_1145_date_time_min_exclusive004_1145_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=1981-03-12T10:30:00 and facet=maxInclusive and
    value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minExclusive004.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_exclusive003_1144_date_time_min_exclusive003_1144_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and
    value=1981-03-12T10:30:00 and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minExclusive003.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_inclusive005_1141_date_time_min_inclusive005_1141_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=1981-03-12T10:30:00 and facet=maxExclusive and
    value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minInclusive005.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_inclusive004_1140_date_time_min_inclusive004_1140_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=1981-03-12T10:30:00 and facet=maxInclusive and
    value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minInclusive004.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_inclusive003_1139_date_time_min_inclusive003_1139_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=1981-03-12T10:30:00 and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minInclusive003.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_min_inclusive001_1137_date_time_min_inclusive001_1137_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and
    value=1981-03-12T10:30:00 and document value=1981-03-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_minInclusive001.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_max_exclusive003_1136_date_time_max_exclusive003_1136_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and
    value=1999-05-12T10:31:00 and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_max_inclusive003_1133_date_time_max_inclusive003_1133_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=1999-05-12T10:31:00 and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_max_inclusive001_1131_date_time_max_inclusive001_1131_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and
    value=1981-03-12T10:30:00 and document value=1981-03-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_enumeration005b_1130_date_time_enumeration005b_1130_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : XSD: XsdDateTime comparison of
    identical representations of the time zones(b)
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_enumeration005.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_enumeration005b.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_enumeration005a_1129_date_time_enumeration005a_1129_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : XSD: XsdDateTime comparison of
    identical representations of the time zones(a)
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_enumeration005.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_enumeration005a.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_enumeration004_1128_date_time_enumeration004_1128_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=1985-04-12T10:30:00 1985-04-12T12:00:00 1999-07-31T01:00:00 and
    document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_enumeration004.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_enumeration002_1126_date_time_enumeration002_1126_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and
    value=1985-04-12T10:30:00 and document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_enumeration002.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_date_time_pattern001_1124_date_time_pattern001_1124_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{1,2}:[0-9]{2}:[0-9]{2} and
    document value=1985-04-12T10:30:00
    """
    assert_bindings(
        schema="msData/datatypes/Facets/dateTime/dateTime_pattern001.xsd",
        instance="msData/datatypes/Facets/dateTime/dateTime_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_exclusive005_1123_duration_min_exclusive005_1123_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=P1Y1MT1H and facet=maxExclusive and value=P2Y3MT2H) and document
    value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minExclusive005.xsd",
        instance="msData/datatypes/Facets/duration/duration_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_exclusive004_1122_duration_min_exclusive004_1122_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and
    value=P1Y1MT1H and facet=maxInclusive and value=P2Y3MT2H) and document
    value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minExclusive004.xsd",
        instance="msData/datatypes/Facets/duration/duration_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_exclusive003_1121_duration_min_exclusive003_1121_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=P1Y1MT1H
    and document value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minExclusive003.xsd",
        instance="msData/datatypes/Facets/duration/duration_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_inclusive005_1118_duration_min_inclusive005_1118_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=P1Y1MT1H and facet=maxExclusive and value=P2Y3MT2H) and document
    value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minInclusive005.xsd",
        instance="msData/datatypes/Facets/duration/duration_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_inclusive004_1117_duration_min_inclusive004_1117_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and
    value=P1Y1MT1H and facet=maxInclusive and value=P2Y3MT2H) and document
    value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minInclusive004.xsd",
        instance="msData/datatypes/Facets/duration/duration_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_inclusive003_1116_duration_min_inclusive003_1116_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=P1Y1MT1H
    and document value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minInclusive003.xsd",
        instance="msData/datatypes/Facets/duration/duration_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_min_inclusive001_1114_duration_min_inclusive001_1114_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=P1Y1MT1H
    and document value=P1Y1MT1H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_minInclusive001.xsd",
        instance="msData/datatypes/Facets/duration/duration_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_max_exclusive003_1113_duration_max_exclusive003_1113_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=P2Y3MT2H
    and document value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/duration/duration_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_max_inclusive003_1110_duration_max_inclusive003_1110_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=P2Y3MT2H
    and document value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/duration/duration_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_max_inclusive001_1108_duration_max_inclusive001_1108_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=P1Y1MT1H
    and document value=P1Y1MT1H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/duration/duration_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_enumeration004_1107_duration_enumeration004_1107_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=P1347Y
    P1347M P1Y2MT2H and document value=P1347Y
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_enumeration004.xsd",
        instance="msData/datatypes/Facets/duration/duration_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_enumeration002_1105_duration_enumeration002_1105_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=P1347Y
    and document value=P1347Y
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_enumeration002.xsd",
        instance="msData/datatypes/Facets/duration/duration_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_duration_pattern001_1103_duration_pattern001_1103_v(mode, save_output, output_format):
    r"""
    TEST :Facet Schemas for string : facet=pattern and
    value=P\p{Nd}{1,4}Y\p{Nd}{1,2}MT\p{Nd}{1,2}H and document
    value=P1Y2MT2H
    """
    assert_bindings(
        schema="msData/datatypes/Facets/duration/duration_pattern001.xsd",
        instance="msData/datatypes/Facets/duration/duration_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_exclusive005_1102_double_min_exclusive005_1102_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minExclusive005.xsd",
        instance="msData/datatypes/Facets/double/double_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_exclusive004_1101_double_min_exclusive004_1101_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minExclusive004.xsd",
        instance="msData/datatypes/Facets/double/double_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_exclusive003_1100_double_min_exclusive003_1100_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minExclusive003.xsd",
        instance="msData/datatypes/Facets/double/double_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_inclusive005_1097_double_min_inclusive005_1097_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minInclusive005.xsd",
        instance="msData/datatypes/Facets/double/double_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_inclusive004_1096_double_min_inclusive004_1096_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minInclusive004.xsd",
        instance="msData/datatypes/Facets/double/double_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_inclusive003_1095_double_min_inclusive003_1095_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minInclusive003.xsd",
        instance="msData/datatypes/Facets/double/double_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_min_inclusive001_1093_double_min_inclusive001_1093_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_minInclusive001.xsd",
        instance="msData/datatypes/Facets/double/double_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_max_exclusive003_1092_double_max_exclusive003_1092_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/double/double_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_max_inclusive003_1089_double_max_inclusive003_1089_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/double/double_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_max_inclusive001_1087_double_max_inclusive001_1087_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/double/double_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_enumeration004_1086_double_enumeration004_1086_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 3.14
    2.718 and document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_enumeration004.xsd",
        instance="msData/datatypes/Facets/double/double_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_enumeration002_1084_double_enumeration002_1084_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_enumeration002.xsd",
        instance="msData/datatypes/Facets/double/double_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_double_pattern001_1082_double_pattern001_1082_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{0,2}.[0-9]{0,2} and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/double/double_pattern001.xsd",
        instance="msData/datatypes/Facets/double/double_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_exclusive005_1081_float_min_exclusive005_1081_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minExclusive005.xsd",
        instance="msData/datatypes/Facets/float/float_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_exclusive004_1080_float_min_exclusive004_1080_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minExclusive004.xsd",
        instance="msData/datatypes/Facets/float/float_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_exclusive003_1079_float_min_exclusive003_1079_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minExclusive003.xsd",
        instance="msData/datatypes/Facets/float/float_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_inclusive005_1076_float_min_inclusive005_1076_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minInclusive005.xsd",
        instance="msData/datatypes/Facets/float/float_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_inclusive004_1075_float_min_inclusive004_1075_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minInclusive004.xsd",
        instance="msData/datatypes/Facets/float/float_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_inclusive003_1074_float_min_inclusive003_1074_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minInclusive003.xsd",
        instance="msData/datatypes/Facets/float/float_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_min_inclusive001_1072_float_min_inclusive001_1072_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_minInclusive001.xsd",
        instance="msData/datatypes/Facets/float/float_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_max_exclusive003_1071_float_max_exclusive003_1071_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/float/float_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_max_inclusive003_1068_float_max_inclusive003_1068_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/float/float_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_max_inclusive001_1066_float_max_inclusive001_1066_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/float/float_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_enumeration004_1065_float_enumeration004_1065_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 3.14
    2.718 and document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_enumeration004.xsd",
        instance="msData/datatypes/Facets/float/float_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_enumeration002_1063_float_enumeration002_1063_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_enumeration002.xsd",
        instance="msData/datatypes/Facets/float/float_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_float_pattern001_1061_float_pattern001_1061_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{0,2}.[0-9]{0,2} and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/float/float_pattern001.xsd",
        instance="msData/datatypes/Facets/float/float_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_total_digits004_1060_decimal_total_digits004_1060_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : XSD: totalDigits calculartion for
    xs:decimal
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_totalDigits004.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_totalDigits004.xml",
        class_name="T1",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_total_digits003_1059_decimal_total_digits003_1059_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=totalDigits and value=4 and
    document value=123
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_totalDigits003.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_totalDigits003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_total_digits002_1058_decimal_total_digits002_1058_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=totalDigits and value=3 and
    document value=123
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_totalDigits002.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_totalDigits002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_exclusive005_1056_decimal_min_exclusive005_1056_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minExclusive005.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minExclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_exclusive004_1055_decimal_min_exclusive004_1055_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minExclusive004.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minExclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_exclusive003_1054_decimal_min_exclusive003_1054_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minExclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minExclusive003.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_inclusive005_1051_decimal_min_inclusive005_1051_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxExclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minInclusive005.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minInclusive005.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_inclusive004_1050_decimal_min_inclusive004_1050_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and
    facet=maxInclusive and value=7.7) and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minInclusive004.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minInclusive004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_inclusive003_1049_decimal_min_inclusive003_1049_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minInclusive003.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_min_inclusive001_1047_decimal_min_inclusive001_1047_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_minInclusive001.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_minInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_max_exclusive003_1046_decimal_max_exclusive003_1046_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxExclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_maxExclusive003.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_maxExclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_max_inclusive003_1043_decimal_max_inclusive003_1043_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=7.7 and
    document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_maxInclusive003.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_maxInclusive003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_max_inclusive001_1041_decimal_max_inclusive001_1041_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxInclusive and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_maxInclusive001.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_maxInclusive001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_enumeration004_1040_decimal_enumeration004_1040_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 3.14
    2.718 and document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_enumeration004.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_enumeration002_1038_decimal_enumeration002_1038_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=1.1 and
    document value=1.1
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_enumeration002.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_decimal_pattern001_1036_decimal_pattern001_1036_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and
    value=[0-9]{0,2}.[0-9]{0,2} and document value=5.55
    """
    assert_bindings(
        schema="msData/datatypes/Facets/decimal/decimal_pattern001.xsd",
        instance="msData/datatypes/Facets/decimal/decimal_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_enumeration004_1035_string_enumeration004_1035_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=foo 123
    foo123 and document value=foo
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_enumeration004.xsd",
        instance="msData/datatypes/Facets/string/string_enumeration004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_enumeration002_1033_string_enumeration002_1033_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=enumeration and value=foo and
    document value=foo
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_enumeration002.xsd",
        instance="msData/datatypes/Facets/string/string_enumeration002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_pattern001_1030_string_pattern001_1030_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=pattern and value=[a-z]{3} and
    document value=abc
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_pattern001.xsd",
        instance="msData/datatypes/Facets/string/string_pattern001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_max_length003_1029_string_max_length003_1029_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxLength and value=6 and
    document value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_maxLength003.xsd",
        instance="msData/datatypes/Facets/string/string_maxLength003.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_max_length002_1028_string_max_length002_1028_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=maxLength and value=5 and
    document value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_maxLength002.xsd",
        instance="msData/datatypes/Facets/string/string_maxLength002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_min_length004_1026_string_min_length004_1026_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : (facet=minLength and value=4 and
    facet=maxLength and value=6) and document value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_minLength004.xsd",
        instance="msData/datatypes/Facets/string/string_minLength004.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_min_length002_1024_string_min_length002_1024_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minLength and value=5 and
    document value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_minLength002.xsd",
        instance="msData/datatypes/Facets/string/string_minLength002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_min_length001_1023_string_min_length001_1023_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=minLength and value=4 and
    document value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_minLength001.xsd",
        instance="msData/datatypes/Facets/string/string_minLength001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_string_length002_1021_string_length002_1021_v(mode, save_output, output_format):
    """
    TEST :Facet Schemas for string : facet=length and value=5 and document
    value=abcde
    """
    assert_bindings(
        schema="msData/datatypes/Facets/string/string_length002.xsd",
        instance="msData/datatypes/Facets/string/string_length002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z029_elem_z029_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: an element can have a default value constraints and
    xsi:nil=true
    """
    assert_bindings(
        schema="msData/element/elemZ029.xsd",
        instance="msData/element/elemZ029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700g2_qfe1700g2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : G2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700g.xsd",
        instance="msData/element/QFE1700g2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700f2_qfe1700f2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : F2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700f.xsd",
        instance="msData/element/QFE1700f2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700f1_qfe1700f1_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : F1:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700f.xsd",
        instance="msData/element/QFE1700f1.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700e2_qfe1700e2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : E2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700e.xsd",
        instance="msData/element/QFE1700e2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700e1_qfe1700e1_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : E1:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700e.xsd",
        instance="msData/element/QFE1700e1.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700c2_qfe1700c2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : C2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700c.xsd",
        instance="msData/element/QFE1700c2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700b2_qfe1700b2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : B2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700b.xsd",
        instance="msData/element/QFE1700b2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700b1_qfe1700b1_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : B1:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700b.xsd",
        instance="msData/element/QFE1700b1.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700a3_qfe1700a3_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : A3:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700a.xsd",
        instance="msData/element/QFE1700a3.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700a2_qfe1700a2_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : A2:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700a.xsd",
        instance="msData/element/QFE1700a2.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_qfe1700a1_qfe1700a1_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : A1:XmlValidation for xsi:nil="false" even though
    processContents="skip"
    """
    assert_bindings(
        schema="msData/element/QFE1700a.xsd",
        instance="msData/element/QFE1700a1.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z022b_elem_z022b_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: Wildcard prohibited element through a
    substitutionGroup(2)
    """
    assert_bindings(
        schema="msData/element/test115478_b.xsd",
        instance="msData/element/test115478_b.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z021e_elem_z021e_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: member of substitutionGroup and local particle with
    the same qualified name (5)
    """
    assert_bindings(
        schema="msData/element/test115044_3.xsd",
        instance="msData/element/test115044_a.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z021d_elem_z021d_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: member of substitutionGroup and local particle with
    the same qualified name (4)
    """
    assert_bindings(
        schema="msData/element/test115044_2.xsd",
        instance="msData/element/test115044_b.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z021c_elem_z021c_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: member of substitutionGroup and local particle with
    the same qualified name (3)
    """
    assert_bindings(
        schema="msData/element/test115044_2.xsd",
        instance="msData/element/test115044_a.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z021a_elem_z021a_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: member of substitutionGroup and local particle with
    the same qualified name (1)
    """
    assert_bindings(
        schema="msData/element/test115044_1.xsd",
        instance="msData/element/test115044_a.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z020_elem_z020_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : xsd: when substitutionGroup exists, we shold not change
    content model as if it is a choice
    """
    assert_bindings(
        schema="msData/element/elemZ020.xsd",
        instance="msData/element/elemZ020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z019_elem_z019_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : XSD: Namespace URIs should not be canonicalized if they
    are GUIDs, XDR uses this GUID for datatype declarations
    """
    assert_bindings(
        schema="msData/element/elemZ019.xsd",
        instance="msData/element/elemZ019.xml",
        class_name="Series",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z018_elem_z018_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Schema with deep nested nodes (>14 nested levels)
    """
    assert_bindings(
        schema="msData/element/elemZ018.xsd",
        instance="msData/element/elemZ018.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z016_elem_z016_i(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : xsd: element with childNodes typed=ID, dupe ID should be
    invalid. Becomes valid in XSD 1.1 (two child elements of type xs:ID
    are permitted if the ID is the same)
    """
    assert_bindings(
        schema="msData/element/elemZ016.xsd",
        instance="msData/element/elemZ016.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z014_elem_z014_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : xsi:type references and namespace alias for parent
    element
    """
    assert_bindings(
        schema="msData/element/elemZ014.xsd",
        instance="msData/element/elemZ014.xml",
        class_name="RootElem",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z010_elem_z010_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Components in A may be indirectly using components from
    C. Lets assume that a type declared in B derives from one in C (which
    is possible because B imports C). Document A can declare elements
    using that type because it includes B. Such use obviously involves
    information from the base type in C as will as the explicit reference
    in B.
    """
    assert_bindings(
        schema="msData/element/elemZ010.xsd",
        instance="msData/element/elemZ010.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z009_elem_z009_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Components in A may be indirectly using components from
    C. Lets assume that a type declared in B derives from one in C (which
    is possible because B imports C). Document A can declare elements
    using that type because it includes B. Such use obviously involves
    information from the base type in C as will as the explicit reference
    in B.
    """
    assert_bindings(
        schema="msData/element/elemZ009.xsd",
        instance="msData/element/elemZ009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z003_elem_z003_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : 72898 - subsitutionGroup with deep chains
    """
    assert_bindings(
        schema="msData/element/elemZ003.xsd",
        instance="msData/element/elemZ003.xml",
        class_name="Container",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z002_elem_z002_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : 67493 - xsd: xsi:type should allowed predefined types as
    valid value.
    """
    assert_bindings(
        schema="msData/element/elemZ002.xsd",
        instance="msData/element/elemZ002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_z001_elem_z001_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : 81682 - Element with xsi:nil value set to true and
    xsi:type value
    """
    assert_bindings(
        schema="msData/element/elemZ001.xsd",
        instance="msData/element/elemZ001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u024_elem_u024_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "(ab){2}x"
    """
    assert_bindings(
        schema="msData/element/elemU024.xsd",
        instance="msData/element/elemU024.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u023_elem_u023_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "ab{2,}x"
    """
    assert_bindings(
        schema="msData/element/elemU023.xsd",
        instance="msData/element/elemU023.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u022_elem_u022_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "ab{2,4}x"
    """
    assert_bindings(
        schema="msData/element/elemU022.xsd",
        instance="msData/element/elemU022.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u021_elem_u021_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "ab{2}x"
    """
    assert_bindings(
        schema="msData/element/elemU021.xsd",
        instance="msData/element/elemU021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u020_elem_u020_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string ".*abc.*"
    """
    assert_bindings(
        schema="msData/element/elemU020.xsd",
        instance="msData/element/elemU020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u019_elem_u019_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string ".x"
    """
    assert_bindings(
        schema="msData/element/elemU019.xsd",
        instance="msData/element/elemU019.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u018_elem_u018_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\Dx"
    """
    assert_bindings(
        schema="msData/element/elemU018.xsd",
        instance="msData/element/elemU018.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u017_elem_u017_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "[^0-9]x"
    """
    assert_bindings(
        schema="msData/element/elemU017.xsd",
        instance="msData/element/elemU017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u015_elem_u015_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "[ae-]x"
    """
    assert_bindings(
        schema="msData/element/elemU015.xsd",
        instance="msData/element/elemU015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u014_elem_u014_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "[-ae]x"
    """
    assert_bindings(
        schema="msData/element/elemU014.xsd",
        instance="msData/element/elemU014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u013_elem_u013_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "[a-e]x"
    """
    assert_bindings(
        schema="msData/element/elemU013.xsd",
        instance="msData/element/elemU013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u012_elem_u012_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "[abcde]x"
    """
    assert_bindings(
        schema="msData/element/elemU012.xsd",
        instance="msData/element/elemU012.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u011_elem_u011_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "(a|b)+x"
    """
    assert_bindings(
        schema="msData/element/elemU011.xsd",
        instance="msData/element/elemU011.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u010_elem_u010_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "a+x"
    """
    assert_bindings(
        schema="msData/element/elemU010.xsd",
        instance="msData/element/elemU010.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u009_elem_u009_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "a?x"
    """
    assert_bindings(
        schema="msData/element/elemU009.xsd",
        instance="msData/element/elemU009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u008_elem_u008_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "a*x"
    """
    assert_bindings(
        schema="msData/element/elemU008.xsd",
        instance="msData/element/elemU008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u007_elem_u007_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\P{IsGreek}"
    """
    assert_bindings(
        schema="msData/element/elemU007.xsd",
        instance="msData/element/elemU007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u006_elem_u006_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\p{IsGreek}"
    """
    assert_bindings(
        schema="msData/element/elemU006.xsd",
        instance="msData/element/elemU006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u005_elem_u005_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\p{Lu}"
    """
    assert_bindings(
        schema="msData/element/elemU005.xsd",
        instance="msData/element/elemU005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u004_elem_u004_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string
    "Espan&#xF1;ola"
    """
    assert_bindings(
        schema="msData/element/elemU004.xsd",
        instance="msData/element/elemU004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u003_elem_u003_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\s\w"
    """
    assert_bindings(
        schema="msData/element/elemU003.xsd",
        instance="msData/element/elemU003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u002_elem_u002_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\s\d"
    """
    assert_bindings(
        schema="msData/element/elemU002.xsd",
        instance="msData/element/elemU002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_u001_elem_u001_v(mode, save_output, output_format):
    r"""
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : regular expression: restriction on string "\d"
    """
    assert_bindings(
        schema="msData/element/elemU001.xsd",
        instance="msData/element/elemU001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t073_elem_t073_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=Union-AB, block=extension, and instant
    XMLhas xsi:type=A type derived from a type in the Union
    """
    assert_bindings(
        schema="msData/element/elemT073.xsd",
        instance="msData/element/elemT073.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t072_elem_t072_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=Union-AB, block=absent, and instant XMLhas
    xsi:type=A type derived from a type in the Union
    """
    assert_bindings(
        schema="msData/element/elemT072.xsd",
        instance="msData/element/elemT072.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t071_elem_t071_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=Union-A, block=absent, and instant XMLhas
    xsi:type=A type derived from a type in the Union
    """
    assert_bindings(
        schema="msData/element/elemT071.xsd",
        instance="msData/element/elemT071.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t067_elem_t067_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=A, block="extension", and instant XMLhas
    xsi:type=a substitution group with ur-type
    """
    assert_bindings(
        schema="msData/element/elemT067.xsd",
        instance="msData/element/elemT067.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t066_elem_t066_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=A, block="extension", and instant XMLhas
    xsi:type=a substitution group with type=restriction of A
    """
    assert_bindings(
        schema="msData/element/elemT066.xsd",
        instance="msData/element/elemT066.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t064_elem_t064_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=A, block="restriction", and instant XMLhas
    xsi:type=a substitution group with ur-type
    """
    assert_bindings(
        schema="msData/element/elemT064.xsd",
        instance="msData/element/elemT064.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t062_elem_t062_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=A, block="restriction", and instant XMLhas
    xsi:type=a substitution group with type=extension of A
    """
    assert_bindings(
        schema="msData/element/elemT062.xsd",
        instance="msData/element/elemT062.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t058_elem_t058_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : several elements with different blocks and valid instance
    """
    assert_bindings(
        schema="msData/element/elemT058.xsd",
        instance="msData/element/elemT058.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t044_elem_t044_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=simpleType A, block="#all", and instant
    XMLhas xsi:type=A
    """
    assert_bindings(
        schema="msData/element/elemT044.xsd",
        instance="msData/element/elemT044.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t043_elem_t043_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=ur-Type, block="extension", and instant
    XMLhas xsi:type=List of the Union of simpleType A and B
    """
    assert_bindings(
        schema="msData/element/elemT043.xsd",
        instance="msData/element/elemT043.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t042_elem_t042_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=ur-Type, block="extension", and instant
    XMLhas xsi:type=List of simpleType A
    """
    assert_bindings(
        schema="msData/element/elemT042.xsd",
        instance="msData/element/elemT042.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t041_elem_t041_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=ur-Type, block="extension", and instant
    XMLhas xsi:type=union of simpleType A and B
    """
    assert_bindings(
        schema="msData/element/elemT041.xsd",
        instance="msData/element/elemT041.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t040_elem_t040_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=ur-Type, block="extension", and instant
    XMLhas xsi:type=union of simpleType A
    """
    assert_bindings(
        schema="msData/element/elemT040.xsd",
        instance="msData/element/elemT040.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t038_elem_t038_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=complexType A, block="extension", and
    instant XMLhas xsi:type=restriction of A
    """
    assert_bindings(
        schema="msData/element/elemT038.xsd",
        instance="msData/element/elemT038.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t032_elem_t032_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=simpleType A, block="extension", and instant
    XMLhas xsi:type=restriction of A
    """
    assert_bindings(
        schema="msData/element/elemT032.xsd",
        instance="msData/element/elemT032.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t030_elem_t030_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=simpleType A, block="extension", and instant
    XMLhas xsi:type=A
    """
    assert_bindings(
        schema="msData/element/elemT030.xsd",
        instance="msData/element/elemT030.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t025_elem_t025_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=complexType A, block="restriction", and
    instant XMLhas xsi:type=extension of A
    """
    assert_bindings(
        schema="msData/element/elemT025.xsd",
        instance="msData/element/elemT025.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t016_elem_t016_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element type=simpleType A, block="restriction", and
    instant XMLhas xsi:type=A
    """
    assert_bindings(
        schema="msData/element/elemT016.xsd",
        instance="msData/element/elemT016.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t015_elem_t015_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : schema with block="#all" and, element with block="", a
    list used in instant XML
    """
    assert_bindings(
        schema="msData/element/elemT015.xsd",
        instance="msData/element/elemT015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t014_elem_t014_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : schema with block="#all" and, element with block="", a
    union used in instant XML
    """
    assert_bindings(
        schema="msData/element/elemT014.xsd",
        instance="msData/element/elemT014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t008_elem_t008_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with Element with block="" and a subsitution of
    a derivation by extension
    """
    assert_bindings(
        schema="msData/element/elemT008.xsd",
        instance="msData/element/elemT008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t007_elem_t007_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with Element with block="" and a subsitution of
    a derivation by restriction
    """
    assert_bindings(
        schema="msData/element/elemT007.xsd",
        instance="msData/element/elemT007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t003_elem_t003_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with Element with block=extension and a
    subsitution of a derivation by restriction
    """
    assert_bindings(
        schema="msData/element/elemT003.xsd",
        instance="msData/element/elemT003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_t002_elem_t002_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with Element with block=restriction and a
    subsitution of a derivation by extension
    """
    assert_bindings(
        schema="msData/element/elemT002.xsd",
        instance="msData/element/elemT002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_s008_elem_s008_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element with final='' and an element affliation by
    extension
    """
    assert_bindings(
        schema="msData/element/elemS008.xsd",
        instance="msData/element/elemS008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_s007_elem_s007_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element with final='' and an element affliation by
    restriction
    """
    assert_bindings(
        schema="msData/element/elemS007.xsd",
        instance="msData/element/elemS007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_s003_elem_s003_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element with final=extension and an element affliation by
    restriction
    """
    assert_bindings(
        schema="msData/element/elemS003.xsd",
        instance="msData/element/elemS003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_s002_elem_s002_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Element with final=restriction and an element affliation
    by extension
    """
    assert_bindings(
        schema="msData/element/elemS002.xsd",
        instance="msData/element/elemS002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_r005_elem_r005_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Valid Document for Element with schema's
    elementFormDefault=qualified and default qualified elements
    """
    assert_bindings(
        schema="msData/element/elemR005.xsd",
        instance="msData/element/elemR005.xml",
        class_name="PurchaseOrder",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_r004_elem_r004_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Valid Document for Element with schema's
    elementFormDefault=qualified and explicitly qualified elements
    """
    assert_bindings(
        schema="msData/element/elemR004.xsd",
        instance="msData/element/elemR004.xml",
        class_name="PurchaseOrder",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_r002_elem_r002_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Valid Document for Element with form=qualified and
    default qualified elements
    """
    assert_bindings(
        schema="msData/element/elemR002.xsd",
        instance="msData/element/elemR002.xml",
        class_name="PurchaseOrder",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_r001_elem_r001_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Valid Document for Element with form=qualified and
    explicitly qualified elements
    """
    assert_bindings(
        schema="msData/element/elemR001.xsd",
        instance="msData/element/elemR001.xml",
        class_name="PurchaseOrder",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q022_elem_q022_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with default=Hello andDocument contains nothing
    """
    assert_bindings(
        schema="msData/element/elemQ022.xsd",
        instance="msData/element/elemQ022.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q021_elem_q021_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with default=Hello andDocument contains Hello
    World!
    """
    assert_bindings(
        schema="msData/element/elemQ021.xsd",
        instance="msData/element/elemQ021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q020_elem_q020_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with default=Hello andDocument contains Hello
    """
    assert_bindings(
        schema="msData/element/elemQ020.xsd",
        instance="msData/element/elemQ020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q019_elem_q019_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with fixed=Hello andDocument contains nothing
    """
    assert_bindings(
        schema="msData/element/elemQ019.xsd",
        instance="msData/element/elemQ019.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q017_elem_q017_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with fixed=Hello andDocument contains Hello
    """
    assert_bindings(
        schema="msData/element/elemQ017.xsd",
        instance="msData/element/elemQ017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q015_elem_q015_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with minOccurs = 1 and maxOccurs = unbounded and
    3 occurrences
    """
    assert_bindings(
        schema="msData/element/elemQ015.xsd",
        instance="msData/element/elemQ015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q013_elem_q013_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with minOccurs = 1 and maxOccurs = 2 and 2
    occurrences
    """
    assert_bindings(
        schema="msData/element/elemQ013.xsd",
        instance="msData/element/elemQ013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q011_elem_q011_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with minOccurs = 1 and 1 occurrence
    """
    assert_bindings(
        schema="msData/element/elemQ011.xsd",
        instance="msData/element/elemQ011.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_q008_elem_q008_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with default maxOccurs and 1 occurrence
    """
    assert_bindings(
        schema="msData/element/elemQ008.xsd",
        instance="msData/element/elemQ008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o012_elem_o012_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with nillable = false
    """
    assert_bindings(
        schema="msData/element/elemO012.xsd",
        instance="msData/element/elemO012.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o009_elem_o009_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with nillable = true
    """
    assert_bindings(
        schema="msData/element/elemO009.xsd",
        instance="msData/element/elemO009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o008_elem_o008_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with nillable = true andDocument's
    null = false in xml
    """
    assert_bindings(
        schema="msData/element/elemO008.xsd",
        instance="msData/element/elemO008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o006_elem_o006_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with nillable = true in xsd
    andDocument's nil = true in xml
    """
    assert_bindings(
        schema="msData/element/elemO006.xsd",
        instance="msData/element/elemO006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o005_elem_o005_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with anonymous complexType, no type
    on element
    """
    assert_bindings(
        schema="msData/element/elemO005.xsd",
        instance="msData/element/elemO005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o004_elem_o004_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with complexType
    """
    assert_bindings(
        schema="msData/element/elemO004.xsd",
        instance="msData/element/elemO004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o003_elem_o003_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with anonymous simpleType, no type
    on element
    """
    assert_bindings(
        schema="msData/element/elemO003.xsd",
        instance="msData/element/elemO003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_elem_o002_elem_o002_v(mode, save_output, output_format):
    """
    TEST :3.3.2 XML Representation of Element Declaration Schema
    Components : Document with element with simpleType
    """
    assert_bindings(
        schema="msData/element/elemO002.xsd",
        instance="msData/element/elemO002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_e008_err_e008_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E2-17 Error: Do not allow carriage return in
    token values
    """
    assert_bindings(
        schema="msData/errata10/errE008.xsd",
        instance="msData/errata10/errE008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_e006_err_e006_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E2-22 Clarification: test date, gYearMonth,
    gMonthDay, gDay, gMonth and gYear permit an optional, trailing time
    zone specification.
    """
    assert_bindings(
        schema="msData/errata10/errE006.xsd",
        instance="msData/errata10/errE006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_e003_err_e003_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E2-25 Error: test support for the new language
    pattern ([a-zA-Z]{1,8})-([a-zA-Z0-9]{1,8})*
    """
    assert_bindings(
        schema="msData/errata10/errE003.xsd",
        instance="msData/errata10/errE003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_e002_err_e002_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E2-27 Error: test that nonNegativeIntegers
    support a '-' on zero
    """
    assert_bindings(
        schema="msData/errata10/errE002.xsd",
        instance="msData/errata10/errE002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_e001_err_e001_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E2-27 Error: test that nonPositiveIntegers
    support a '+' on zero
    """
    assert_bindings(
        schema="msData/errata10/errE001.xsd",
        instance="msData/errata10/errE001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_c007_err_c007_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E1-22 Error: R-117 Process contents for ur-type
    need to be lax
    """
    assert_bindings(
        schema="msData/errata10/errC007.xsd",
        instance="msData/errata10/errC007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_c001_err_c001_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E1-40 Clarification: test that anySimpleType
    whitespace normalization is set to preserve
    """
    assert_bindings(
        schema="msData/errata10/errC001.xsd",
        instance="msData/errata10/errC001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_a003_err_a003_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E0-15 Error, E2-12 Error: test lexical
    representation of gMonth
    """
    assert_bindings(
        schema="msData/errata10/errA003.xsd",
        instance="msData/errata10/errA003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_err_a001_err_a001_v(mode, save_output, output_format):
    """
    TEST :Primer Errata : E0-23 Clarification: test that facet
    fractionDigits can be added to all numeric datatypes as long as value
    is 0 (except for decimal which takes any value)
    """
    assert_bindings(
        schema="msData/errata10/errA001.xsd",
        instance="msData/errata10/errA001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_o008v_group_o008v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test content: annotation follow by
    sequence
    """
    assert_bindings(
        schema="msData/group/groupO008.xsd",
        instance="msData/group/groupO008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_o006v_group_o006v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test content: annotation follow by
    choice
    """
    assert_bindings(
        schema="msData/group/groupO006.xsd",
        instance="msData/group/groupO006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_o004v_group_o004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test content: annotation follow by
    all
    """
    assert_bindings(
        schema="msData/group/groupO004.xsd",
        instance="msData/group/groupO004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n021v_group_n021v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=3, maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/group/groupN021.xsd",
        instance="msData/group/groupN021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n018v_group_n018v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=2, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupN018.xsd",
        instance="msData/group/groupN018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n017v_group_n017v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=1, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupN017.xsd",
        instance="msData/group/groupN017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n014v_group_n014v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=1, minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupN014.xsd",
        instance="msData/group/groupN014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n011v_group_n011v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=1, minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupN011.xsd",
        instance="msData/group/groupN011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n009v_group_n009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=0, minOccurs=0, maxOccurs=999999999
    """
    assert_bindings(
        schema="msData/group/groupN009.xsd",
        instance="msData/group/groupN009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n007v_group_n007v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=0, minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/group/groupN007.xsd",
        instance="msData/group/groupN007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n005v_group_n005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=1, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupN005.xsd",
        instance="msData/group/groupN005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n004v_group_n004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=0, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupN004.xsd",
        instance="msData/group/groupN004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n002v_group_n002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=1, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupN002.xsd",
        instance="msData/group/groupN002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_n001v_group_n001v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: elements in
    instant XML=0, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupN001.xsd",
        instance="msData/group/groupN001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_m004v_group_m004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is complexType: check that
    minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupM004.xsd",
        instance="msData/group/groupM004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l021v_group_l021v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=3, maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/group/groupL021.xsd",
        instance="msData/group/groupL021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l018v_group_l018v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=2, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupL018.xsd",
        instance="msData/group/groupL018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l017v_group_l017v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=1, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupL017.xsd",
        instance="msData/group/groupL017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l014v_group_l014v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=1, minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupL014.xsd",
        instance="msData/group/groupL014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l011v_group_l011v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=1, minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupL011.xsd",
        instance="msData/group/groupL011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l009v_group_l009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=0, minOccurs=0, maxOccurs=999999999
    """
    assert_bindings(
        schema="msData/group/groupL009.xsd",
        instance="msData/group/groupL009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l007_group_l007_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=0, minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/group/groupL007.xsd",
        instance="msData/group/groupL007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l005v_group_l005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=1, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupL005.xsd",
        instance="msData/group/groupL005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l004v_group_l004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=0, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupL004.xsd",
        instance="msData/group/groupL004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l002v_group_l002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=1, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupL002.xsd",
        instance="msData/group/groupL002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_l001v_group_l001v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: elements in
    instant XML=0, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupL001.xsd",
        instance="msData/group/groupL001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_k004v_group_k004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is choice: check that
    minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupK004.xsd",
        instance="msData/group/groupK004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j021v_group_j021v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=3, maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/group/groupJ021.xsd",
        instance="msData/group/groupJ021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j018v_group_j018v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=2, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupJ018.xsd",
        instance="msData/group/groupJ018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j017v_group_j017v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=1, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupJ017.xsd",
        instance="msData/group/groupJ017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j014v_group_j014v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=1, minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupJ014.xsd",
        instance="msData/group/groupJ014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j011v_group_j011v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=1, minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupJ011.xsd",
        instance="msData/group/groupJ011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j009v_group_j009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=0, minOccurs=0, maxOccurs=99999999999
    """
    assert_bindings(
        schema="msData/group/groupJ009.xsd",
        instance="msData/group/groupJ009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j007v_group_j007v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=0, minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/group/groupJ007.xsd",
        instance="msData/group/groupJ007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j005v_group_j005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=1, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupJ005.xsd",
        instance="msData/group/groupJ005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j004v_group_j004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=0, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupJ004.xsd",
        instance="msData/group/groupJ004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j002v_group_j002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=1, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupJ002.xsd",
        instance="msData/group/groupJ002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_j001v_group_j001v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: elements in
    instant XML=0, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupJ001.xsd",
        instance="msData/group/groupJ001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_i004v_group_i004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is sequence: check that
    minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupI004.xsd",
        instance="msData/group/groupI004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h018v_group_h018v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=2, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupH018.xsd",
        instance="msData/group/groupH018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h017v_group_h017v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=1, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupH017.xsd",
        instance="msData/group/groupH017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h014v_group_h014v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=1, minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupH014.xsd",
        instance="msData/group/groupH014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h011v_group_h011v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=1, minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupH011.xsd",
        instance="msData/group/groupH011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h009v_group_h009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=0, minOccurs=0, maxOccurs=999999999999999
    """
    assert_bindings(
        schema="msData/group/groupH009.xsd",
        instance="msData/group/groupH009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h005v_group_h005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=1, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupH005.xsd",
        instance="msData/group/groupH005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h004v_group_h004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=0, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupH004.xsd",
        instance="msData/group/groupH004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h002v_group_h002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=1, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupH002.xsd",
        instance="msData/group/groupH002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_h001v_group_h001v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: elements in
    instant XML=0, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupH001.xsd",
        instance="msData/group/groupH001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_g004v_group_g004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is restriction: check that
    minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupG004.xsd",
        instance="msData/group/groupG004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f021v_group_f021v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=3, maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/group/groupF021.xsd",
        instance="msData/group/groupF021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f018v_group_f018v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=2, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupF018.xsd",
        instance="msData/group/groupF018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f017v_group_f017v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=1, minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/group/groupF017.xsd",
        instance="msData/group/groupF017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f014v_group_f014v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=1, minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupF014.xsd",
        instance="msData/group/groupF014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f011v_group_f011v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=1, minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupF011.xsd",
        instance="msData/group/groupF011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f009v_group_f009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=0, minOccurs=0, maxOccurs=999999999999999999999
    """
    assert_bindings(
        schema="msData/group/groupF009.xsd",
        instance="msData/group/groupF009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f007v_group_f007v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=0, minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/group/groupF007.xsd",
        instance="msData/group/groupF007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f005v_group_f005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=1, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupF005.xsd",
        instance="msData/group/groupF005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f004v_group_f004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=0, minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/group/groupF004.xsd",
        instance="msData/group/groupF004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f002v_group_f002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=1, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupF002.xsd",
        instance="msData/group/groupF002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_f001v_group_f001v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: elements in
    instant XML=0, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupF001.xsd",
        instance="msData/group/groupF001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_e004v_group_e004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : parent is extension: check that
    minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/group/groupE004.xsd",
        instance="msData/group/groupE004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b010v_group_b010v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is extension,
    ref='global group from included xsd"
    """
    assert_bindings(
        schema="msData/group/groupB010.xsd",
        instance="msData/group/groupB010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b009v_group_b009v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is extension,
    ref='global group from imported xsd"
    """
    assert_bindings(
        schema="msData/group/groupB009.xsd",
        instance="msData/group/groupB009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b006v_group_b006v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is complexType,
    ref='global group'
    """
    assert_bindings(
        schema="msData/group/groupB006.xsd",
        instance="msData/group/groupB006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b005v_group_b005v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is choice,
    ref='global group'
    """
    assert_bindings(
        schema="msData/group/groupB005.xsd",
        instance="msData/group/groupB005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b004v_group_b004v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is sequence,
    ref='global group'
    """
    assert_bindings(
        schema="msData/group/groupB004.xsd",
        instance="msData/group/groupB004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b003v_group_b003v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is restriction,
    ref='global group'
    """
    assert_bindings(
        schema="msData/group/groupB003.xsd",
        instance="msData/group/groupB003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_group_b002v_group_b002v_v(mode, save_output, output_format):
    """
    TEST :Syntax Checking (id, ref) : Test ref:, parent is extension,
    ref='global group'
    """
    assert_bindings(
        schema="msData/group/groupB002.xsd",
        instance="msData/group/groupB002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_z007_id_z007_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Values of
    simple types derived from built-in types should always be comparable
    """
    assert_bindings(
        schema="msData/identityConstraint/idZ007.xsd",
        instance="msData/identityConstraint/idZ007.xml",
        class_name="NewDataSet",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_z006_id_z006_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : test
    Validation of keys when more than one key is defined
    """
    assert_bindings(
        schema="msData/identityConstraint/idZ006.xsd",
        instance="msData/identityConstraint/idZ006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_z005_id_z005_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : test
    Validation of keys when more than one key is defined
    """
    assert_bindings(
        schema="msData/identityConstraint/idZ005.xsd",
        instance="msData/identityConstraint/idZ005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l102_id_l102_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='@ncname:*' , selector contains qname |
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL102.xsd",
        instance="msData/identityConstraint/idL102.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l098_id_l098_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='@qname' , selector contains qname |
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL098.xsd",
        instance="msData/identityConstraint/idL098.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l096_id_l096_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='ncname:*' , selector contains qname |
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL096.xsd",
        instance="msData/identityConstraint/idL096.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l094_id_l094_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='*' , selector contains qname | qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL094.xsd",
        instance="msData/identityConstraint/idL094.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l092_id_l092_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='qname' , selector contains qname |
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL092.xsd",
        instance="msData/identityConstraint/idL092.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l090_id_l090_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test for path
    | path of selector field xpath='.' , selector contains qname | qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL090.xsd",
        instance="msData/identityConstraint/idL090.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l088_id_l088_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='@ncname:* ; qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL088.xsd",
        instance="msData/identityConstraint/idL088.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l086_id_l086_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='@* ; qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL086.xsd",
        instance="msData/identityConstraint/idL086.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l084_id_l084_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='@qname ; qname1' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL084.xsd",
        instance="msData/identityConstraint/idL084.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l082_id_l082_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='ncname:* ; qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL082.xsd",
        instance="msData/identityConstraint/idL082.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l078_id_l078_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='qname ; qname1' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL078.xsd",
        instance="msData/identityConstraint/idL078.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l077a_id_l077_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='. ; qname' , selector contains *
    Resolution pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idL077.xsd",
        instance="msData/identityConstraint/idL077.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l077_id_l077_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='. ; qname' , selector contains *
    Resolution pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idL077.xsd",
        instance="msData/identityConstraint/idL077.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l076a_id_l076_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='. ; qname' , selector contains *
    Resolution pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idL076.xsd",
        instance="msData/identityConstraint/idL076.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l076_id_l076_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test multiple
    field statements field xpath='. ; qname' , selector contains *
    Resolution pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idL076.xsd",
        instance="msData/identityConstraint/idL076.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l074_id_l074_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='attribute::ncname:*' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL074.xsd",
        instance="msData/identityConstraint/idL074.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l073_id_l073_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='@ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL073.xsd",
        instance="msData/identityConstraint/idL073.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l071_id_l071_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='attribute::*' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL071.xsd",
        instance="msData/identityConstraint/idL071.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l070_id_l070_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='@*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL070.xsd",
        instance="msData/identityConstraint/idL070.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l068_id_l068_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='attribute::qname' , selector
    contains .//qname1/qname2
    """
    assert_bindings(
        schema="msData/identityConstraint/idL068.xsd",
        instance="msData/identityConstraint/idL068.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l067_id_l067_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='attribute::qname' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL067.xsd",
        instance="msData/identityConstraint/idL067.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l066_id_l066_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='@qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL066.xsd",
        instance="msData/identityConstraint/idL066.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l064_id_l064_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='child::ncname:*' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL064.xsd",
        instance="msData/identityConstraint/idL064.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l063_id_l063_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL063.xsd",
        instance="msData/identityConstraint/idL063.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l060_id_l060_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='child::*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL060.xsd",
        instance="msData/identityConstraint/idL060.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l059_id_l059_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='*' , selector contains .//qname
    """
    assert_bindings(
        schema="msData/identityConstraint/idL059.xsd",
        instance="msData/identityConstraint/idL059.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l058_id_l058_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL058.xsd",
        instance="msData/identityConstraint/idL058.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l055_id_l055_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='.//qname' , selector contains
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL055.xsd",
        instance="msData/identityConstraint/idL055.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l054_id_l054_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='child::qname' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL054.xsd",
        instance="msData/identityConstraint/idL054.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l053_id_l053_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL053.xsd",
        instance="msData/identityConstraint/idL053.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l051_id_l051_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for keyref definition, field xpath='.' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL051.xsd",
        instance="msData/identityConstraint/idL051.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l049_id_l049_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='attribute::ncname:*' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL049.xsd",
        instance="msData/identityConstraint/idL049.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l048_id_l048_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='@ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL048.xsd",
        instance="msData/identityConstraint/idL048.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l046_id_l046_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='attribute::*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL046.xsd",
        instance="msData/identityConstraint/idL046.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l045_id_l045_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='@*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL045.xsd",
        instance="msData/identityConstraint/idL045.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l043_id_l043_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='attribute::qname' , selector contains
    .//qname1/qname2
    """
    assert_bindings(
        schema="msData/identityConstraint/idL043.xsd",
        instance="msData/identityConstraint/idL043.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l042_id_l042_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='attribute::qname' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL042.xsd",
        instance="msData/identityConstraint/idL042.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l041_id_l041_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='@qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL041.xsd",
        instance="msData/identityConstraint/idL041.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l039_id_l039_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='child::ncname:*' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL039.xsd",
        instance="msData/identityConstraint/idL039.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l038_id_l038_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL038.xsd",
        instance="msData/identityConstraint/idL038.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l035_id_l035_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='child::*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL035.xsd",
        instance="msData/identityConstraint/idL035.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l034_id_l034_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='*' , selector contains .//qname
    """
    assert_bindings(
        schema="msData/identityConstraint/idL034.xsd",
        instance="msData/identityConstraint/idL034.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l033_id_l033_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL033.xsd",
        instance="msData/identityConstraint/idL033.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l030_id_l030_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='.//qname' , selector contains qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL030.xsd",
        instance="msData/identityConstraint/idL030.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l029_id_l029_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='child::qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL029.xsd",
        instance="msData/identityConstraint/idL029.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l028_id_l028_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL028.xsd",
        instance="msData/identityConstraint/idL028.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l026_id_l026_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for key definition, field xpath='.' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL026.xsd",
        instance="msData/identityConstraint/idL026.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l024_id_l024_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='attribute::ncname:*' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL024.xsd",
        instance="msData/identityConstraint/idL024.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l023_id_l023_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='@ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL023.xsd",
        instance="msData/identityConstraint/idL023.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l021_id_l021_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='attribute::*' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL021.xsd",
        instance="msData/identityConstraint/idL021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l020_id_l020_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='@*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL020.xsd",
        instance="msData/identityConstraint/idL020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l018_id_l018_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='attribute::qname' , selector
    contains .//qname1/qname2
    """
    assert_bindings(
        schema="msData/identityConstraint/idL018.xsd",
        instance="msData/identityConstraint/idL018.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l017_id_l017_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='attribute::qname' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL017.xsd",
        instance="msData/identityConstraint/idL017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l016_id_l016_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='@qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL016.xsd",
        instance="msData/identityConstraint/idL016.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l014_id_l014_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='child::ncname:*' , selector
    contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL014.xsd",
        instance="msData/identityConstraint/idL014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l013_id_l013_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='ncname:*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL013.xsd",
        instance="msData/identityConstraint/idL013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l010_id_l010_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='child::*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL010.xsd",
        instance="msData/identityConstraint/idL010.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l009_id_l009_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='*' , selector contains .//qname
    """
    assert_bindings(
        schema="msData/identityConstraint/idL009.xsd",
        instance="msData/identityConstraint/idL009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l008_id_l008_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='*' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL008.xsd",
        instance="msData/identityConstraint/idL008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l005_id_l005_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='.//qname' , selector contains
    qname1
    """
    assert_bindings(
        schema="msData/identityConstraint/idL005.xsd",
        instance="msData/identityConstraint/idL005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l004_id_l004_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='child::qname' , selector contains
    *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL004.xsd",
        instance="msData/identityConstraint/idL004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l003_id_l003_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='qname' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL003.xsd",
        instance="msData/identityConstraint/idL003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_l001_id_l001_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : Test valid XML
    for unique definition, field xpath='.' , selector contains *
    """
    assert_bindings(
        schema="msData/identityConstraint/idL001.xsd",
        instance="msData/identityConstraint/idL001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k017_id_k017_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref defined
    locally within key scope
    """
    assert_bindings(
        schema="msData/identityConstraint/idK017.xsd",
        instance="msData/identityConstraint/idK017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k015_id_k015_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : constraint
    locating an element that is of simpleType/union
    """
    assert_bindings(
        schema="msData/identityConstraint/idK015.xsd",
        instance="msData/identityConstraint/idK015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k014_id_k014_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : constraint
    locating an element that is of simpleType/list
    """
    assert_bindings(
        schema="msData/identityConstraint/idK014.xsd",
        instance="msData/identityConstraint/idK014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k013_id_k013_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : constraint
    locating an element that is of simpleType/restriction
    """
    assert_bindings(
        schema="msData/identityConstraint/idK013.xsd",
        instance="msData/identityConstraint/idK013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k011a_id_k011_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : constraint
    locating an element that is of complexType/simpleContent Resolution
    pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idK011.xsd",
        instance="msData/identityConstraint/idK011.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k011_id_k011_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : constraint
    locating an element that is of complexType/simpleContent Resolution
    pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idK011.xsd",
        instance="msData/identityConstraint/idK011.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k010_id_k010_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an element refers to a unique locating an element
    """
    assert_bindings(
        schema="msData/identityConstraint/idK010.xsd",
        instance="msData/identityConstraint/idK010.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k009_id_k009_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an element refers to a key locating an element
    """
    assert_bindings(
        schema="msData/identityConstraint/idK009.xsd",
        instance="msData/identityConstraint/idK009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k008_id_k008_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an attribute refers to a unique locating an attribute
    """
    assert_bindings(
        schema="msData/identityConstraint/idK008.xsd",
        instance="msData/identityConstraint/idK008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k007_id_k007_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an attribute refers to a key locating an attribute
    """
    assert_bindings(
        schema="msData/identityConstraint/idK007.xsd",
        instance="msData/identityConstraint/idK007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k006_id_k006_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an element refers to a unique locating an attribute
    """
    assert_bindings(
        schema="msData/identityConstraint/idK006.xsd",
        instance="msData/identityConstraint/idK006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k005_id_k005_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an element refers to a key locating an attribute
    """
    assert_bindings(
        schema="msData/identityConstraint/idK005.xsd",
        instance="msData/identityConstraint/idK005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k004_id_k004_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an attribute subject to normalization refers to a key
    locating an element that is not normalized , postnormalization values
    are the same
    """
    assert_bindings(
        schema="msData/identityConstraint/idK004.xsd",
        instance="msData/identityConstraint/idK004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k002_id_k002_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an attribute refers to a unique locating an element
    """
    assert_bindings(
        schema="msData/identityConstraint/idK002.xsd",
        instance="msData/identityConstraint/idK002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_k001_id_k001_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref fields
    locating an attribute refers to a key locating an element
    """
    assert_bindings(
        schema="msData/identityConstraint/idK001.xsd",
        instance="msData/identityConstraint/idK001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h034_id_h034_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to attribute used only within xsi:type
    substitution
    """
    assert_bindings(
        schema="msData/identityConstraint/idH034.xsd",
        instance="msData/identityConstraint/idH034.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h032_id_h032_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to attribute from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH032.xsd",
        instance="msData/identityConstraint/idH032.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h031a_id_h031_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to attribute from imported schema Resolution
    pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idH031.xsd",
        instance="msData/identityConstraint/idH031.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h031_id_h031_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to attribute from imported schema Resolution
    pending decision about issue 5780 against the 1.0 spec.
    """
    assert_bindings(
        schema="msData/identityConstraint/idH031.xsd",
        instance="msData/identityConstraint/idH031.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h030_id_h030_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to attribute within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idH030.xsd",
        instance="msData/identityConstraint/idH030.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h029_id_h029_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to element redefined by use of
    substitutionGroup
    """
    assert_bindings(
        schema="msData/identityConstraint/idH029.xsd",
        instance="msData/identityConstraint/idH029.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h028_id_h028_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH028.xsd",
        instance="msData/identityConstraint/idH028.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h027_id_h027_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH027.xsd",
        instance="msData/identityConstraint/idH027.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h026_id_h026_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to element outside targetNamespace in non-
    imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH026.xsd",
        instance="msData/identityConstraint/idH026.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h025_id_h025_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idH025.xsd",
        instance="msData/identityConstraint/idH025.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h024_id_h024_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector points to element redefined by use of
    substitutionGroup
    """
    assert_bindings(
        schema="msData/identityConstraint/idH024.xsd",
        instance="msData/identityConstraint/idH024.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h023_id_h023_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH023.xsd",
        instance="msData/identityConstraint/idH023.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h022_id_h022_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH022.xsd",
        instance="msData/identityConstraint/idH022.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h021_id_h021_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector points to element outside of targetNamespace in a
    non-imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idH021.xsd",
        instance="msData/identityConstraint/idH021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h020_id_h020_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idH020.xsd",
        instance="msData/identityConstraint/idH020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h019_id_h019_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, qualified node set defined with the use of multiple field
    schema elements pointing to a mix of elements and attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idH019.xsd",
        instance="msData/identityConstraint/idH019.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h018_id_h018_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, qualified node set defined with the use of multiple field
    schema elements pointing to only attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idH018.xsd",
        instance="msData/identityConstraint/idH018.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h017_id_h017_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, qualified node set defined with the use of multiple field
    schema elements pointing to only elements
    """
    assert_bindings(
        schema="msData/identityConstraint/idH017.xsd",
        instance="msData/identityConstraint/idH017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h016_id_h016_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, instance member (a)=test, string; instance member (b)='',
    string defined using fixed='test'
    """
    assert_bindings(
        schema="msData/identityConstraint/idH016.xsd",
        instance="msData/identityConstraint/idH016.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h015_id_h015_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, instance member (a)=test, string; instance member (b)='',
    string defined using default='test'
    """
    assert_bindings(
        schema="msData/identityConstraint/idH015.xsd",
        instance="msData/identityConstraint/idH015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h009_id_h009_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, keyref refers to unique element
    """
    assert_bindings(
        schema="msData/identityConstraint/idH009.xsd",
        instance="msData/identityConstraint/idH009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h008_id_h008_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, keyref refers to existing key element defined post to keyref
    """
    assert_bindings(
        schema="msData/identityConstraint/idH008.xsd",
        instance="msData/identityConstraint/idH008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h007_id_h007_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, keyref refers to existing key element defined prior to
    keyref
    """
    assert_bindings(
        schema="msData/identityConstraint/idH007.xsd",
        instance="msData/identityConstraint/idH007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h004_id_h004_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field element evaluates to a node-set with only one member
    """
    assert_bindings(
        schema="msData/identityConstraint/idH004.xsd",
        instance="msData/identityConstraint/idH004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h003_id_h003_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, field element evaluates to an empty-node set
    """
    assert_bindings(
        schema="msData/identityConstraint/idH003.xsd",
        instance="msData/identityConstraint/idH003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_h001_id_h001_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : keyref
    category, selector element evaluates to a node-set
    """
    assert_bindings(
        schema="msData/identityConstraint/idH001.xsd",
        instance="msData/identityConstraint/idH001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g030_id_g030_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to attribute used only within xsi:type substitution
    """
    assert_bindings(
        schema="msData/identityConstraint/idG030.xsd",
        instance="msData/identityConstraint/idG030.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g029_id_g029_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to attribute outside targetNamespace in non-imported
    schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG029.xsd",
        instance="msData/identityConstraint/idG029.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g028_id_g028_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to attribute from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG028.xsd",
        instance="msData/identityConstraint/idG028.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g027_id_g027_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to attribute from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG027.xsd",
        instance="msData/identityConstraint/idG027.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g026_id_g026_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to attribute within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idG026.xsd",
        instance="msData/identityConstraint/idG026.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g024_id_g024_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG024.xsd",
        instance="msData/identityConstraint/idG024.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g023_id_g023_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG023.xsd",
        instance="msData/identityConstraint/idG023.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g022_id_g022_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to element outside targetNamespace in non-imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG022.xsd",
        instance="msData/identityConstraint/idG022.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g021_id_g021_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idG021.xsd",
        instance="msData/identityConstraint/idG021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g019_id_g019_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    selector points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG019.xsd",
        instance="msData/identityConstraint/idG019.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g018_id_g018_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    selector points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG018.xsd",
        instance="msData/identityConstraint/idG018.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g017_id_g017_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    selector points to element outside of targetNamespace in a non-
    imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idG017.xsd",
        instance="msData/identityConstraint/idG017.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g016_id_g016_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    selector points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idG016.xsd",
        instance="msData/identityConstraint/idG016.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g015_id_g015_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    qualified node set defined with the use of multiple field schema
    elements pointing to a mix of elements and attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idG015.xsd",
        instance="msData/identityConstraint/idG015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g014_id_g014_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    qualified node set defined with the use of multiple field schema
    elements pointing to only attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idG014.xsd",
        instance="msData/identityConstraint/idG014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g013_id_g013_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    qualified node set defined with the use of multiple field schema
    elements pointing to only elements
    """
    assert_bindings(
        schema="msData/identityConstraint/idG013.xsd",
        instance="msData/identityConstraint/idG013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g007_id_g007_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    all target node set members exist in qualified node set
    """
    assert_bindings(
        schema="msData/identityConstraint/idG007.xsd",
        instance="msData/identityConstraint/idG007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g004_id_g004_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    field element evaluates to a node-set with only one member
    """
    assert_bindings(
        schema="msData/identityConstraint/idG004.xsd",
        instance="msData/identityConstraint/idG004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_g001_id_g001_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : key category,
    selector element evaluates to a node-set
    """
    assert_bindings(
        schema="msData/identityConstraint/idG001.xsd",
        instance="msData/identityConstraint/idG001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f036_id_f036_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to attribute used only within xsi:type
    substitution
    """
    assert_bindings(
        schema="msData/identityConstraint/idF036.xsd",
        instance="msData/identityConstraint/idF036.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f035_id_f035_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to attribute outside targetNamespace in non-
    imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF035.xsd",
        instance="msData/identityConstraint/idF035.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f034_id_f034_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to attribute from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF034.xsd",
        instance="msData/identityConstraint/idF034.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f033_id_f033_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to attribute from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF033.xsd",
        instance="msData/identityConstraint/idF033.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f032_id_f032_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to attribute within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idF032.xsd",
        instance="msData/identityConstraint/idF032.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f031_id_f031_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to element redefined by use of
    substitutionGroup
    """
    assert_bindings(
        schema="msData/identityConstraint/idF031.xsd",
        instance="msData/identityConstraint/idF031.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f030_id_f030_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF030.xsd",
        instance="msData/identityConstraint/idF030.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f029_id_f029_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF029.xsd",
        instance="msData/identityConstraint/idF029.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f028_id_f028_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to element outside targetNamespace in non-
    imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF028.xsd",
        instance="msData/identityConstraint/idF028.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f027_id_f027_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idF027.xsd",
        instance="msData/identityConstraint/idF027.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f026_id_f026_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector points to element redefined by use of
    substitutionGroup
    """
    assert_bindings(
        schema="msData/identityConstraint/idF026.xsd",
        instance="msData/identityConstraint/idF026.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f025_id_f025_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector points to element from redefined schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF025.xsd",
        instance="msData/identityConstraint/idF025.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f024_id_f024_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector points to element from imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF024.xsd",
        instance="msData/identityConstraint/idF024.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f023_id_f023_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector points to element outside of targetNamespace in a
    non-imported schema
    """
    assert_bindings(
        schema="msData/identityConstraint/idF023.xsd",
        instance="msData/identityConstraint/idF023.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f022_id_f022_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector points to element within targetNamespace
    """
    assert_bindings(
        schema="msData/identityConstraint/idF022.xsd",
        instance="msData/identityConstraint/idF022.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f021_id_f021_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, qualified node set defined with the use of multiple field
    schema elements pointing to a mix of elements and attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idF021.xsd",
        instance="msData/identityConstraint/idF021.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f020_id_f020_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, qualified node set defined with the use of multiple field
    schema elements pointing to only attributes
    """
    assert_bindings(
        schema="msData/identityConstraint/idF020.xsd",
        instance="msData/identityConstraint/idF020.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f019_id_f019_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, qualified node set defined with the use of multiple field
    schema elements pointing to only elements
    """
    assert_bindings(
        schema="msData/identityConstraint/idF019.xsd",
        instance="msData/identityConstraint/idF019.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f014_id_f014_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, instance member (a)=1, float; instance member (b)=1,
    unsignedByte
    """
    assert_bindings(
        schema="msData/identityConstraint/idF014.xsd",
        instance="msData/identityConstraint/idF014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f013_id_f013_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, instance member (a)=1, float; instance member (b)=1, decimal
    """
    assert_bindings(
        schema="msData/identityConstraint/idF013.xsd",
        instance="msData/identityConstraint/idF013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f012_id_f012_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, instance member (a)=1, boolean; instance member (b)=1,
    number
    """
    assert_bindings(
        schema="msData/identityConstraint/idF012.xsd",
        instance="msData/identityConstraint/idF012.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f011_id_f011_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, instance member (a)=3.0, string; instance member (b)=3,
    string
    """
    assert_bindings(
        schema="msData/identityConstraint/idF011.xsd",
        instance="msData/identityConstraint/idF011.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f009_id_f009_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, qualified node set contains members with an element
    declaration whose {nillable} is true.
    """
    assert_bindings(
        schema="msData/identityConstraint/idF009.xsd",
        instance="msData/identityConstraint/idF009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f007_id_f007_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, all qualified node set members are unique
    """
    assert_bindings(
        schema="msData/identityConstraint/idF007.xsd",
        instance="msData/identityConstraint/idF007.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f004_id_f004_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field element evaluates to a node-set with only one member
    """
    assert_bindings(
        schema="msData/identityConstraint/idF004.xsd",
        instance="msData/identityConstraint/idF004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f003_id_f003_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, field element evaluates to an empty-node set
    """
    assert_bindings(
        schema="msData/identityConstraint/idF003.xsd",
        instance="msData/identityConstraint/idF003.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_id_f001_id_f001_v(mode, save_output, output_format):
    """
    TEST :Identity-constraint Definition Schema Component : unique
    category, selector element evaluates to a node-set
    """
    assert_bindings(
        schema="msData/identityConstraint/idF001.xsd",
        instance="msData/identityConstraint/idF001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_z004_mg_z004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : test occurence range of xs:choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgZ004.xsd",
        instance="msData/modelGroups/mgZ004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_z003_mg_z003_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : test derivation by ext. with all with
    base=empty content
    """
    assert_bindings(
        schema="msData/modelGroups/mgZ003.xsd",
        instance="msData/modelGroups/mgZ003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q020_mg_q020_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'choice', one under 'sequence'
    inside 'choice' of 'choice'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ020.xsd",
        instance="msData/modelGroups/mgQ020.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q019_mg_q019_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'choice', one under 'choice'
    inside 'sequence' of 'choice'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ019.xsd",
        instance="msData/modelGroups/mgQ019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q018_mg_q018_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'choice', one under 'sequence'
    inside 'sequence' of 'choice'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ018.xsd",
        instance="msData/modelGroups/mgQ018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q017_mg_q017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'choice'
    inside 'choice' of 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ017.xsd",
        instance="msData/modelGroups/mgQ017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q016_mg_q016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'sequence'
    inside 'choice' of 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ016.xsd",
        instance="msData/modelGroups/mgQ016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q015_mg_q015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'choice'
    inside 'sequence' of 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ015.xsd",
        instance="msData/modelGroups/mgQ015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q014_mg_q014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'sequence'
    inside 'sequence' of 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ014.xsd",
        instance="msData/modelGroups/mgQ014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q009_mg_q009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'choice', one under 'sequence'
    inside 'choice'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ009.xsd",
        instance="msData/modelGroups/mgQ009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q008_mg_q008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'choice', one under 'choice'
    inside 'choice'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ008.xsd",
        instance="msData/modelGroups/mgQ008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q007_mg_q007_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'sequence'
    inside 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ007.xsd",
        instance="msData/modelGroups/mgQ007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q006_mg_q006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), one under 'sequence', one under 'choice'
    inside 'sequence'
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ006.xsd",
        instance="msData/modelGroups/mgQ006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q003_mg_q003_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), both under choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ003.xsd",
        instance="msData/modelGroups/mgQ003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_q002_mg_q002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 2 particles with idendical element
    declarations (same type), both under sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgQ002.xsd",
        instance="msData/modelGroups/mgQ002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o038_mg_o038_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'choice'
    with maxOccurs=minOccurs=1 , which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO038.xsd",
        instance="msData/modelGroups/mgO038.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o037_mg_o037_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'sequence'
    with maxOccurs=minOccurs=1, which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO037.xsd",
        instance="msData/modelGroups/mgO037.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o036_mg_o036_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under
    'restriction', whiche is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO036.xsd",
        instance="msData/modelGroups/mgO036.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o034_mg_o034_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'redefine',
    which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO034.xsd",
        instance="msData/modelGroups/mgO034.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o031_mg_o031_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'choice'
    with maxOccurs=minOccurs=1 , which is part of a complexType, and group
    ref has minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgO031.xsd",
        instance="msData/modelGroups/mgO031.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o030_mg_o030_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 'all', and has minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgO030.xsd",
        instance="msData/modelGroups/mgO030.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o029_mg_o029_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : 'all', appear under 'restriction', which is
    part of a complexType, and has minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgO029.xsd",
        instance="msData/modelGroups/mgO029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o017_mg_o017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'choice'
    with maxOccurs=minOccurs=1 , whiche is part of a complexType, and
    particles in all has maxOccurs=minOccurs (absent)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO017.xsd",
        instance="msData/modelGroups/mgO017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o016_mg_o016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'sequence'
    with maxOccurs=minOccurs=1, , whiche is part of a complexType, and
    particles in all has maxOccurs=minOccurs (absent)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO016.xsd",
        instance="msData/modelGroups/mgO016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o015_mg_o015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under
    'restriction', whiche is part of a complexType, and particles in all
    has maxOccurs=minOccurs (absent)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO015.xsd",
        instance="msData/modelGroups/mgO015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o011_mg_o011_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under
    'complexType', whiche is part of a complexType, and particles in all
    has maxOccurs=minOccurs (absent)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO011.xsd",
        instance="msData/modelGroups/mgO011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o010_mg_o010_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'choice'
    which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO010.xsd",
        instance="msData/modelGroups/mgO010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o009_mg_o009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'sequence'
    which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO009.xsd",
        instance="msData/modelGroups/mgO009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o008_mg_o008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under
    'restriction', which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO008.xsd",
        instance="msData/modelGroups/mgO008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o006_mg_o006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'redefine',
    which is part of a complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgO006.xsd",
        instance="msData/modelGroups/mgO006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o005_mg_o005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : group' with 'all', appear under 'schema',
    which is part of a complexType and has maxOccurs=minOccurs (0 | 1)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO005.xsd",
        instance="msData/modelGroups/mgO005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o004_mg_o004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all appear under 'complexType', which is
    part of a complexType, and particles in all has maxOccurs=minOccurs (0
    | 1)
    """
    assert_bindings(
        schema="msData/modelGroups/mgO004.xsd",
        instance="msData/modelGroups/mgO004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_o002_mg_o002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all has particle with minOccurs=maxOccur =
    1
    """
    assert_bindings(
        schema="msData/modelGroups/mgO002.xsd",
        instance="msData/modelGroups/mgO002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_n012_mg_n012_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : parent is sequence, has 2 sequence (E1, E2)
    (F1,F2), and 2 choice (C1 | C2) (D1 | D2), in the instant XML document
    ( E1, E2, F1, F2, C1, D1)
    """
    assert_bindings(
        schema="msData/modelGroups/mgN012.xsd",
        instance="msData/modelGroups/mgN012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_n005_mg_n005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : parent is sequence, has 2 sequence as child
    (E1,E2) (F1,F2), in the instant XML document, there is no element
    specified
    """
    assert_bindings(
        schema="msData/modelGroups/mgN005.xsd",
        instance="msData/modelGroups/mgN005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_n001_mg_n001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : parent is sequence, more than one child
    sequences, each of them again have more than one sequence child node,
    instant XML conform to the declaration
    """
    assert_bindings(
        schema="msData/modelGroups/mgN001.xsd",
        instance="msData/modelGroups/mgN001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_m013_mg_m013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with 2 elements instant doc has a
    global element
    """
    assert_bindings(
        schema="msData/modelGroups/mgM013.xsd",
        instance="msData/modelGroups/mgM013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_m011_mg_m011_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with 5 elements instant doc has all
    the element in reverse order
    """
    assert_bindings(
        schema="msData/modelGroups/mgM011.xsd",
        instance="msData/modelGroups/mgM011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_m009_mg_m009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with 2 elements 2 element in different
    order is in the instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgM009.xsd",
        instance="msData/modelGroups/mgM009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_m008_mg_m008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with 2 elements 2 element is in the
    instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgM008.xsd",
        instance="msData/modelGroups/mgM008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_m004_mg_m004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with 1 elements 1 element is in the
    instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgM004.xsd",
        instance="msData/modelGroups/mgM004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_l009_mg_l009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with 5 elements, 1 element in the
    instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgL009.xsd",
        instance="msData/modelGroups/mgL009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_l008_mg_l008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with 5 elements, 0 element in the
    instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgL008.xsd",
        instance="msData/modelGroups/mgL008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_l006_mg_l006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with 2 elements, 1 element in the
    instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgL006.xsd",
        instance="msData/modelGroups/mgL006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_l004_mg_l004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with 1 elements, 1 element is in
    the instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgL004.xsd",
        instance="msData/modelGroups/mgL004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_l001_mg_l001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with NO elements (max=min=absent),
    0 element is in the instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgL001.xsd",
        instance="msData/modelGroups/mgL001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_k009_mg_k009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with 5 elements, all elements
    appeared and are in defined order
    """
    assert_bindings(
        schema="msData/modelGroups/mgK009.xsd",
        instance="msData/modelGroups/mgK009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_k004_mg_k004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with 1 elements, 1 element is in
    the instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgK004.xsd",
        instance="msData/modelGroups/mgK004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_k001_mg_k001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with NO elements
    (max=min=absent), 0 element is in the instant XML doc
    """
    assert_bindings(
        schema="msData/modelGroups/mgK001.xsd",
        instance="msData/modelGroups/mgK001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j026_mg_j026_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=3,
    maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ026.xsd",
        instance="msData/modelGroups/mgJ026.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j023_mg_j023_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=2,
    minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ023.xsd",
        instance="msData/modelGroups/mgJ023.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j022_mg_j022_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=1,
    minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ022.xsd",
        instance="msData/modelGroups/mgJ022.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j019_mg_j019_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=1,
    minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ019.xsd",
        instance="msData/modelGroups/mgJ019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j016_mg_j016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=1,
    minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ016.xsd",
        instance="msData/modelGroups/mgJ016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j014_mg_j014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=0,
    minOccurs=0, maxOccurs=999999999
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ014.xsd",
        instance="msData/modelGroups/mgJ014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j012_mg_j012_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=0,
    minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ012.xsd",
        instance="msData/modelGroups/mgJ012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j010_mg_j010_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=1,
    minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ010.xsd",
        instance="msData/modelGroups/mgJ010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j009_mg_j009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=0,
    minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ009.xsd",
        instance="msData/modelGroups/mgJ009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j007_mg_j007_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=1,
    minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ007.xsd",
        instance="msData/modelGroups/mgJ007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j006_mg_j006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: elements in instant XML=0,
    minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ006.xsd",
        instance="msData/modelGroups/mgJ006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_j004_mg_j004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: check that minOccurs default is 1,
    elements in instant XML = 1, minOccurs=absent, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgJ004.xsd",
        instance="msData/modelGroups/mgJ004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i019_mg_i019_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children 4 any, 4 elements
    """
    assert_bindings(
        schema="msData/modelGroups/mgI019.xsd",
        instance="msData/modelGroups/mgI019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i018_mg_i018_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children 4 sequence, 4 any
    """
    assert_bindings(
        schema="msData/modelGroups/mgI018.xsd",
        instance="msData/modelGroups/mgI018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i017_mg_i017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children 4 choice, 4 sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgI017.xsd",
        instance="msData/modelGroups/mgI017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i016_mg_i016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children 4 groups, 4 choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgI016.xsd",
        instance="msData/modelGroups/mgI016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i015_mg_i015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children 4 elements, 4 groups
    """
    assert_bindings(
        schema="msData/modelGroups/mgI015.xsd",
        instance="msData/modelGroups/mgI015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i014_mg_i014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children any, sequence, group,
    element, choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgI014.xsd",
        instance="msData/modelGroups/mgI014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i013_mg_i013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children sequence, group,
    choice, element, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgI013.xsd",
        instance="msData/modelGroups/mgI013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i012_mg_i012_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children choice, any, group,
    sequence, element
    """
    assert_bindings(
        schema="msData/modelGroups/mgI012.xsd",
        instance="msData/modelGroups/mgI012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i011_mg_i011_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children group, any, choice,
    element, sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgI011.xsd",
        instance="msData/modelGroups/mgI011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i010_mg_i010_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children element, any,
    sequence, choice, group
    """
    assert_bindings(
        schema="msData/modelGroups/mgI010.xsd",
        instance="msData/modelGroups/mgI010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i009_mg_i009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, element,
    group, choice, sequence, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgI009.xsd",
        instance="msData/modelGroups/mgI009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i008_mg_i008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgI008.xsd",
        instance="msData/modelGroups/mgI008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i007_mg_i007_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgI007.xsd",
        instance="msData/modelGroups/mgI007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i006_mg_i006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgI006.xsd",
        instance="msData/modelGroups/mgI006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i005_mg_i005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, group
    """
    assert_bindings(
        schema="msData/modelGroups/mgI005.xsd",
        instance="msData/modelGroups/mgI005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i004_mg_i004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with children annotation, element
    """
    assert_bindings(
        schema="msData/modelGroups/mgI004.xsd",
        instance="msData/modelGroups/mgI004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i002_mg_i002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with one annotation only
    """
    assert_bindings(
        schema="msData/modelGroups/mgI002.xsd",
        instance="msData/modelGroups/mgI002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_i001_mg_i001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with no child node
    """
    assert_bindings(
        schema="msData/modelGroups/mgI001.xsd",
        instance="msData/modelGroups/mgI001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_hb005_mg_hb005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: maxOccurs = 5
    """
    assert_bindings(
        schema="msData/modelGroups/mgHb005.xsd",
        instance="msData/modelGroups/mgHb005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_hb004_mg_hb004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: maxOccurs = unbounded
    """
    assert_bindings(
        schema="msData/modelGroups/mgHb004.xsd",
        instance="msData/modelGroups/mgHb004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h018_mg_h018_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgH018.xsd",
        instance="msData/modelGroups/mgH018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h017_mg_h017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgH017.xsd",
        instance="msData/modelGroups/mgH017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h016_mg_h016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent group
    """
    assert_bindings(
        schema="msData/modelGroups/mgH016.xsd",
        instance="msData/modelGroups/mgH016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h015_mg_h015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent extension
    """
    assert_bindings(
        schema="msData/modelGroups/mgH015.xsd",
        instance="msData/modelGroups/mgH015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h014_mg_h014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent restriction
    """
    assert_bindings(
        schema="msData/modelGroups/mgH014.xsd",
        instance="msData/modelGroups/mgH014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h013_mg_h013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with parent complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgH013.xsd",
        instance="msData/modelGroups/mgH013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_h001_mg_h001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: id, id="foo"
    """
    assert_bindings(
        schema="msData/modelGroups/mgH001.xsd",
        instance="msData/modelGroups/mgH001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g026_mg_g026_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=3,
    maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/modelGroups/mgG026.xsd",
        instance="msData/modelGroups/mgG026.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g023_mg_g023_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=2,
    minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/modelGroups/mgG023.xsd",
        instance="msData/modelGroups/mgG023.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g022_mg_g022_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=1,
    minOccurs=1, maxOccurs=2
    """
    assert_bindings(
        schema="msData/modelGroups/mgG022.xsd",
        instance="msData/modelGroups/mgG022.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g019_mg_g019_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=1,
    minOccurs=1, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgG019.xsd",
        instance="msData/modelGroups/mgG019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g016_mg_g016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=1,
    minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgG016.xsd",
        instance="msData/modelGroups/mgG016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g014_mg_g014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=0,
    minOccurs=0, maxOccurs=999999999
    """
    assert_bindings(
        schema="msData/modelGroups/mgG014.xsd",
        instance="msData/modelGroups/mgG014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g012_mg_g012_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=0,
    minOccurs=0, maxOccurs=0
    """
    assert_bindings(
        schema="msData/modelGroups/mgG012.xsd",
        instance="msData/modelGroups/mgG012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g010_mg_g010_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=1,
    minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgG010.xsd",
        instance="msData/modelGroups/mgG010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g009_mg_g009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=0,
    minOccurs=0, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgG009.xsd",
        instance="msData/modelGroups/mgG009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g007_mg_g007_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=1,
    minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgG007.xsd",
        instance="msData/modelGroups/mgG007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g006_mg_g006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: elements in instant XML=0,
    minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgG006.xsd",
        instance="msData/modelGroups/mgG006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_g004_mg_g004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: check that minOccurs default is
    1, elements in instant XML = 1, minOccurs=absent, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgG004.xsd",
        instance="msData/modelGroups/mgG004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f019_mg_f019_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children 4 any, 4 elements
    """
    assert_bindings(
        schema="msData/modelGroups/mgF019.xsd",
        instance="msData/modelGroups/mgF019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f018_mg_f018_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children 4 sequence, 4 any
    """
    assert_bindings(
        schema="msData/modelGroups/mgF018.xsd",
        instance="msData/modelGroups/mgF018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f017_mg_f017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children 4 choice, 4
    sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgF017.xsd",
        instance="msData/modelGroups/mgF017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f016_mg_f016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children 4 groups, 4 choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgF016.xsd",
        instance="msData/modelGroups/mgF016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f015_mg_f015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children 4 elements, 4
    groups
    """
    assert_bindings(
        schema="msData/modelGroups/mgF015.xsd",
        instance="msData/modelGroups/mgF015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f014_mg_f014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children any, sequence,
    group, element, choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgF014.xsd",
        instance="msData/modelGroups/mgF014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f013_mg_f013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children sequence, group,
    choice, element, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgF013.xsd",
        instance="msData/modelGroups/mgF013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f012_mg_f012_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children choice, any, group,
    sequence, element
    """
    assert_bindings(
        schema="msData/modelGroups/mgF012.xsd",
        instance="msData/modelGroups/mgF012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f011_mg_f011_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children group, any, choice,
    element, sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgF011.xsd",
        instance="msData/modelGroups/mgF011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f010_mg_f010_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children element, any,
    sequence, choice, group
    """
    assert_bindings(
        schema="msData/modelGroups/mgF010.xsd",
        instance="msData/modelGroups/mgF010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f009_mg_f009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation,
    element, group, choice, sequence, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgF009.xsd",
        instance="msData/modelGroups/mgF009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f008_mg_f008_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation, any
    """
    assert_bindings(
        schema="msData/modelGroups/mgF008.xsd",
        instance="msData/modelGroups/mgF008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f007_mg_f007_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation,
    sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgF007.xsd",
        instance="msData/modelGroups/mgF007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f006_mg_f006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation, choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgF006.xsd",
        instance="msData/modelGroups/mgF006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f005_mg_f005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation, group
    """
    assert_bindings(
        schema="msData/modelGroups/mgF005.xsd",
        instance="msData/modelGroups/mgF005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f004_mg_f004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with children annotation, element
    """
    assert_bindings(
        schema="msData/modelGroups/mgF004.xsd",
        instance="msData/modelGroups/mgF004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f002_mg_f002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with one annotation only
    """
    assert_bindings(
        schema="msData/modelGroups/mgF002.xsd",
        instance="msData/modelGroups/mgF002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_f001_mg_f001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with no child node
    """
    assert_bindings(
        schema="msData/modelGroups/mgF001.xsd",
        instance="msData/modelGroups/mgF001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_eb005_mg_eb005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: maxOccurs = 8
    """
    assert_bindings(
        schema="msData/modelGroups/mgEb005.xsd",
        instance="msData/modelGroups/mgEb005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_eb004_mg_eb004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: maxOccurs = unbounded
    """
    assert_bindings(
        schema="msData/modelGroups/mgEb004.xsd",
        instance="msData/modelGroups/mgEb004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e018_mg_e018_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent sequence
    """
    assert_bindings(
        schema="msData/modelGroups/mgE018.xsd",
        instance="msData/modelGroups/mgE018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e017_mg_e017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent choice
    """
    assert_bindings(
        schema="msData/modelGroups/mgE017.xsd",
        instance="msData/modelGroups/mgE017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e016_mg_e016_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent group
    """
    assert_bindings(
        schema="msData/modelGroups/mgE016.xsd",
        instance="msData/modelGroups/mgE016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e015_mg_e015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent extension
    """
    assert_bindings(
        schema="msData/modelGroups/mgE015.xsd",
        instance="msData/modelGroups/mgE015.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e014_mg_e014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent restriction
    """
    assert_bindings(
        schema="msData/modelGroups/mgE014.xsd",
        instance="msData/modelGroups/mgE014.xml",
        class_name="Who",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e013_mg_e013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with parent complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgE013.xsd",
        instance="msData/modelGroups/mgE013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_e001_mg_e001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: id, id="foo"
    """
    assert_bindings(
        schema="msData/modelGroups/mgE001.xsd",
        instance="msData/modelGroups/mgE001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_d013_mg_d013_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : test using of minOccurs=0 and allowing
    elements to not exists
    """
    assert_bindings(
        schema="msData/modelGroups/mgD013.xsd",
        instance="msData/modelGroups/mgD013.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_d009_mg_d009_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : choice: with any attribute with no schema
    namespace
    """
    assert_bindings(
        schema="msData/modelGroups/mgD009.xsd",
        instance="msData/modelGroups/mgD009.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_d005_mg_d005_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : sequence: with any attribute with no schema
    namespace
    """
    assert_bindings(
        schema="msData/modelGroups/mgD005.xsd",
        instance="msData/modelGroups/mgD005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_d001_mg_d001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with any attribute with no schema
    namespace
    """
    assert_bindings(
        schema="msData/modelGroups/mgD001.xsd",
        instance="msData/modelGroups/mgD001.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_c014_mg_c014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all with default minOccurs and maxOccurs
    with optional element children
    """
    assert_bindings(
        schema="msData/modelGroups/mgC014.xsd",
        instance="msData/modelGroups/mgC014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_c011_mg_c011_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: elements in instant XML=1,
    minOccurs=absent, maxOccurs=1
    """
    assert_bindings(
        schema="msData/modelGroups/mgC011.xsd",
        instance="msData/modelGroups/mgC011.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_c006_mg_c006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: elements in instant XML=1,
    minOccurs=1, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgC006.xsd",
        instance="msData/modelGroups/mgC006.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_c004_mg_c004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: minOccurs can have value of 0 or 1 max
    occurs can only have 1 as value, minOccurs=0, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgC004.xsd",
        instance="msData/modelGroups/mgC004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_c002_mg_c002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: check that minOccurs default is 1,
    elements in instant XML = 1, minOccurs=absent, maxOccurs=absent
    """
    assert_bindings(
        schema="msData/modelGroups/mgC002.xsd",
        instance="msData/modelGroups/mgC002.xml",
        class_name="Test",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_b006_mg_b006_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with one element only
    """
    assert_bindings(
        schema="msData/modelGroups/mgB006.xsd",
        instance="msData/modelGroups/mgB006.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_b004_mg_b004_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with annotation follow by 1 element
    """
    assert_bindings(
        schema="msData/modelGroups/mgB004.xsd",
        instance="msData/modelGroups/mgB004.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_b002_mg_b002_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with one annotation only
    """
    assert_bindings(
        schema="msData/modelGroups/mgB002.xsd",
        instance="msData/modelGroups/mgB002.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_b001_mg_b001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with no child node
    """
    assert_bindings(
        schema="msData/modelGroups/mgB001.xsd",
        instance="msData/modelGroups/mgB001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_aa003_mg_aa003_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: minOccurs = 0
    """
    assert_bindings(
        schema="msData/modelGroups/mgAa003.xsd",
        instance="msData/modelGroups/mgAa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_a017_mg_a017_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with parent group
    """
    assert_bindings(
        schema="msData/modelGroups/mgA017.xsd",
        instance="msData/modelGroups/mgA017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_a015_mg_a015_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with parent restriction
    """
    assert_bindings(
        schema="msData/modelGroups/mgA015.xsd",
        instance="msData/modelGroups/mgA015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_a014_mg_a014_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: with parent complexType
    """
    assert_bindings(
        schema="msData/modelGroups/mgA014.xsd",
        instance="msData/modelGroups/mgA014.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_mg_a001_mg_a001_v(mode, save_output, output_format):
    """
    TEST :model groups (ALL) : all: id, id="foo"
    """
    assert_bindings(
        schema="msData/modelGroups/mgA001.xsd",
        instance="msData/modelGroups/mgA001.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_notat_h001v_notat_h001v_v(mode, save_output, output_format):
    """
    TEST :Notations : Instance document declares a notation type
    """
    assert_bindings(
        schema="msData/notations/notatH001.xsd",
        instance="msData/notations/notatH001.xml",
        class_name="Foo",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z040_particles_z040_i(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : XSD: validation on a sequence involving an
    optional wildcard
    """
    assert_bindings(
        schema="msData/particles/particlesZ040.xsd",
        instance="msData/particles/particlesZ040.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z036_c_particles_z036_c_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema validation engine validates as xs:any if
    maxOccurs greater than 4096(15) TSTF concluded no change required to
    instance test here The validity of these schemas was never in doubt,
    prior 'queried' status was in error
    """
    assert_bindings(
        schema="msData/particles/particlesZ036_c.xsd",
        instance="msData/particles/particlesZ036_c.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z036_b2_particles_z036_b2_i(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema validation engine validates as xs:any if
    maxOccurs greater than 4096(15) TSTF concluded the instances are OK
    The validity of these schemas was never in doubt, prior 'queried'
    status was in error
    """
    assert_bindings(
        schema="msData/particles/particlesZ036_b.xsd",
        instance="msData/particles/particlesZ036_b2.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z036_b1_particles_z036_b1_i(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema validation engine validates as xs:any if
    maxOccurs greater than 4096(14) TSTF concluded the instances are OK
    The validity of these schemas was never in doubt, prior 'queried'
    status was in error
    """
    assert_bindings(
        schema="msData/particles/particlesZ036_b.xsd",
        instance="msData/particles/particlesZ036_b1.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z034_a1_particles_z034_a1_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema validation engine validates as xs:any if
    maxOccurs greater than 4096(8)
    """
    assert_bindings(
        schema="msData/particles/particlesZ034_a.xsd",
        instance="msData/particles/particlesZ034_a1.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z012_particles_z012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : id="86379" description="xsd: derived attribute's
    type should validly derived from base attribute's type."
    """
    assert_bindings(
        schema="msData/particles/particlesZ012.xsd",
        instance="msData/particles/particlesZ012.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z008_particles_z008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Restriction of abstract classes with abstract
    particles via substitution group should be valid.
    """
    assert_bindings(
        schema="msData/particles/particlesZ008.xsd",
        instance="msData/particles/particlesZ008.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z005_particles_z005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : xsd: test valid value in instance XML, whose xsd
    type derived by restriction from union.
    """
    assert_bindings(
        schema="msData/particles/particlesZ005.xsd",
        instance="msData/particles/particlesZ005.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z003_particles_z003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : xsd: should allow and recognize declaration of
    namespace URI in local level as well as root level.
    """
    assert_bindings(
        schema="msData/particles/particlesZ003.xsd",
        instance="msData/particles/particlesZ003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z002_particles_z002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema Component Constraint: Derivation Valid
    (Restriction, Complex) rules in regard to attribute uses
    """
    assert_bindings(
        schema="msData/particles/particlesZ002.xsd",
        instance="msData/particles/particlesZ002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_z001_particles_z001_i(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Schema Component Constraint: Particle Derivation
    OK (Elt:All/Choice/Sequence -- RecurseAsIfGroup) rule is ambiguous
    Invalid restriction which becomes valid in XSD 1.1 - MHK
    """
    assert_bindings(
        schema="msData/particles/particlesZ001.xsd",
        instance="msData/particles/particlesZ001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_w016_particles_w016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Sequence -
    Recurse) (Sequence) R drived by restriction from (Sequence) B : B has
    (a, b), R has (a) is a valid restriction of the 'a' in B
    """
    assert_bindings(
        schema="msData/particles/particlesW016.xsd",
        instance="msData/particles/particlesW016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_w011_particles_w011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Sequence -
    Recurse) (Sequence) R drived by restriction from (Sequence) B : B has
    (a, b, c), R has (a, b, c)
    """
    assert_bindings(
        schema="msData/particles/particlesW011.xsd",
        instance="msData/particles/particlesW011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_w008_particles_w008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Sequence -
    Recurse) (Sequence) R drived by restriction from (Sequence) B : B has
    (a, b, c), b and c are emptiable, R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesW008.xsd",
        instance="msData/particles/particlesW008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_w003_particles_w003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Sequence -
    Recurse) (Sequence) R drived by restriction from (Sequence) B : B's
    min,maxOccuranceRange=(3, 9), R's min,maxOccuranceRange=(4, 8)
    """
    assert_bindings(
        schema="msData/particles/particlesW003.xsd",
        instance="msData/particles/particlesW003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_w001_particles_w001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Sequence -
    Recurse) (Sequence) R drived by restriction from (Sequence) B : B's
    minOccuranceRange=6, R's minOccuranceRange=6
    """
    assert_bindings(
        schema="msData/particles/particlesW001.xsd",
        instance="msData/particles/particlesW001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v015_particles_v015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (c, b, a)
    """
    assert_bindings(
        schema="msData/particles/particlesV015.xsd",
        instance="msData/particles/particlesV015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v014_particles_v014_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (a, c)
    """
    assert_bindings(
        schema="msData/particles/particlesV014.xsd",
        instance="msData/particles/particlesV014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v013_particles_v013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (b, c)
    """
    assert_bindings(
        schema="msData/particles/particlesV013.xsd",
        instance="msData/particles/particlesV013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v012_particles_v012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesV012.xsd",
        instance="msData/particles/particlesV012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v011_particles_v011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has ( c)
    """
    assert_bindings(
        schema="msData/particles/particlesV011.xsd",
        instance="msData/particles/particlesV011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v010_particles_v010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (b)
    """
    assert_bindings(
        schema="msData/particles/particlesV010.xsd",
        instance="msData/particles/particlesV010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v009_particles_v009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b | c), R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesV009.xsd",
        instance="msData/particles/particlesV009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v008_particles_v008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b), R has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesV008.xsd",
        instance="msData/particles/particlesV008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v007_particles_v007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has
    (a | b), R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesV007.xsd",
        instance="msData/particles/particlesV007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v006_particles_v006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B's
    min,maxOccuranceRange=(0,0), R's min,maxOccuranceRange=(0,0)
    """
    assert_bindings(
        schema="msData/particles/particlesV006.xsd",
        instance="msData/particles/particlesV006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v004_particles_v004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B's
    maxOccuranceRange=6, R's maxOccuranceRange=6
    """
    assert_bindings(
        schema="msData/particles/particlesV004.xsd",
        instance="msData/particles/particlesV004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_v003_particles_v003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Choice -
    MapAndSum) (Sequence) R drived by restriction from (Choice) B : B's
    min,maxOccuranceRange=(3, 9), R's min,maxOccuranceRange=(4, 8)
    """
    assert_bindings(
        schema="msData/particles/particlesV003.xsd",
        instance="msData/particles/particlesV003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_u007_particles_u007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:All -
    RecurseUnordered) (Sequence) R drived by restriction from (All) B : B
    has (a, b, c, d), R has (d,b,c,a)
    """
    assert_bindings(
        schema="msData/particles/particlesU007.xsd",
        instance="msData/particles/particlesU007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_u005_particles_u005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:All -
    RecurseUnordered) (Sequence) R drived by restriction from (All) B : B
    has (a, b, c), c is emptiable, R has ( a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesU005.xsd",
        instance="msData/particles/particlesU005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_u004_particles_u004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:All -
    RecurseUnordered) (Sequence) R drived by restriction from (All) B : B
    has (a, b, c), c is emptiable, R has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesU004.xsd",
        instance="msData/particles/particlesU004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_u003_particles_u003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:All -
    RecurseUnordered) (Sequence) R drived by restriction from (All) B : B
    has (a, b), R has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesU003.xsd",
        instance="msData/particles/particlesU003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q032_particles_q032_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##targetNamespace, foo, bar, R has an elements
    from targetNamespace, and foo
    """
    assert_bindings(
        schema="msData/particles/particlesQ032.xsd",
        instance="msData/particles/particlesQ032.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q030_particles_q030_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=foo, bar', R has an element from foo and bar
    """
    assert_bindings(
        schema="msData/particles/particlesQ030.xsd",
        instance="msData/particles/particlesQ030.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q029_particles_q029_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=foo, bar', R has an element from foo
    """
    assert_bindings(
        schema="msData/particles/particlesQ029.xsd",
        instance="msData/particles/particlesQ029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q024_particles_q024_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##targetNamespace, R has an element
    targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesQ024.xsd",
        instance="msData/particles/particlesQ024.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q022_particles_q022_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##local, R has an element from no namespace
    """
    assert_bindings(
        schema="msData/particles/particlesQ022.xsd",
        instance="msData/particles/particlesQ022.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q020_particles_q020_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##other, R has an element from foo
    """
    assert_bindings(
        schema="msData/particles/particlesQ020.xsd",
        instance="msData/particles/particlesQ020.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q017_particles_q017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##any, R has an element from namespace foo
    """
    assert_bindings(
        schema="msData/particles/particlesQ017.xsd",
        instance="msData/particles/particlesQ017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q016_particles_q016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's namespace=##any, R has an element from no namespace
    """
    assert_bindings(
        schema="msData/particles/particlesQ016.xsd",
        instance="msData/particles/particlesQ016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


@pytest.mark.xfail
def test_particles_q013_particles_q013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=4, B's maxOccurs=4, R has 2 groups, each has
    one child with minOccurs as 2
    """
    assert_bindings(
        schema="msData/particles/particlesQ013.xsd",
        instance="msData/particles/particlesQ013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q011_particles_q011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=4, R has 2 groups, each has
    one child with maxOccurs as 2
    """
    assert_bindings(
        schema="msData/particles/particlesQ011.xsd",
        instance="msData/particles/particlesQ011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q007_particles_q007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=4, R has 2 elements, each
    with maxOccurs as 2
    """
    assert_bindings(
        schema="msData/particles/particlesQ007.xsd",
        instance="msData/particles/particlesQ007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q005_particles_q005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=unbounded, R's maxOccurs =
    1000, R has element with maxOccurs unbounded
    """
    assert_bindings(
        schema="msData/particles/particlesQ005.xsd",
        instance="msData/particles/particlesQ005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q004_particles_q004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=6, R has an element with
    minOccurs=1, maxOccurs=6
    """
    assert_bindings(
        schema="msData/particles/particlesQ004.xsd",
        instance="msData/particles/particlesQ004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q003_particles_q003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=6, R's minOccurs=1, R's
    maxOccurs=6
    """
    assert_bindings(
        schema="msData/particles/particlesQ003.xsd",
        instance="msData/particles/particlesQ003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q002_particles_q002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=1, B's maxOccurs=1, R's minOccurs=1, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesQ002.xsd",
        instance="msData/particles/particlesQ002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_q001_particles_q001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Sequence:Any -
    NSRecurseCheckCardinality) (Sequence) R drived by restriction from
    (any) B : B's minOccurs=0, B's maxOccurs=1, R's minOccurs=1, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesQ001.xsd",
        instance="msData/particles/particlesQ001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t014_particles_t014_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B's
    maxOccurs=unbounded, R's maxOccurs = 3 (a | b | c) all with maxOccurs
    ( 0 and 10 and 100 )
    """
    assert_bindings(
        schema="msData/particles/particlesT014.xsd",
        instance="msData/particles/particlesT014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t013_particles_t013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B's
    maxOccurs=unbounded, R's maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/particles/particlesT013.xsd",
        instance="msData/particles/particlesT013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t012_particles_t012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B's
    maxOccurs=unbounded, R's maxOccurs=1, but has (a | b | c) all with
    maxOccurs=unbounded
    """
    assert_bindings(
        schema="msData/particles/particlesT012.xsd",
        instance="msData/particles/particlesT012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t007_particles_t007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b | c), R has (a | b | c)
    """
    assert_bindings(
        schema="msData/particles/particlesT007.xsd",
        instance="msData/particles/particlesT007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t006_particles_t006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b | c), c is NOT emptiable, R has (a | b)
    """
    assert_bindings(
        schema="msData/particles/particlesT006.xsd",
        instance="msData/particles/particlesT006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t005_particles_t005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b | c), b is but c is NOT emptiable, R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesT005.xsd",
        instance="msData/particles/particlesT005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t004_particles_t004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b | c), c is emptiable, R has (a | b) c is emptiable
    """
    assert_bindings(
        schema="msData/particles/particlesT004.xsd",
        instance="msData/particles/particlesT004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t003_particles_t003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b | c), b and c are emptiable, R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesT003.xsd",
        instance="msData/particles/particlesT003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_t001_particles_t001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Choice -
    RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |
    b), R has (a | b)
    """
    assert_bindings(
        schema="msData/particles/particlesT001.xsd",
        instance="msData/particles/particlesT001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r030_particles_r030_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=foo, bar', R has an element from bar
    """
    assert_bindings(
        schema="msData/particles/particlesR030.xsd",
        instance="msData/particles/particlesR030.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r029_particles_r029_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=foo, bar', R has an element from foo
    """
    assert_bindings(
        schema="msData/particles/particlesR029.xsd",
        instance="msData/particles/particlesR029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r024_particles_r024_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##targetNamespace, R has an element
    targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesR024.xsd",
        instance="msData/particles/particlesR024.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r022_particles_r022_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##local, R has an element from no namespace
    """
    assert_bindings(
        schema="msData/particles/particlesR022.xsd",
        instance="msData/particles/particlesR022.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r020_particles_r020_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##other, R has an element from foo
    """
    assert_bindings(
        schema="msData/particles/particlesR020.xsd",
        instance="msData/particles/particlesR020.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r017_particles_r017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##any, R has an element from foo
    """
    assert_bindings(
        schema="msData/particles/particlesR017.xsd",
        instance="msData/particles/particlesR017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r016_particles_r016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##any, R has an element from no namespace
    """
    assert_bindings(
        schema="msData/particles/particlesR016.xsd",
        instance="msData/particles/particlesR016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r015_particles_r015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's namespace=##any, R has an element targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesR015.xsd",
        instance="msData/particles/particlesR015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r013_particles_r013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=3, B's maxOccurs=8, R's minOccurs=3, B's
    maxOccurs=4, have 2 children
    """
    assert_bindings(
        schema="msData/particles/particlesR013.xsd",
        instance="msData/particles/particlesR013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r012_particles_r012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=3, R's minOccurs=0, B's
    maxOccurs=2, but have 2 children
    """
    assert_bindings(
        schema="msData/particles/particlesR012.xsd",
        instance="msData/particles/particlesR012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r011_particles_r011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=4, R has 2 groups, each
    with maxOccurs as 4 and 0
    """
    assert_bindings(
        schema="msData/particles/particlesR011.xsd",
        instance="msData/particles/particlesR011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r009_particles_r009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=4, B's maxOccurs=4, R has 2 elements, each
    with minOccurs as 2 and 2
    """
    assert_bindings(
        schema="msData/particles/particlesR009.xsd",
        instance="msData/particles/particlesR009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r008_particles_r008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=3, R has 2 elements, each
    with maxOccurs as 2 and 2
    """
    assert_bindings(
        schema="msData/particles/particlesR008.xsd",
        instance="msData/particles/particlesR008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r007_particles_r007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=4, R has 2 elements, each
    with maxOccurs as 2 and 2
    """
    assert_bindings(
        schema="msData/particles/particlesR007.xsd",
        instance="msData/particles/particlesR007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r005_particles_r005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=unbounded, R has an
    element with minOccurs=1, maxOccurs=3
    """
    assert_bindings(
        schema="msData/particles/particlesR005.xsd",
        instance="msData/particles/particlesR005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r004_particles_r004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=3, R has an element with
    minOccurs=1, maxOccurs=3
    """
    assert_bindings(
        schema="msData/particles/particlesR004.xsd",
        instance="msData/particles/particlesR004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r003_particles_r003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=2, R's minOccurs=1, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesR003.xsd",
        instance="msData/particles/particlesR003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r002_particles_r002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=1, B's maxOccurs=1, R's minOccurs=1, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesR002.xsd",
        instance="msData/particles/particlesR002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_r001_particles_r001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Choice:Any -
    NSRecurseCheckCardinality) (Choice) R drived by restriction from
    (Choice) B : B's minOccurs=0, B's maxOccurs=1, R's minOccurs=1, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesR001.xsd",
        instance="msData/particles/particlesR001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_s011_particles_s011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:All - Recurse) (All)
    R drived by restriction from (All) B : B has (a, b), R has (a) which
    has a type that is a valid restriction from type of B
    """
    assert_bindings(
        schema="msData/particles/particlesS011.xsd",
        instance="msData/particles/particlesS011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_s007_particles_s007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:All - Recurse) (All)
    R drived by restriction from (All) B : B has (a, b, c), R has (a, b,
    c)
    """
    assert_bindings(
        schema="msData/particles/particlesS007.xsd",
        instance="msData/particles/particlesS007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_s004_particles_s004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:All - Recurse) (All)
    R drived by restriction from (All) B : B has (a, b, c), c is
    emptiable, R has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesS004.xsd",
        instance="msData/particles/particlesS004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_s003_particles_s003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:All - Recurse) (All)
    R drived by restriction from (All) B : B has (a, b, c), b and c are
    emptiable, R has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesS003.xsd",
        instance="msData/particles/particlesS003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_s001_particles_s001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:All - Recurse) (All)
    R drived by restriction from (All) B : B has (a, b), R has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesS001.xsd",
        instance="msData/particles/particlesS001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_p002_particles_p002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (All:Any -
    NSRecurseCheckCardinality) (All) R drived by restriction from (any) B
    : B's minOccurs=1, B's maxOccurs=1, R has one child
    """
    assert_bindings(
        schema="msData/particles/particlesP002.xsd",
        instance="msData/particles/particlesP002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob060_particles_ob060_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=bar Added schemaDoc for
    xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb060.xsd",
        instance="msData/particles/particlesOb060.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob059_particles_ob059_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=foo Added schemaDoc for
    xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb059.xsd",
        instance="msData/particles/particlesOb059.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob057_particles_ob057_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=foo, ##local, bar Added
    schemaDoc for xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb057.xsd",
        instance="msData/particles/particlesOb057.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob056_particles_ob056_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=##targetNamespace, ##local
    """
    assert_bindings(
        schema="msData/particles/particlesOb056.xsd",
        instance="msData/particles/particlesOb056.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob055_particles_ob055_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=##local, foo, bar,
    ##targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesOb055.xsd",
        instance="msData/particles/particlesOb055.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob054_particles_ob054_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=foo bar' Added schemaDoc for
    xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb054.xsd",
        instance="msData/particles/particlesOb054.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob053_particles_ob053_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=##targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesOb053.xsd",
        instance="msData/particles/particlesOb053.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob052_particles_ob052_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, foo,
    bar, ##targetNamespace, R's namespace=##local Added schemaDoc for
    xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb052.xsd",
        instance="msData/particles/particlesOb052.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob048_particles_ob048_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=foo bar', R's
    namespace=bar Added schemaDoc for xsi:schemaLoc'd additional schema,
    per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb048.xsd",
        instance="msData/particles/particlesOb048.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob047_particles_ob047_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=foo bar', R's
    namespace=foo Added schemaDoc for xsi:schemaLoc'd additional schema,
    per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb047.xsd",
        instance="msData/particles/particlesOb047.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob042_particles_ob042_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=foo bar', R's
    namespace=foo bar' Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb042.xsd",
        instance="msData/particles/particlesOb042.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob032_particles_ob032_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's
    namespace=##targetNamespace, R's namespace=##targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesOb032.xsd",
        instance="msData/particles/particlesOb032.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob022_particles_ob022_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##local, R's
    namespace=##local Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb022.xsd",
        instance="msData/particles/particlesOb022.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob015_particles_ob015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##other, R's
    namespace=foo bar' Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb015.xsd",
        instance="msData/particles/particlesOb015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob012_particles_ob012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##other, R's
    namespace=##other Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb012.xsd",
        instance="msData/particles/particlesOb012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob007_particles_ob007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##any, R's
    namespace=##local, foo, bar, ##targetNamespace Added schemaDoc for
    xsi:schemaLoc'd additional schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb007.xsd",
        instance="msData/particles/particlesOb007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob006_particles_ob006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##any, R's
    namespace=foo bar' Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb006.xsd",
        instance="msData/particles/particlesOb006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob005_particles_ob005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##any, R's
    namespace=##targetNamespace
    """
    assert_bindings(
        schema="msData/particles/particlesOb005.xsd",
        instance="msData/particles/particlesOb005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ob003_particles_ob003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's namespace=##any, R's
    namespace=##other Added schemaDoc for xsi:schemaLoc'd additional
    schema, per WG decision
    """
    assert_bindings(
        schema="msData/particles/particlesOb003.xsd",
        instance="msData/particles/particlesOb003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa014_particles_oa014_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=2, B's
    maxOccurs=4, R's minOccurs=3, R's maxOccurs=3
    """
    assert_bindings(
        schema="msData/particles/particlesOa014.xsd",
        instance="msData/particles/particlesOa014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa013_particles_oa013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=2, B's
    maxOccurs=4, R's minOccurs=2, R's maxOccurs=3
    """
    assert_bindings(
        schema="msData/particles/particlesOa013.xsd",
        instance="msData/particles/particlesOa013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa012_particles_oa012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=2, B's
    maxOccurs=4, R's minOccurs=3, R's maxOccurs=4
    """
    assert_bindings(
        schema="msData/particles/particlesOa012.xsd",
        instance="msData/particles/particlesOa012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa011_particles_oa011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=2, B's
    maxOccurs=4, R's minOccurs=2, R's maxOccurs=4
    """
    assert_bindings(
        schema="msData/particles/particlesOa011.xsd",
        instance="msData/particles/particlesOa011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa006_particles_oa006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=absent, B's
    maxOccurs=absent, R's minOccurs=absent, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesOa006.xsd",
        instance="msData/particles/particlesOa006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa003_particles_oa003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=absent, B's
    maxOccurs=absent, R's minOccurs=1, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesOa003.xsd",
        instance="msData/particles/particlesOa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_oa001_particles_oa001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)
    R drived by restriction from (any) B : B's minOccurs=absent, B's
    maxOccurs=absent, R's minOccurs=absent, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesOa001.xsd",
        instance="msData/particles/particlesOa001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_m035_particles_m035_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Sequence -
    RecurseAsIfGroup) element R drived by restriction from (Sequence) B :
    B's parent is choice, B=(a*, b+), R=(b+)
    """
    assert_bindings(
        schema="msData/particles/particlesM035.xsd",
        instance="msData/particles/particlesM035.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_m003_particles_m003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Sequence -
    RecurseAsIfGroup) element R drived by restriction from (Sequence) B :
    B's parent is choice, B's minOccurs=2, R's minOccurs=3
    """
    assert_bindings(
        schema="msData/particles/particlesM003.xsd",
        instance="msData/particles/particlesM003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_m002_particles_m002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Sequence -
    RecurseAsIfGroup) element R drived by restriction from (Sequence) B :
    B's parent is choice, B's minOccurs=2, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesM002.xsd",
        instance="msData/particles/particlesM002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l029_particles_l029_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with final=#all, R has
    element 'foo' with final=#all
    """
    assert_bindings(
        schema="msData/particles/particlesL029.xsd",
        instance="msData/particles/particlesL029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l028_particles_l028_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=substitution, R
    has element 'foo' with block=substitution
    """
    assert_bindings(
        schema="msData/particles/particlesL028.xsd",
        instance="msData/particles/particlesL028.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l025_particles_l025_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=substitution, R
    has element 'foo' with block=#all
    """
    assert_bindings(
        schema="msData/particles/particlesL025.xsd",
        instance="msData/particles/particlesL025.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l023_particles_l023_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=restriction, R
    has element 'foo' with block=restriction
    """
    assert_bindings(
        schema="msData/particles/particlesL023.xsd",
        instance="msData/particles/particlesL023.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l021_particles_l021_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=restriction, R
    has element 'foo' with block=#all
    """
    assert_bindings(
        schema="msData/particles/particlesL021.xsd",
        instance="msData/particles/particlesL021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l018_particles_l018_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=extension, R
    has element 'foo' with block=extension
    """
    assert_bindings(
        schema="msData/particles/particlesL018.xsd",
        instance="msData/particles/particlesL018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l017_particles_l017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=extension, R
    has element 'foo' with block=#all
    """
    assert_bindings(
        schema="msData/particles/particlesL017.xsd",
        instance="msData/particles/particlesL017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l013_particles_l013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with block=#all, R has
    element 'foo' with block=#all
    """
    assert_bindings(
        schema="msData/particles/particlesL013.xsd",
        instance="msData/particles/particlesL013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l012_particles_l012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B has element 'foo' with mixed=TRUE, R has
    element 'foo' with mixed=FALSE
    """
    assert_bindings(
        schema="msData/particles/particlesL012.xsd",
        instance="msData/particles/particlesL012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l007_particles_l007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B's minOccurs=B' maxOccurs=absent, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesL007.xsd",
        instance="msData/particles/particlesL007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l006_particles_l006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B's minOccurs=B' maxOccurs=absent, R's
    minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesL006.xsd",
        instance="msData/particles/particlesL006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_l003_particles_l003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:Choice -
    RecurseAsIfGroup) element R drived by restriction from (Choice) B :
    B's parent is sequence, B's minOccurs= 2, R's maxOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesL003.xsd",
        instance="msData/particles/particlesL003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_k008_particles_k008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:All -
    RecurseAsIfGroup) element R drived by restriction from (all) B : R has
    an element (min=maxOccurs=1) from a different namespace than the
    targetNS
    """
    assert_bindings(
        schema="msData/particles/particlesK008.xsd",
        instance="msData/particles/particlesK008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_k005_particles_k005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:All -
    RecurseAsIfGroup) element R drived by restriction from (all) B : B's
    minOccurs=0, B' maxOccurs=absent, R's minOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesK005.xsd",
        instance="msData/particles/particlesK005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_k003_particles_k003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:All -
    RecurseAsIfGroup) element R drived by restriction from (all) B : B's
    minOccurs=1, B' maxOccurs=absent, R's minOccurs=absent, R's
    maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesK003.xsd",
        instance="msData/particles/particlesK003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_k002_particles_k002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:All -
    RecurseAsIfGroup) element R drived by restriction from (all) B : B's
    minOccurs=absent, B' maxOccurs=1, R's minOccurs=1, R's
    maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesK002.xsd",
        instance="msData/particles/particlesK002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_k001_particles_k001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (Elt:All -
    RecurseAsIfGroup) element R drived by restriction from (all) B : B's
    minOccurs=1, B' maxOccurs=1, R's minOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesK001.xsd",
        instance="msData/particles/particlesK001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ju003_particles_ju003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##local, ##targetNamespace, nsFoo, nsBar), R's
    targetNamespace=targetNamespace, B's minOccurs less than R's minOccurs
    , B's maxOccurs > R's maxOccurs
    """
    assert_bindings(
        schema="msData/particles/particlesJu003.xsd",
        instance="msData/particles/particlesJu003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ju002_particles_ju002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##local, ##targetNamespace, nsFoo, nsBar), R's targetNamespace=nsFoo,
    B's minOccurs less than R's minOccurs , B's maxOccurs > R's maxOccurs
    """
    assert_bindings(
        schema="msData/particles/particlesJu002.xsd",
        instance="msData/particles/particlesJu002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ju001_particles_ju001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##local, ##targetNamespace, nsFoo, nsBar), R's
    targetNamespace=absent, B's minOccurs less than R's minOccurs , B's
    maxOccurs > R's maxOccurs
    """
    assert_bindings(
        schema="msData/particles/particlesJu001.xsd",
        instance="msData/particles/particlesJu001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_js001_particles_js001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##local), R's namespace=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJs001.xsd",
        instance="msData/particles/particlesJs001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jq010_particles_jq010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##targetNamespace), R's namespace=targetNamespace, B's
    maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJq010.xsd",
        instance="msData/particles/particlesJq010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jq008_particles_jq008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##targetNamespace), R's namespace=targetNamespace, B's maxOccurs=1,
    R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJq008.xsd",
        instance="msData/particles/particlesJq008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jq007_particles_jq007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##targetNamespace), R's namespace=targetNamespace, B's maxOccurs=1,
    R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJq007.xsd",
        instance="msData/particles/particlesJq007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jp005_particles_jp005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##targetNamespace), R's namespace=targetNamespace, B's minOccurs=1,
    R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJp005.xsd",
        instance="msData/particles/particlesJp005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jp004_particles_jp004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (##targetNamespace), R's namespace=targetNamespace, B's minOccurs=1,
    R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJp004.xsd",
        instance="msData/particles/particlesJp004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jn010_particles_jn010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences), R's targetNamespace=ref of an elt from valid
    targetNS, B's maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJn010.xsd",
        instance="msData/particles/particlesJn010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jn008_particles_jn008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences), R's targetNamespace=ref of an elt from valid
    targetNS, B's maxOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJn008.xsd",
        instance="msData/particles/particlesJn008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jn007_particles_jn007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences), R's targetNamespace=ref of an elt from valid
    targetNS, B's maxOccurs=1, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJn007.xsd",
        instance="msData/particles/particlesJn007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jm005_particles_jm005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences), R's targetNamespace=ref of an elt from valid
    targetNS, B's minOccurs=1, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJm005.xsd",
        instance="msData/particles/particlesJm005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jm004_particles_jm004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences), R's targetNamespace=ref of an elt from valid
    targetNS, B's minOccurs=1, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJm004.xsd",
        instance="msData/particles/particlesJm004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jl001_particles_jl001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=list
    (uriReferences [ foo, bar ]), R's targetNamespace=foo
    """
    assert_bindings(
        schema="msData/particles/particlesJl001.xsd",
        instance="msData/particles/particlesJl001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk016_particles_jk016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=absent, B's maxOccurs=2, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJk016.xsd",
        instance="msData/particles/particlesJk016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk015_particles_jk015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJk015.xsd",
        instance="msData/particles/particlesJk015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk013_particles_jk013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJk013.xsd",
        instance="msData/particles/particlesJk013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk011_particles_jk011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJk011.xsd",
        instance="msData/particles/particlesJk011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk010_particles_jk010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJk010.xsd",
        instance="msData/particles/particlesJk010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk008_particles_jk008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJk008.xsd",
        instance="msData/particles/particlesJk008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk007_particles_jk007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJk007.xsd",
        instance="msData/particles/particlesJk007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk005_particles_jk005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=0, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJk005.xsd",
        instance="msData/particles/particlesJk005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk004_particles_jk004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJk004.xsd",
        instance="msData/particles/particlesJk004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk003_particles_jk003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=999999
    """
    assert_bindings(
        schema="msData/particles/particlesJk003.xsd",
        instance="msData/particles/particlesJk003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk002_particles_jk002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJk002.xsd",
        instance="msData/particles/particlesJk002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jk001_particles_jk001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJk001.xsd",
        instance="msData/particles/particlesJk001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj011_particles_jj011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJj011.xsd",
        instance="msData/particles/particlesJj011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj010_particles_jj010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJj010.xsd",
        instance="msData/particles/particlesJj010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj009_particles_jj009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJj009.xsd",
        instance="msData/particles/particlesJj009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj008_particles_jj008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJj008.xsd",
        instance="msData/particles/particlesJj008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj007_particles_jj007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJj007.xsd",
        instance="msData/particles/particlesJj007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj005_particles_jj005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJj005.xsd",
        instance="msData/particles/particlesJj005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj004_particles_jj004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJj004.xsd",
        instance="msData/particles/particlesJj004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj002_particles_jj002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJj002.xsd",
        instance="msData/particles/particlesJj002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jj001_particles_jj001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##other,
    R's targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJj001.xsd",
        instance="msData/particles/particlesJj001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf016_particles_jf016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=2, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJf016.xsd",
        instance="msData/particles/particlesJf016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf015_particles_jf015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJf015.xsd",
        instance="msData/particles/particlesJf015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf013_particles_jf013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJf013.xsd",
        instance="msData/particles/particlesJf013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf011_particles_jf011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJf011.xsd",
        instance="msData/particles/particlesJf011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf010_particles_jf010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJf010.xsd",
        instance="msData/particles/particlesJf010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf008_particles_jf008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJf008.xsd",
        instance="msData/particles/particlesJf008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf007_particles_jf007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=1, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJf007.xsd",
        instance="msData/particles/particlesJf007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf005_particles_jf005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=0, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJf005.xsd",
        instance="msData/particles/particlesJf005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf004_particles_jf004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJf004.xsd",
        instance="msData/particles/particlesJf004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf003_particles_jf003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=999999
    """
    assert_bindings(
        schema="msData/particles/particlesJf003.xsd",
        instance="msData/particles/particlesJf003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf002_particles_jf002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJf002.xsd",
        instance="msData/particles/particlesJf002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jf001_particles_jf001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    maxOccurs=unbounded, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJf001.xsd",
        instance="msData/particles/particlesJf001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je011_particles_je011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJe011.xsd",
        instance="msData/particles/particlesJe011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je010_particles_je010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJe010.xsd",
        instance="msData/particles/particlesJe010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je009_particles_je009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJe009.xsd",
        instance="msData/particles/particlesJe009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je008_particles_je008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJe008.xsd",
        instance="msData/particles/particlesJe008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je007_particles_je007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=absent, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJe007.xsd",
        instance="msData/particles/particlesJe007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je005_particles_je005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJe005.xsd",
        instance="msData/particles/particlesJe005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je004_particles_je004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=1, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJe004.xsd",
        instance="msData/particles/particlesJe004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je002_particles_je002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJe002.xsd",
        instance="msData/particles/particlesJe002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_je001_particles_je001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=ref of an elt from different targetNS, B's
    minOccurs=0, R's minOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJe001.xsd",
        instance="msData/particles/particlesJe001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd016_particles_jd016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=2, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJd016.xsd",
        instance="msData/particles/particlesJd016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd015_particles_jd015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=1, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJd015.xsd",
        instance="msData/particles/particlesJd015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd013_particles_jd013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=absent, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJd013.xsd",
        instance="msData/particles/particlesJd013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd011_particles_jd011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=absent, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJd011.xsd",
        instance="msData/particles/particlesJd011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd010_particles_jd010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJd010.xsd",
        instance="msData/particles/particlesJd010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd008_particles_jd008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJd008.xsd",
        instance="msData/particles/particlesJd008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd007_particles_jd007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=1, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJd007.xsd",
        instance="msData/particles/particlesJd007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd005_particles_jd005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=0, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJd005.xsd",
        instance="msData/particles/particlesJd005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd004_particles_jd004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJd004.xsd",
        instance="msData/particles/particlesJd004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd003_particles_jd003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=999999
    """
    assert_bindings(
        schema="msData/particles/particlesJd003.xsd",
        instance="msData/particles/particlesJd003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd002_particles_jd002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJd002.xsd",
        instance="msData/particles/particlesJd002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jd001_particles_jd001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJd001.xsd",
        instance="msData/particles/particlesJd001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc011_particles_jc011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=1, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJc011.xsd",
        instance="msData/particles/particlesJc011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc010_particles_jc010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=0, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJc010.xsd",
        instance="msData/particles/particlesJc010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc009_particles_jc009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=absent, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJc009.xsd",
        instance="msData/particles/particlesJc009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc008_particles_jc008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=absent, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJc008.xsd",
        instance="msData/particles/particlesJc008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc007_particles_jc007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=absent, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJc007.xsd",
        instance="msData/particles/particlesJc007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc005_particles_jc005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=1, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJc005.xsd",
        instance="msData/particles/particlesJc005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc004_particles_jc004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=1, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJc004.xsd",
        instance="msData/particles/particlesJc004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc002_particles_jc002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=0, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJc002.xsd",
        instance="msData/particles/particlesJc002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jc001_particles_jc001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=absent, B's minOccurs=0, R's minOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJc001.xsd",
        instance="msData/particles/particlesJc001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb016_particles_jb016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=2, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJb016.xsd",
        instance="msData/particles/particlesJb016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb015_particles_jb015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=1, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJb015.xsd",
        instance="msData/particles/particlesJb015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb013_particles_jb013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=absent, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJb013.xsd",
        instance="msData/particles/particlesJb013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb011_particles_jb011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=absent, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJb011.xsd",
        instance="msData/particles/particlesJb011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb010_particles_jb010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=absent, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJb010.xsd",
        instance="msData/particles/particlesJb010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb008_particles_jb008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=1, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJb008.xsd",
        instance="msData/particles/particlesJb008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb007_particles_jb007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=1, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJb007.xsd",
        instance="msData/particles/particlesJb007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb005_particles_jb005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=0, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJb005.xsd",
        instance="msData/particles/particlesJb005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb004_particles_jb004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJb004.xsd",
        instance="msData/particles/particlesJb004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb003_particles_jb003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=999999
    """
    assert_bindings(
        schema="msData/particles/particlesJb003.xsd",
        instance="msData/particles/particlesJb003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb002_particles_jb002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJb002.xsd",
        instance="msData/particles/particlesJb002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_jb001_particles_jb001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJb001.xsd",
        instance="msData/particles/particlesJb001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja011_particles_ja011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=1, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJa011.xsd",
        instance="msData/particles/particlesJa011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja010_particles_ja010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=0, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJa010.xsd",
        instance="msData/particles/particlesJa010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja009_particles_ja009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=absent, R's minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesJa009.xsd",
        instance="msData/particles/particlesJa009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja008_particles_ja008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=absent, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJa008.xsd",
        instance="msData/particles/particlesJa008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja007_particles_ja007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=absent, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJa007.xsd",
        instance="msData/particles/particlesJa007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja005_particles_ja005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=1, R's minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesJa005.xsd",
        instance="msData/particles/particlesJa005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja004_particles_ja004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=1, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJa004.xsd",
        instance="msData/particles/particlesJa004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja002_particles_ja002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=0, R's minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesJa002.xsd",
        instance="msData/particles/particlesJa002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ja001_particles_ja001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Particle Derivation OK (elt:Any) element R
    drived by restriction from wildcard (any) B : B's namespace=##any, R's
    targetNamespace=foo, B's minOccurs=0, R's minOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesJa001.xsd",
        instance="msData/particles/particlesJa001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ik026_particles_ik026_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=U1, union of simpleType s1, s2, R
    type=x1 which is drived by restriction from the U1.
    """
    assert_bindings(
        schema="msData/particles/particlesIk026.xsd",
        instance="msData/particles/particlesIk026.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ik012_particles_ik012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=simpleType with union (S1, S2), R
    type=simpleType with union (S1, S2)
    """
    assert_bindings(
        schema="msData/particles/particlesIk012.xsd",
        instance="msData/particles/particlesIk012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ik004_particles_ik004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=simpleType xsd:string, R
    type=simpleType restriction of xsd:string
    """
    assert_bindings(
        schema="msData/particles/particlesIk004.xsd",
        instance="msData/particles/particlesIk004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ik001_particles_ik001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=simpleType 'foo', R type=simpleType
    'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIk001.xsd",
        instance="msData/particles/particlesIk001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ij006_particles_ij006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=complexType 'Z' which is a drived
    by restriction of 'foo', R type=complexType 'Z' which is a drived by
    restriction of 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIj006.xsd",
        instance="msData/particles/particlesIj006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ij005_particles_ij005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=complexType 'foo', R
    type=complexType 'Z' which is a drived by restriction of 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIj005.xsd",
        instance="msData/particles/particlesIj005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ij002_particles_ij002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=complexType 'foo', R
    type=complexType 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIj002.xsd",
        instance="msData/particles/particlesIj002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ij001_particles_ij001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B type=absent, R type=anyType
    """
    assert_bindings(
        schema="msData/particles/particlesIj001.xsd",
        instance="msData/particles/particlesIj001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig015_particles_ig015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=empty, R
    disallowed substitutions=sub
    """
    assert_bindings(
        schema="msData/particles/particlesIg015.xsd",
        instance="msData/particles/particlesIg015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig014_particles_ig014_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=absent, R
    disallowed substitutions=sub
    """
    assert_bindings(
        schema="msData/particles/particlesIg014.xsd",
        instance="msData/particles/particlesIg014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig012_particles_ig012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=sub, ext , R
    disallowed substitutions=#all
    """
    assert_bindings(
        schema="msData/particles/particlesIg012.xsd",
        instance="msData/particles/particlesIg012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig011_particles_ig011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=res, sub, R
    disallowed substitutions=res, sub, ext
    """
    assert_bindings(
        schema="msData/particles/particlesIg011.xsd",
        instance="msData/particles/particlesIg011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig005_particles_ig005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=sub, ext, res,
    R disallowed substitutions=#all
    """
    assert_bindings(
        schema="msData/particles/particlesIg005.xsd",
        instance="msData/particles/particlesIg005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig002_particles_ig002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=extension, R
    disallowed substitutions=extension
    """
    assert_bindings(
        schema="msData/particles/particlesIg002.xsd",
        instance="msData/particles/particlesIg002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ig001_particles_ig001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B disallowed substitutions=substitution, R
    disallowed substitutions=substitution
    """
    assert_bindings(
        schema="msData/particles/particlesIg001.xsd",
        instance="msData/particles/particlesIg001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if006_particles_if006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B fixed=empty, R fixed=empty
    """
    assert_bindings(
        schema="msData/particles/particlesIf006.xsd",
        instance="msData/particles/particlesIf006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if005_particles_if005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B fixed=foo', R fixed=foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIf005.xsd",
        instance="msData/particles/particlesIf005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if004_particles_if004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B default=empty, R default=foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIf004.xsd",
        instance="msData/particles/particlesIf004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if003_particles_if003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B default=bar, R default=foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIf003.xsd",
        instance="msData/particles/particlesIf003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if002_particles_if002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B default=absent, R default=foo'
    """
    assert_bindings(
        schema="msData/particles/particlesIf002.xsd",
        instance="msData/particles/particlesIf002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_if001_particles_if001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B default=absent, R default=empty
    """
    assert_bindings(
        schema="msData/particles/particlesIf001.xsd",
        instance="msData/particles/particlesIf001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie016_particles_ie016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=2, R maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIe016.xsd",
        instance="msData/particles/particlesIe016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie015_particles_ie015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=1, R maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIe015.xsd",
        instance="msData/particles/particlesIe015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie013_particles_ie013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=absent, R maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIe013.xsd",
        instance="msData/particles/particlesIe013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie011_particles_ie011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=absent, R maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesIe011.xsd",
        instance="msData/particles/particlesIe011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie010_particles_ie010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=absent, R maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesIe010.xsd",
        instance="msData/particles/particlesIe010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie008_particles_ie008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=1, R maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesIe008.xsd",
        instance="msData/particles/particlesIe008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie007_particles_ie007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=1, R maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesIe007.xsd",
        instance="msData/particles/particlesIe007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie005_particles_ie005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=0, R maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesIe005.xsd",
        instance="msData/particles/particlesIe005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie004_particles_ie004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=unbounded, R maxOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIe004.xsd",
        instance="msData/particles/particlesIe004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie003_particles_ie003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=unbounded, R maxOccurs=999999
    """
    assert_bindings(
        schema="msData/particles/particlesIe003.xsd",
        instance="msData/particles/particlesIe003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie002_particles_ie002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=unbounded, R maxOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesIe002.xsd",
        instance="msData/particles/particlesIe002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ie001_particles_ie001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B maxOccurs=unbounded, R maxOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesIe001.xsd",
        instance="msData/particles/particlesIe001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id011_particles_id011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=1, R minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesId011.xsd",
        instance="msData/particles/particlesId011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id010_particles_id010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=0, R minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesId010.xsd",
        instance="msData/particles/particlesId010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id009_particles_id009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=absent, R minOccurs=absent
    """
    assert_bindings(
        schema="msData/particles/particlesId009.xsd",
        instance="msData/particles/particlesId009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id008_particles_id008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=absent, R minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesId008.xsd",
        instance="msData/particles/particlesId008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id007_particles_id007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=absent, R minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesId007.xsd",
        instance="msData/particles/particlesId007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id005_particles_id005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=1, R minOccurs=2
    """
    assert_bindings(
        schema="msData/particles/particlesId005.xsd",
        instance="msData/particles/particlesId005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id004_particles_id004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=1, R minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesId004.xsd",
        instance="msData/particles/particlesId004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id002_particles_id002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=0, R minOccurs=1
    """
    assert_bindings(
        schema="msData/particles/particlesId002.xsd",
        instance="msData/particles/particlesId002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_id001_particles_id001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B minOccurs=0, R minOccurs=0
    """
    assert_bindings(
        schema="msData/particles/particlesId001.xsd",
        instance="msData/particles/particlesId001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ic007_particles_ic007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B (B is from included XSD): B
    targetNanespace=absent, R targetNanespace=foo
    """
    assert_bindings(
        schema="msData/particles/particlesIc007.xsd",
        instance="msData/particles/particlesIc007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ic006_particles_ic006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B (B is from included XSD): B
    targetNanespace=absent, R targetNanespace=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIc006.xsd",
        instance="msData/particles/particlesIc006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ic005_particles_ic005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B (B is from included XSD): B
    targetNanespace=foo, R targetNanespace=foo
    """
    assert_bindings(
        schema="msData/particles/particlesIc005.xsd",
        instance="msData/particles/particlesIc005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ic001_particles_ic001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B targetNanespace=foo, R
    targetNanespace=foo
    """
    assert_bindings(
        schema="msData/particles/particlesIc001.xsd",
        instance="msData/particles/particlesIc001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ib005_particles_ib005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B name=foo, R name=ref to group which has
    foo only
    """
    assert_bindings(
        schema="msData/particles/particlesIb005.xsd",
        instance="msData/particles/particlesIb005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ib003_particles_ib003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B name=foo, R name=ref to foo
    """
    assert_bindings(
        schema="msData/particles/particlesIb003.xsd",
        instance="msData/particles/particlesIb003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ib001_particles_ib001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B name=foo, R name=foo
    """
    assert_bindings(
        schema="msData/particles/particlesIb001.xsd",
        instance="msData/particles/particlesIb001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ia005_particles_ia005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B nillable=absent, R nillable=FALSE
    """
    assert_bindings(
        schema="msData/particles/particlesIa005.xsd",
        instance="msData/particles/particlesIa005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ia004_particles_ia004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B nillable=FALSE, R nillable=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIa004.xsd",
        instance="msData/particles/particlesIa004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ia003_particles_ia003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B nillable=absent, R nillable=absent
    """
    assert_bindings(
        schema="msData/particles/particlesIa003.xsd",
        instance="msData/particles/particlesIa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ia002_particles_ia002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B nillable=TRUE, R nillable=TRUE
    """
    assert_bindings(
        schema="msData/particles/particlesIa002.xsd",
        instance="msData/particles/particlesIa002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ia001_particles_ia001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : NameAndTypedOK (elt:elt ) element R drived by
    restriction from element B: B nillable=FALSE, R nillable=FALSE
    """
    assert_bindings(
        schema="msData/particles/particlesIa001.xsd",
        instance="msData/particles/particlesIa001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha018_particles_ha018_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of particles: All
    has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa018.xsd",
        instance="msData/particles/particlesHa018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha017_particles_ha017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of particles: All is
    empty
    """
    assert_bindings(
        schema="msData/particles/particlesHa017.xsd",
        instance="msData/particles/particlesHa017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha016_particles_ha016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under 'sequence' (P) with minOccurs=maxOccurs=1, and the
    (P) is itself among the particles of a 'choice'
    """
    assert_bindings(
        schema="msData/particles/particlesHa016.xsd",
        instance="msData/particles/particlesHa016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha015_particles_ha015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under 'choice' (P) with minOccurs=maxOccurs=1, and the
    (P) is itself among the particles of a 'choice'
    """
    assert_bindings(
        schema="msData/particles/particlesHa015.xsd",
        instance="msData/particles/particlesHa015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha014_particles_ha014_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under group (P) with minOccurs=maxOccurs=1, and the (P)
    is itself among the particles of a 'choice'
    """
    assert_bindings(
        schema="msData/particles/particlesHa014.xsd",
        instance="msData/particles/particlesHa014.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha013_particles_ha013_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under 'sequence' (P) with minOccurs=maxOccurs=1, and the
    ( C) has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa013.xsd",
        instance="msData/particles/particlesHa013.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha012_particles_ha012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under 'choice' (P) with minOccurs=maxOccurs=1, and the (
    C) has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa012.xsd",
        instance="msData/particles/particlesHa012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha011_particles_ha011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) appears under group (P) with minOccurs=maxOccurs=1, and the ( C)
    has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa011.xsd",
        instance="msData/particles/particlesHa011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha010_particles_ha010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) is empty and the 'sequence' within which ( C) appears has
    minOccurs of 0
    """
    assert_bindings(
        schema="msData/particles/particlesHa010.xsd",
        instance="msData/particles/particlesHa010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha009_particles_ha009_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'choice' : choice
    ( C) is empty and the 'choice' within which ( C) appears has minOccurs
    of 0
    """
    assert_bindings(
        schema="msData/particles/particlesHa009.xsd",
        instance="msData/particles/particlesHa009.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha007_particles_ha007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a 'sequence' (P) with
    minOccurs=maxOccurs=1, and the (P) is itself among the particles of a
    'sequence'
    """
    assert_bindings(
        schema="msData/particles/particlesHa007.xsd",
        instance="msData/particles/particlesHa007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha006_particles_ha006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a 'choice' (P) with minOccurs=maxOccurs=1,
    and the (P) is itself among the particles of a 'sequence'
    """
    assert_bindings(
        schema="msData/particles/particlesHa006.xsd",
        instance="msData/particles/particlesHa006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha005_particles_ha005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a model group (P) with
    minOccurs=maxOccurs=1, and the (P) is itself among the particles of a
    'sequence'
    """
    assert_bindings(
        schema="msData/particles/particlesHa005.xsd",
        instance="msData/particles/particlesHa005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha004_particles_ha004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a 'sequence' (P) with
    minOccurs=maxOccurs=1, and the (S) has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa004.xsd",
        instance="msData/particles/particlesHa004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha003_particles_ha003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a 'choice' (P) with minOccurs=maxOccurs=1,
    and the (S) has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa003.xsd",
        instance="msData/particles/particlesHa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha002_particles_ha002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence' :
    sequence (S) appears under a model group (P) with
    minOccurs=maxOccurs=1, and the (S) has only one member
    """
    assert_bindings(
        schema="msData/particles/particlesHa002.xsd",
        instance="msData/particles/particlesHa002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ha001_particles_ha001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : ignore pointless occurences of 'sequence'
    :sequence is empty
    """
    assert_bindings(
        schema="msData/particles/particlesHa001.xsd",
        instance="msData/particles/particlesHa001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fb004_particles_fb004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B=group,
    E=sequence with B as the first content particle (follow by sequence)
    """
    assert_bindings(
        schema="msData/particles/particlesFb004.xsd",
        instance="msData/particles/particlesFb004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fb001_particles_fb001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B=choice,
    E=sequence with B as the first content particle (follow by group)
    """
    assert_bindings(
        schema="msData/particles/particlesFb001.xsd",
        instance="msData/particles/particlesFb001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fa005_particles_fa005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B= 'any', E=same
    as B
    """
    assert_bindings(
        schema="msData/particles/particlesFa005.xsd",
        instance="msData/particles/particlesFa005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fa004_particles_fa004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B= group, E=same
    as B
    """
    assert_bindings(
        schema="msData/particles/particlesFa004.xsd",
        instance="msData/particles/particlesFa004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fa003_particles_fa003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B= 'choice',
    E=same as B, different annotation properties
    """
    assert_bindings(
        schema="msData/particles/particlesFa003.xsd",
        instance="msData/particles/particlesFa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_fa002_particles_fa002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : E drived by extension from B, B= 'sequence',
    E=same as B, same annotation properties
    """
    assert_bindings(
        schema="msData/particles/particlesFa002.xsd",
        instance="msData/particles/particlesFa002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec037_particles_ec037_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (b,b,b,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc037.xsd",
        instance="msData/particles/particlesEc037.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec036_particles_ec036_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (b,a,b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc036.xsd",
        instance="msData/particles/particlesEc036.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec035_particles_ec035_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (a,a,a,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc035.xsd",
        instance="msData/particles/particlesEc035.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec034_particles_ec034_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (b,a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc034.xsd",
        instance="msData/particles/particlesEc034.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec033_particles_ec033_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (a,b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc033.xsd",
        instance="msData/particles/particlesEc033.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec032_particles_ec032_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc032.xsd",
        instance="msData/particles/particlesEc032.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec031_particles_ec031_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc031.xsd",
        instance="msData/particles/particlesEc031.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec030_particles_ec030_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (b,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc030.xsd",
        instance="msData/particles/particlesEc030.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec029_particles_ec029_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=choice (a|b), and the instant XML has (a,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc029.xsd",
        instance="msData/particles/particlesEc029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec021_particles_ec021_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc021.xsd",
        instance="msData/particles/particlesEc021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec020_particles_ec020_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (b,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc020.xsd",
        instance="msData/particles/particlesEc020.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec019_particles_ec019_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc019.xsd",
        instance="msData/particles/particlesEc019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec018_particles_ec018_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (a,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc018.xsd",
        instance="msData/particles/particlesEc018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec017_particles_ec017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (b)
    """
    assert_bindings(
        schema="msData/particles/particlesEc017.xsd",
        instance="msData/particles/particlesEc017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec016_particles_ec016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant
    XML has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc016.xsd",
        instance="msData/particles/particlesEc016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec012_particles_ec012_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=1, content=choice (a|b), and the instant
    XML has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc012.xsd",
        instance="msData/particles/particlesEc012.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec006_particles_ec006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=1,
    maxOccurs=absent, content=choice (a|b), and the instant XML has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc006.xsd",
        instance="msData/particles/particlesEc006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec002_particles_ec002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=0,
    maxOccurs=absent, content=choice (a|b), and the instant XML has (a)
    """
    assert_bindings(
        schema="msData/particles/particlesEc002.xsd",
        instance="msData/particles/particlesEc002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ec001_particles_ec001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=0,
    maxOccurs=absent, content=choice (a|b), and the instant XML has no
    element
    """
    assert_bindings(
        schema="msData/particles/particlesEc001.xsd",
        instance="msData/particles/particlesEc001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb041_particles_eb041_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : Valid restriction of a content model from within
    the content model
    """
    assert_bindings(
        schema="msData/particles/particlesEb041.xsd",
        instance="msData/particles/particlesEb041.xml",
        class_name="Root",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb038_particles_eb038_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=sequence (a,b), and the instant XML has
    (a,b,a,b,a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb038.xsd",
        instance="msData/particles/particlesEb038.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb036_particles_eb036_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=2,
    maxOccurs=4, content=sequence (a,b), and the instant XML has (a,b,a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb036.xsd",
        instance="msData/particles/particlesEb036.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb027_particles_eb027_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=sequence (a,b), and the instant
    XML has (a,b,a,b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb027.xsd",
        instance="msData/particles/particlesEb027.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb026_particles_eb026_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=2, content=sequence (a,b), and the instant
    XML has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb026.xsd",
        instance="msData/particles/particlesEb026.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb019_particles_eb019_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=1, content=sequence (a,b), and the instant
    XML has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb019.xsd",
        instance="msData/particles/particlesEb019.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb010_particles_eb010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=1,
    maxOccurs=absent, content=sequence (a,b), and the instant XML has (a,
    b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb010.xsd",
        instance="msData/particles/particlesEb010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb003_particles_eb003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=0,
    maxOccurs=absent, content=sequence (a,b), and the instant XML has (a,
    b)
    """
    assert_bindings(
        schema="msData/particles/particlesEb003.xsd",
        instance="msData/particles/particlesEb003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_eb001_particles_eb001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=0,
    maxOccurs=absent, content=sequence (a,b), and the instant XML has no
    element
    """
    assert_bindings(
        schema="msData/particles/particlesEb001.xsd",
        instance="msData/particles/particlesEb001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea018_particles_ea018_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=1, content=all (a,b), and the instant XML
    has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEa018.xsd",
        instance="msData/particles/particlesEa018.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea017_particles_ea017_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=1, content=all (a,b), and the instant XML
    has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesEa017.xsd",
        instance="msData/particles/particlesEa017.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea015_particles_ea015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=1, content=all (a,b), and the instant XML
    has no element
    """
    assert_bindings(
        schema="msData/particles/particlesEa015.xsd",
        instance="msData/particles/particlesEa015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea011_particles_ea011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=1,
    maxOccurs=absent, content=all (a,b), and the instant XML has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEa011.xsd",
        instance="msData/particles/particlesEa011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea010_particles_ea010_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=1,
    maxOccurs=absent, content=all (a,b), and the instant XML has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesEa010.xsd",
        instance="msData/particles/particlesEa010.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea008_particles_ea008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with minOccurs=1,
    maxOccurs=absent, content=all (a,b), and the instant XML has no
    element
    """
    assert_bindings(
        schema="msData/particles/particlesEa008.xsd",
        instance="msData/particles/particlesEa008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea004_particles_ea004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=absent, content=all (a,b), and the instant
    XML has (b,a)
    """
    assert_bindings(
        schema="msData/particles/particlesEa004.xsd",
        instance="msData/particles/particlesEa004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea003_particles_ea003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=absent, content=all (a,b), and the instant
    XML has (a, b)
    """
    assert_bindings(
        schema="msData/particles/particlesEa003.xsd",
        instance="msData/particles/particlesEa003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_ea001_particles_ea001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is a model group with
    minOccurs=absent, maxOccurs=absent, content=all (a,b) with
    minOccurs="0", and the instant XML has no element
    """
    assert_bindings(
        schema="msData/particles/particlesEa001.xsd",
        instance="msData/particles/particlesEa001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_dc007_particles_dc007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=TRUE, block =extension restriction, instant element name
    resolved to element declared as a valid substitution group
    """
    assert_bindings(
        schema="msData/particles/particlesDc007.xsd",
        instance="msData/particles/particlesDc007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_dc003_particles_dc003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=TRUE, block =restriction, instant element name resolved to
    element declared as a valid substitution group
    """
    assert_bindings(
        schema="msData/particles/particlesDc003.xsd",
        instance="msData/particles/particlesDc003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_dc002_particles_dc002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=TRUE, block =extension, instant element name resolved to
    element declared as a valid substitution group
    """
    assert_bindings(
        schema="msData/particles/particlesDc002.xsd",
        instance="msData/particles/particlesDc002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_dc001_particles_dc001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=FALSE, block =absent, instant element name resolved to
    element declared as a valid substitution group
    """
    assert_bindings(
        schema="msData/particles/particlesDc001.xsd",
        instance="msData/particles/particlesDc001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_db007_particles_db007_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=FALSE, instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesDb007.xsd",
        instance="msData/particles/particlesDb007.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_db002_particles_db002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=global,
    abstract=absent, instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesDb002.xsd",
        instance="msData/particles/particlesDb002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_da002_particles_da002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'element' with scope=local,
    abstract=absent, instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesDa002.xsd",
        instance="msData/particles/particlesDa002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c046_particles_c046_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##targetNamespace bar ##local', instant element's namespace is
    'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC046.xsd",
        instance="msData/particles/particlesC046.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c045_particles_c045_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##targetNamespace bar ##local', instant element's namespace is
    unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC045.xsd",
        instance="msData/particles/particlesC045.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c044_particles_c044_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##targetNamespace bar ##local', instant element's namespace is 'bar'
    """
    assert_bindings(
        schema="msData/particles/particlesC044.xsd",
        instance="msData/particles/particlesC044.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c043_particles_c043_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##targetNamespace bar ##local', instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC043.xsd",
        instance="msData/particles/particlesC043.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c041_particles_c041_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=
    '##targetNamespace ##local', instant element's namespace is
    unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC041.xsd",
        instance="msData/particles/particlesC041.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c040_particles_c040_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=
    '##targetNamespace ##local', instant element's namespace is
    'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC040.xsd",
        instance="msData/particles/particlesC040.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c037_particles_c037_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##local', instant element's namespace is unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC037.xsd",
        instance="msData/particles/particlesC037.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c034_particles_c034_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo
    ##local', instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC034.xsd",
        instance="msData/particles/particlesC034.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c030_particles_c030_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo bar
    ##targetNamespace', instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC030.xsd",
        instance="msData/particles/particlesC030.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c029_particles_c029_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo bar
    ##targetNamespace', instant element's namespace is 'bar'
    """
    assert_bindings(
        schema="msData/particles/particlesC029.xsd",
        instance="msData/particles/particlesC029.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c028_particles_c028_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo bar
    ##targetNamespace', instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC028.xsd",
        instance="msData/particles/particlesC028.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c027_particles_c027_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= ##local,
    instant element's namespace is unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC027.xsd",
        instance="msData/particles/particlesC027.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c021_particles_c021_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=
    ##targetNamespace, instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC021.xsd",
        instance="msData/particles/particlesC021.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c016_particles_c016_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo bar',
    instant element's namespace is 'bar'
    """
    assert_bindings(
        schema="msData/particles/particlesC016.xsd",
        instance="msData/particles/particlesC016.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c015_particles_c015_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace= 'foo bar',
    instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC015.xsd",
        instance="msData/particles/particlesC015.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c011_particles_c011_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=
    'http://xslt', instant element's namespace is 'http://xslt'
    """
    assert_bindings(
        schema="msData/particles/particlesC011.xsd",
        instance="msData/particles/particlesC011.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c008_particles_c008_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=##other,
    instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC008.xsd",
        instance="msData/particles/particlesC008.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c006_particles_c006_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=##any,
    instant element's namespace is unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC006.xsd",
        instance="msData/particles/particlesC006.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c005_particles_c005_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=##any,
    instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC005.xsd",
        instance="msData/particles/particlesC005.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c004_particles_c004_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=##any,
    instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC004.xsd",
        instance="msData/particles/particlesC004.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c003_particles_c003_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=absent
    (default to ##any), instant element's namespace is unqualified
    """
    assert_bindings(
        schema="msData/particles/particlesC003.xsd",
        instance="msData/particles/particlesC003.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c002_particles_c002_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=absent
    (default to ##any), instant element's namespace is 'targetNamespace'
    """
    assert_bindings(
        schema="msData/particles/particlesC002.xsd",
        instance="msData/particles/particlesC002.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )


def test_particles_c001_particles_c001_v(mode, save_output, output_format):
    """
    TEST :3.9.1 The Particle Schema Component [ check length of element
    information items ] : The {term} is 'any' with namespace=absent
    (default to ##any), instant element's namespace is 'foo'
    """
    assert_bindings(
        schema="msData/particles/particlesC001.xsd",
        instance="msData/particles/particlesC001.xml",
        class_name="Doc",
        version="1.1",
        mode=mode,
        save_output=save_output,
        output_format=output_format,
        structure_style="filenames",
    )

TEST :Facet Schemas for string : (facet=minInclusive and value=- - -01     and facet=maxExclusive and value=- - -30) and document value=- - -15 TEST :Facet Schemas for string : (facet=minInclusive and value=- - -01     and facet=maxInclusive and value=- - -30) and document value=- - -15 TEST :Facet Schemas for string : facet=minInclusive and value=- - -01     and document value=- - -15 TEST :Facet Schemas for string : facet=minInclusive and value=- - -01     and document value=- - -01 TEST :Facet Schemas for string : facet=maxExclusive and value=- - -30     and document value=- - -15 TEST :Facet Schemas for string : facet=maxInclusive and value=- - -30     and document value=- - -15 TEST :Facet Schemas for string : facet=maxInclusive and value=- - -01     and document value=- - -01 TEST :Facet Schemas for string : facet=enumeration and value=- - -15 -     - -01 - - -30 and document value=- - -15 TEST :Facet Schemas for string : facet=enumeration and value=- - -15     and document value=- - -15 TEST :Facet Schemas for string : facet=pattern and value=- - -[0-9]{2}     and document value=- - -15 TEST :Facet Schemas for string : (facet=minExclusive and value=-     -01-01 and facet=maxExclusive and value=- -10-01) and document value=-     -03-15 TEST :Facet Schemas for string : (facet=minExclusive and value=-     -01-01 and facet=maxInclusive and value=- -10-01) and document value=-     -03-15 TEST :Facet Schemas for string : facet=minExclusive and value=- -01-01     and document value=- -03-15 TEST :Facet Schemas for string : (facet=minInclusive and value=-     -01-01 and facet=maxExclusive and value=- -10-01) and document value=-     -03-15 TEST :Facet Schemas for string : (facet=minInclusive and value=-     -01-01 and facet=maxInclusive and value=- -10-01) and document value=-     -03-15 TEST :Facet Schemas for string : facet=minInclusive and value=- -01-01     and document value=- -03-15 TEST :Facet Schemas for string : facet=minInclusive and value=- -01-01     and document value=- -01-01 TEST :Facet Schemas for string : facet=maxExclusive and value=- -10-01     and document value=- -03-15 TEST :Facet Schemas for string : facet=maxInclusive and value=- -10-01     and document value=- -03-15 TEST :Facet Schemas for string : facet=maxInclusive and value=- -01-01     and document value=- -01-01 TEST :Facet Schemas for string : facet=enumeration and value=- -03-15     - -01-01 - -10-01 and document value=- -03-15 TEST :Facet Schemas for string : facet=enumeration and value=- -03-15     and document value=- -03-15 TEST :Facet Schemas for string : facet=pattern and value=-     -[0-9]{2}-[0-9]{2} and document value=- -03-15 TEST :Facet Schemas for string : (facet=minExclusive and value=1998     and facet=maxExclusive and value=2002) and document value=2000 TEST :Facet Schemas for string : (facet=minExclusive and value=1998     and facet=maxInclusive and value=2002) and document value=2000 TEST :Facet Schemas for string : facet=minExclusive and value=1998 and     document value=2000 TEST :Facet Schemas for string : (facet=minInclusive and value=1998     and facet=maxExclusive and value=2002) and document value=2000 TEST :Facet Schemas for string : (facet=minInclusive and value=1998     and facet=maxInclusive and value=2002) and document value=2000 TEST :Facet Schemas for string : facet=minInclusive and value=1998 and     document value=2000 TEST :Facet Schemas for string : facet=minInclusive and value=1998 and     document value=1998 TEST :Facet Schemas for string : facet=maxExclusive and value=2002 and     document value=2000 TEST :Facet Schemas for string : facet=maxInclusive and value=2002 and     document value=2000 TEST :Facet Schemas for string : facet=maxInclusive and value=1998 and     document value=1998 TEST :Facet Schemas for string : facet=enumeration and value=2000 1999     2038 and document value=2000 TEST :Facet Schemas for string : facet=enumeration and value=2000 and     document value=2000 TEST :Facet Schemas for string : facet=pattern and value=[0-9]{4} and     document value=2000 TEST :Facet Schemas for string : (facet=minExclusive and value=2000-12     and facet=maxExclusive and value=2001-12) and document value=2001-03 TEST :Facet Schemas for string : (facet=minExclusive and value=2000-12     and facet=maxInclusive and value=2001-12) and document value=2001-03 TEST :Facet Schemas for string : facet=minExclusive and value=2000-12     and document value=2001-03 TEST :Facet Schemas for string : (facet=minInclusive and value=2000-12     and facet=maxExclusive and value=2001-12) and document value=2001-03 TEST :Facet Schemas for string : (facet=minInclusive and value=2000-12     and facet=maxInclusive and value=2001-12) and document value=2001-03 TEST :Facet Schemas for string : facet=minInclusive and value=2000-12     and document value=2001-03 TEST :Facet Schemas for string : facet=minInclusive and value=2000-12     and document value=2000-12 TEST :Facet Schemas for string : facet=maxExclusive and value=2001-12     and document value=2001-03 TEST :Facet Schemas for string : facet=maxInclusive and value=2001-12     and document value=2001-03 TEST :Facet Schemas for string : facet=maxInclusive and value=2000-12     and document value=2000-12 TEST :Facet Schemas for string : facet=enumeration and value=2001-03     2000-10 2001-12 and document value=2001-03 TEST :Facet Schemas for string : facet=enumeration and value=2001-03     and document value=2001-03 TEST :Facet Schemas for string : facet=pattern and     value=[0-9]{4}-[0-9]{2} and document value=2001-03 TEST :Facet Schemas for string : (facet=minExclusive and     value=1999-01-31 and facet=maxExclusive and value=2000-05-31) and     document value=1999-05-31 TEST :Facet Schemas for string : (facet=minExclusive and     value=1999-01-31 and facet=maxInclusive and value=2000-05-31) and     document value=1999-05-31 TEST :Facet Schemas for string : facet=minExclusive and     value=1999-01-31 and document value=1999-05-31 TEST :Facet Schemas for string : (facet=minInclusive and     value=1999-01-31 and facet=maxExclusive and value=2000-05-31) and     document value=1999-05-31 TEST :Facet Schemas for string : (facet=minInclusive and     value=1999-01-31 and facet=maxInclusive and value=2000-05-31) and     document value=1999-05-31 TEST :Facet Schemas for string : facet=minInclusive and     value=1999-01-31 and document value=1999-05-31 TEST :Facet Schemas for string : facet=minInclusive and     value=1999-01-31 and document value=1999-01-31 TEST :Facet Schemas for string : facet=maxExclusive and     value=2000-05-31 and document value=1999-05-31 TEST :Facet Schemas for string : facet=maxInclusive and     value=2000-05-31 and document value=1999-05-31 TEST :Facet Schemas for string : facet=maxInclusive and     value=1999-01-31 and document value=1999-01-31 TEST :Facet Schemas for string : facet=enumeration and     value=1999-05-31 1999-07-31 2000-03-10 and document value=1999-05-31 TEST :Facet Schemas for string : facet=enumeration and     value=1999-05-31 and document value=1999-05-31 TEST :Facet Schemas for string : facet=pattern and     value=[0-9]{4}-[0-9]{2}-[0-9]{2} and document value=1999-05-31 TEST :Facet Schemas for string : (facet=minExclusive and     value=10:21:00-05:00 and facet=maxExclusive and value=13:20:00-04:00)     and document value=13:20:00-03:00 TEST :Facet Schemas for string : (facet=minExclusive and     value=10:21:00-05:00 and facet=maxInclusive and value=13:20:00-04:00)     and document value=13:20:00-03:00 TEST :Facet Schemas for string : facet=minExclusive and     value=10:21:00-05:00 and document value=13:20:00-05:00 TEST :Facet Schemas for string : (facet=minInclusive and     value=10:21:00-05:00 and facet=maxExclusive and value=13:20:00-04:00)     and document value=13:20:00-03:00 TEST :Facet Schemas for string : (facet=minInclusive and     value=10:21:00-05:00 and facet=maxInclusive and value=13:20:00-04:00)     and document value=13:20:00-03:00 TEST :Facet Schemas for string : facet=minInclusive and     value=10:21:00-05:00 and document value=13:20:00-05:00 TEST :Facet Schemas for string : facet=minInclusive and     value=10:21:00-05:00 and document value=10:21:00-05:00 TEST :Facet Schemas for string : facet=maxExclusive and     value=13:20:00-04:00 and document value=13:20:00-03:00 TEST :Facet Schemas for string : facet=maxInclusive and     value=13:20:00-04:00 and document value=13:20:00-03:00 TEST :Facet Schemas for string : facet=maxInclusive and     value=10:21:00-05:00 and document value=10:21:00-05:00 TEST :Facet Schemas for string : facet=enumeration and     value=13:20:00-05:00 13:20:00 01:50:40 and document     value=13:20:00-05:00 TEST :Facet Schemas for string : facet=enumeration and     value=13:20:00-05:00 and document value=13:20:00-05:00 TEST :Facet Schemas for string : facet=pattern and     value=[0-9]{1,2}:[0-9]{2}:[0-9]{2}-[0-9]{2}:[0-9]{2} and document     value=13:20:00-05:00 TEST :Facet Schemas for string : (facet=minExclusive and     value=1981-03-12T10:30:00 and facet=maxExclusive and     value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : (facet=minExclusive and     value=1981-03-12T10:30:00 and facet=maxInclusive and     value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : facet=minExclusive and     value=1981-03-12T10:30:00 and document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : (facet=minInclusive and     value=1981-03-12T10:30:00 and facet=maxExclusive and     value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : (facet=minInclusive and     value=1981-03-12T10:30:00 and facet=maxInclusive and     value=1999-05-12T10:31:00) and document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : facet=minInclusive and     value=1981-03-12T10:30:00 and document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : facet=minInclusive and     value=1981-03-12T10:30:00 and document value=1981-03-12T10:30:00 TEST :Facet Schemas for string : facet=maxExclusive and     value=1999-05-12T10:31:00 and document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : facet=maxInclusive and     value=1999-05-12T10:31:00 and document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : facet=maxInclusive and     value=1981-03-12T10:30:00 and document value=1981-03-12T10:30:00 TEST :Facet Schemas for string : XSD: XsdDateTime comparison of     identical representations of the time zones(b) TEST :Facet Schemas for string : XSD: XsdDateTime comparison of     identical representations of the time zones(a) TEST :Facet Schemas for string : facet=enumeration and     value=1985-04-12T10:30:00 1985-04-12T12:00:00 1999-07-31T01:00:00 and     document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : facet=enumeration and     value=1985-04-12T10:30:00 and document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : facet=pattern and     value=[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{1,2}:[0-9]{2}:[0-9]{2} and     document value=1985-04-12T10:30:00 TEST :Facet Schemas for string : (facet=minExclusive and     value=P1Y1MT1H and facet=maxExclusive and value=P2Y3MT2H) and document     value=P1Y2MT2H TEST :Facet Schemas for string : (facet=minExclusive and     value=P1Y1MT1H and facet=maxInclusive and value=P2Y3MT2H) and document     value=P1Y2MT2H TEST :Facet Schemas for string : facet=minExclusive and value=P1Y1MT1H     and document value=P1Y2MT2H TEST :Facet Schemas for string : (facet=minInclusive and     value=P1Y1MT1H and facet=maxExclusive and value=P2Y3MT2H) and document     value=P1Y2MT2H TEST :Facet Schemas for string : (facet=minInclusive and     value=P1Y1MT1H and facet=maxInclusive and value=P2Y3MT2H) and document     value=P1Y2MT2H TEST :Facet Schemas for string : facet=minInclusive and value=P1Y1MT1H     and document value=P1Y2MT2H TEST :Facet Schemas for string : facet=minInclusive and value=P1Y1MT1H     and document value=P1Y1MT1H TEST :Facet Schemas for string : facet=maxExclusive and value=P2Y3MT2H     and document value=P1Y2MT2H TEST :Facet Schemas for string : facet=maxInclusive and value=P2Y3MT2H     and document value=P1Y2MT2H TEST :Facet Schemas for string : facet=maxInclusive and value=P1Y1MT1H     and document value=P1Y1MT1H TEST :Facet Schemas for string : facet=enumeration and value=P1347Y     P1347M P1Y2MT2H and document value=P1347Y TEST :Facet Schemas for string : facet=enumeration and value=P1347Y     and document value=P1347Y TEST :Facet Schemas for string : facet=pattern and     value=P\p{Nd}{1,4}Y\p{Nd}{1,2}MT\p{Nd}{1,2}H and document     value=P1Y2MT2H TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and     facet=maxExclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and     facet=maxInclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : facet=minExclusive and value=1.1 and     document value=5.55 TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and     facet=maxExclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and     facet=maxInclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and     document value=5.55 TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and     document value=1.1 TEST :Facet Schemas for string : facet=maxExclusive and value=7.7 and     document value=5.55 TEST :Facet Schemas for string : facet=maxInclusive and value=7.7 and     document value=5.55 TEST :Facet Schemas for string : facet=maxInclusive and value=1.1 and     document value=1.1 TEST :Facet Schemas for string : facet=enumeration and value=1.1 3.14     2.718 and document value=1.1 TEST :Facet Schemas for string : facet=enumeration and value=1.1 and     document value=1.1 TEST :Facet Schemas for string : facet=pattern and     value=[0-9]{0,2}.[0-9]{0,2} and document value=5.55 TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and     facet=maxExclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and     facet=maxInclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : facet=minExclusive and value=1.1 and     document value=5.55 TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and     facet=maxExclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and     facet=maxInclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and     document value=5.55 TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and     document value=1.1 TEST :Facet Schemas for string : facet=maxExclusive and value=7.7 and     document value=5.55 TEST :Facet Schemas for string : facet=maxInclusive and value=7.7 and     document value=5.55 TEST :Facet Schemas for string : facet=maxInclusive and value=1.1 and     document value=1.1 TEST :Facet Schemas for string : facet=enumeration and value=1.1 3.14     2.718 and document value=1.1 TEST :Facet Schemas for string : facet=enumeration and value=1.1 and     document value=1.1 TEST :Facet Schemas for string : facet=pattern and     value=[0-9]{0,2}.[0-9]{0,2} and document value=5.55 TEST :Facet Schemas for string : XSD: totalDigits calculartion for     xs:decimal TEST :Facet Schemas for string : facet=totalDigits and value=4 and     document value=123 TEST :Facet Schemas for string : facet=totalDigits and value=3 and     document value=123 TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and     facet=maxExclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : (facet=minExclusive and value=1.1 and     facet=maxInclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : facet=minExclusive and value=1.1 and     document value=5.55 TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and     facet=maxExclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : (facet=minInclusive and value=1.1 and     facet=maxInclusive and value=7.7) and document value=5.55 TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and     document value=5.55 TEST :Facet Schemas for string : facet=minInclusive and value=1.1 and     document value=1.1 TEST :Facet Schemas for string : facet=maxExclusive and value=7.7 and     document value=5.55 TEST :Facet Schemas for string : facet=maxInclusive and value=7.7 and     document value=5.55 TEST :Facet Schemas for string : facet=maxInclusive and value=1.1 and     document value=1.1 TEST :Facet Schemas for string : facet=enumeration and value=1.1 3.14     2.718 and document value=1.1 TEST :Facet Schemas for string : facet=enumeration and value=1.1 and     document value=1.1 TEST :Facet Schemas for string : facet=pattern and     value=[0-9]{0,2}.[0-9]{0,2} and document value=5.55 TEST :Facet Schemas for string : facet=enumeration and value=foo 123     foo123 and document value=foo TEST :Facet Schemas for string : facet=enumeration and value=foo and     document value=foo TEST :Facet Schemas for string : facet=pattern and value=[a-z]{3} and     document value=abc TEST :Facet Schemas for string : facet=maxLength and value=6 and     document value=abcde TEST :Facet Schemas for string : facet=maxLength and value=5 and     document value=abcde TEST :Facet Schemas for string : (facet=minLength and value=4 and     facet=maxLength and value=6) and document value=abcde TEST :Facet Schemas for string : facet=minLength and value=5 and     document value=abcde TEST :Facet Schemas for string : facet=minLength and value=4 and     document value=abcde TEST :Facet Schemas for string : facet=length and value=5 and document     value=abcde TEST :3.3.2 XML Representation of Element Declaration Schema     Components : XSD: an element can have a default value constraints and     xsi:nil=true TEST :3.3.2 XML Representation of Element Declaration Schema     Components : G2:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : F2:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : F1:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : E2:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : E1:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : C2:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : B2:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : B1:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : A3:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : A2:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : A1:XmlValidation for xsi:nil="false" even though     processContents="skip" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : XSD: Wildcard prohibited element through a     substitutionGroup(2) TEST :3.3.2 XML Representation of Element Declaration Schema     Components : XSD: member of substitutionGroup and local particle with     the same qualified name (5) TEST :3.3.2 XML Representation of Element Declaration Schema     Components : XSD: member of substitutionGroup and local particle with     the same qualified name (4) TEST :3.3.2 XML Representation of Element Declaration Schema     Components : XSD: member of substitutionGroup and local particle with     the same qualified name (3) TEST :3.3.2 XML Representation of Element Declaration Schema     Components : XSD: member of substitutionGroup and local particle with     the same qualified name (1) TEST :3.3.2 XML Representation of Element Declaration Schema     Components : xsd: when substitutionGroup exists, we shold not change     content model as if it is a choice TEST :3.3.2 XML Representation of Element Declaration Schema     Components : XSD: Namespace URIs should not be canonicalized if they     are GUIDs, XDR uses this GUID for datatype declarations TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Schema with deep nested nodes (>14 nested levels) TEST :3.3.2 XML Representation of Element Declaration Schema     Components : xsd: element with childNodes typed=ID, dupe ID should be     invalid. Becomes valid in XSD 1.1 (two child elements of type xs:ID     are permitted if the ID is the same) TEST :3.3.2 XML Representation of Element Declaration Schema     Components : xsi:type references and namespace alias for parent     element TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Components in A may be indirectly using components from     C. Lets assume that a type declared in B derives from one in C (which     is possible because B imports C). Document A can declare elements     using that type because it includes B. Such use obviously involves     information from the base type in C as will as the explicit reference     in B. TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Components in A may be indirectly using components from     C. Lets assume that a type declared in B derives from one in C (which     is possible because B imports C). Document A can declare elements     using that type because it includes B. Such use obviously involves     information from the base type in C as will as the explicit reference     in B. TEST :3.3.2 XML Representation of Element Declaration Schema     Components : 72898 - subsitutionGroup with deep chains TEST :3.3.2 XML Representation of Element Declaration Schema     Components : 67493 - xsd: xsi:type should allowed predefined types as     valid value. TEST :3.3.2 XML Representation of Element Declaration Schema     Components : 81682 - Element with xsi:nil value set to true and     xsi:type value TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "(ab){2}x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "ab{2,}x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "ab{2,4}x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "ab{2}x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string ".*abc.*" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string ".x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "\Dx" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "[^0-9]x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "[ae-]x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "[-ae]x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "[a-e]x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "[abcde]x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "(a|b)+x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "a+x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "a?x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "a*x" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "\P{IsGreek}" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "\p{IsGreek}" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "\p{Lu}" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string     "Espan&#xF1;ola" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "\s\w" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "\s\d" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : regular expression: restriction on string "\d" TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=Union-AB, block=extension, and instant     XMLhas xsi:type=A type derived from a type in the Union TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=Union-AB, block=absent, and instant XMLhas     xsi:type=A type derived from a type in the Union TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=Union-A, block=absent, and instant XMLhas     xsi:type=A type derived from a type in the Union TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=A, block="extension", and instant XMLhas     xsi:type=a substitution group with ur-type TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=A, block="extension", and instant XMLhas     xsi:type=a substitution group with type=restriction of A TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=A, block="restriction", and instant XMLhas     xsi:type=a substitution group with ur-type TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=A, block="restriction", and instant XMLhas     xsi:type=a substitution group with type=extension of A TEST :3.3.2 XML Representation of Element Declaration Schema     Components : several elements with different blocks and valid instance TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=simpleType A, block="#all", and instant     XMLhas xsi:type=A TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=ur-Type, block="extension", and instant     XMLhas xsi:type=List of the Union of simpleType A and B TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=ur-Type, block="extension", and instant     XMLhas xsi:type=List of simpleType A TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=ur-Type, block="extension", and instant     XMLhas xsi:type=union of simpleType A and B TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=ur-Type, block="extension", and instant     XMLhas xsi:type=union of simpleType A TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=complexType A, block="extension", and     instant XMLhas xsi:type=restriction of A TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=simpleType A, block="extension", and instant     XMLhas xsi:type=restriction of A TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=simpleType A, block="extension", and instant     XMLhas xsi:type=A TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=complexType A, block="restriction", and     instant XMLhas xsi:type=extension of A TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element type=simpleType A, block="restriction", and     instant XMLhas xsi:type=A TEST :3.3.2 XML Representation of Element Declaration Schema     Components : schema with block="#all" and, element with block="", a     list used in instant XML TEST :3.3.2 XML Representation of Element Declaration Schema     Components : schema with block="#all" and, element with block="", a     union used in instant XML TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with Element with block="" and a subsitution of     a derivation by extension TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with Element with block="" and a subsitution of     a derivation by restriction TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with Element with block=extension and a     subsitution of a derivation by restriction TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with Element with block=restriction and a     subsitution of a derivation by extension TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element with final='' and an element affliation by     extension TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element with final='' and an element affliation by     restriction TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element with final=extension and an element affliation by     restriction TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Element with final=restriction and an element affliation     by extension TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Valid Document for Element with schema's     elementFormDefault=qualified and default qualified elements TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Valid Document for Element with schema's     elementFormDefault=qualified and explicitly qualified elements TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Valid Document for Element with form=qualified and     default qualified elements TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Valid Document for Element with form=qualified and     explicitly qualified elements TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with default=Hello andDocument contains nothing TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with default=Hello andDocument contains Hello     World! TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with default=Hello andDocument contains Hello TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with fixed=Hello andDocument contains nothing TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with fixed=Hello andDocument contains Hello TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with minOccurs = 1 and maxOccurs = unbounded and     3 occurrences TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with minOccurs = 1 and maxOccurs = 2 and 2     occurrences TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with minOccurs = 1 and 1 occurrence TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with default maxOccurs and 1 occurrence TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with element with nillable = false TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with element with nillable = true TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with element with nillable = true andDocument's     null = false in xml TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with element with nillable = true in xsd     andDocument's nil = true in xml TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with element with anonymous complexType, no type     on element TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with element with complexType TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with element with anonymous simpleType, no type     on element TEST :3.3.2 XML Representation of Element Declaration Schema     Components : Document with element with simpleType TEST :Primer Errata : E2-17 Error: Do not allow carriage return in     token values TEST :Primer Errata : E2-22 Clarification: test date, gYearMonth,     gMonthDay, gDay, gMonth and gYear permit an optional, trailing time     zone specification. TEST :Primer Errata : E2-25 Error: test support for the new language     pattern ([a-zA-Z]{1,8})-([a-zA-Z0-9]{1,8})* TEST :Primer Errata : E2-27 Error: test that nonNegativeIntegers     support a '-' on zero TEST :Primer Errata : E2-27 Error: test that nonPositiveIntegers     support a '+' on zero TEST :Primer Errata : E1-22 Error: R-117 Process contents for ur-type     need to be lax TEST :Primer Errata : E1-40 Clarification: test that anySimpleType     whitespace normalization is set to preserve TEST :Primer Errata : E0-15 Error, E2-12 Error: test lexical     representation of gMonth TEST :Primer Errata : E0-23 Clarification: test that facet     fractionDigits can be added to all numeric datatypes as long as value     is 0 (except for decimal which takes any value) TEST :Syntax Checking (id, ref) : Test content: annotation follow by     sequence TEST :Syntax Checking (id, ref) : Test content: annotation follow by     choice TEST :Syntax Checking (id, ref) : Test content: annotation follow by     all TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=3, maxOccurs=unbounded TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=2, minOccurs=1, maxOccurs=2 TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=1, minOccurs=1, maxOccurs=2 TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=1, minOccurs=1, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=1, minOccurs=1, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=0, minOccurs=0, maxOccurs=999999999 TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=0, minOccurs=0, maxOccurs=0 TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=1, minOccurs=0, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=0, minOccurs=0, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=1, minOccurs=0, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is complexType: elements in     instant XML=0, minOccurs=0, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is complexType: check that     minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,     maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=3, maxOccurs=unbounded TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=2, minOccurs=1, maxOccurs=2 TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=1, minOccurs=1, maxOccurs=2 TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=1, minOccurs=1, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=1, minOccurs=1, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=0, minOccurs=0, maxOccurs=999999999 TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=0, minOccurs=0, maxOccurs=0 TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=1, minOccurs=0, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=0, minOccurs=0, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=1, minOccurs=0, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is choice: elements in     instant XML=0, minOccurs=0, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is choice: check that     minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,     maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=3, maxOccurs=unbounded TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=2, minOccurs=1, maxOccurs=2 TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=1, minOccurs=1, maxOccurs=2 TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=1, minOccurs=1, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=1, minOccurs=1, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=0, minOccurs=0, maxOccurs=99999999999 TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=0, minOccurs=0, maxOccurs=0 TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=1, minOccurs=0, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=0, minOccurs=0, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=1, minOccurs=0, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is sequence: elements in     instant XML=0, minOccurs=0, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is sequence: check that     minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,     maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is restriction: elements in     instant XML=2, minOccurs=1, maxOccurs=2 TEST :Syntax Checking (id, ref) : parent is restriction: elements in     instant XML=1, minOccurs=1, maxOccurs=2 TEST :Syntax Checking (id, ref) : parent is restriction: elements in     instant XML=1, minOccurs=1, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is restriction: elements in     instant XML=1, minOccurs=1, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is restriction: elements in     instant XML=0, minOccurs=0, maxOccurs=999999999999999 TEST :Syntax Checking (id, ref) : parent is restriction: elements in     instant XML=1, minOccurs=0, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is restriction: elements in     instant XML=0, minOccurs=0, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is restriction: elements in     instant XML=1, minOccurs=0, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is restriction: elements in     instant XML=0, minOccurs=0, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is restriction: check that     minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,     maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=3, maxOccurs=unbounded TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=2, minOccurs=1, maxOccurs=2 TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=1, minOccurs=1, maxOccurs=2 TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=1, minOccurs=1, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=1, minOccurs=1, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=0, minOccurs=0, maxOccurs=999999999999999999999 TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=0, minOccurs=0, maxOccurs=0 TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=1, minOccurs=0, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=0, minOccurs=0, maxOccurs=1 TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=1, minOccurs=0, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is extension: elements in     instant XML=0, minOccurs=0, maxOccurs=absent TEST :Syntax Checking (id, ref) : parent is extension: check that     minOccurs default is 1, elements in instant XML = 1, minOccurs=absent,     maxOccurs=absent TEST :Syntax Checking (id, ref) : Test ref:, parent is extension,     ref='global group from included xsd" TEST :Syntax Checking (id, ref) : Test ref:, parent is extension,     ref='global group from imported xsd" TEST :Syntax Checking (id, ref) : Test ref:, parent is complexType,     ref='global group' TEST :Syntax Checking (id, ref) : Test ref:, parent is choice,     ref='global group' TEST :Syntax Checking (id, ref) : Test ref:, parent is sequence,     ref='global group' TEST :Syntax Checking (id, ref) : Test ref:, parent is restriction,     ref='global group' TEST :Syntax Checking (id, ref) : Test ref:, parent is extension,     ref='global group' TEST :Identity-constraint Definition Schema Component : Values of     simple types derived from built-in types should always be comparable TEST :Identity-constraint Definition Schema Component : test     Validation of keys when more than one key is defined TEST :Identity-constraint Definition Schema Component : test     Validation of keys when more than one key is defined TEST :Identity-constraint Definition Schema Component : Test for path     | path of selector field xpath='@ncname:*' , selector contains qname |     qname1 TEST :Identity-constraint Definition Schema Component : Test for path     | path of selector field xpath='@qname' , selector contains qname |     qname1 TEST :Identity-constraint Definition Schema Component : Test for path     | path of selector field xpath='ncname:*' , selector contains qname |     qname1 TEST :Identity-constraint Definition Schema Component : Test for path     | path of selector field xpath='*' , selector contains qname | qname1 TEST :Identity-constraint Definition Schema Component : Test for path     | path of selector field xpath='qname' , selector contains qname |     qname1 TEST :Identity-constraint Definition Schema Component : Test for path     | path of selector field xpath='.' , selector contains qname | qname1 TEST :Identity-constraint Definition Schema Component : Test multiple     field statements field xpath='@ncname:* ; qname' , selector contains * TEST :Identity-constraint Definition Schema Component : Test multiple     field statements field xpath='@* ; qname' , selector contains * TEST :Identity-constraint Definition Schema Component : Test multiple     field statements field xpath='@qname ; qname1' , selector contains * TEST :Identity-constraint Definition Schema Component : Test multiple     field statements field xpath='ncname:* ; qname' , selector contains * TEST :Identity-constraint Definition Schema Component : Test multiple     field statements field xpath='qname ; qname1' , selector contains * TEST :Identity-constraint Definition Schema Component : Test multiple     field statements field xpath='. ; qname' , selector contains *     Resolution pending decision about issue 5780 against the 1.0 spec. TEST :Identity-constraint Definition Schema Component : Test multiple     field statements field xpath='. ; qname' , selector contains *     Resolution pending decision about issue 5780 against the 1.0 spec. TEST :Identity-constraint Definition Schema Component : Test multiple     field statements field xpath='. ; qname' , selector contains *     Resolution pending decision about issue 5780 against the 1.0 spec. TEST :Identity-constraint Definition Schema Component : Test multiple     field statements field xpath='. ; qname' , selector contains *     Resolution pending decision about issue 5780 against the 1.0 spec. TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='attribute::ncname:*' , selector     contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='@ncname:*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='attribute::*' , selector contains     * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='@*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='attribute::qname' , selector     contains .//qname1/qname2 TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='attribute::qname' , selector     contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='@qname' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='child::ncname:*' , selector     contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='ncname:*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='child::*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='*' , selector contains .//qname TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='.//qname' , selector contains     qname1 TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='child::qname' , selector contains     * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='qname' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for keyref definition, field xpath='.' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='attribute::ncname:*' , selector     contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='@ncname:*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='attribute::*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='@*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='attribute::qname' , selector contains     .//qname1/qname2 TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='attribute::qname' , selector contains     * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='@qname' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='child::ncname:*' , selector contains     * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='ncname:*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='child::*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='*' , selector contains .//qname TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='.//qname' , selector contains qname1 TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='child::qname' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='qname' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for key definition, field xpath='.' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='attribute::ncname:*' , selector     contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='@ncname:*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='attribute::*' , selector contains     * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='@*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='attribute::qname' , selector     contains .//qname1/qname2 TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='attribute::qname' , selector     contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='@qname' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='child::ncname:*' , selector     contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='ncname:*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='child::*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='*' , selector contains .//qname TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='*' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='.//qname' , selector contains     qname1 TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='child::qname' , selector contains     * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='qname' , selector contains * TEST :Identity-constraint Definition Schema Component : Test valid XML     for unique definition, field xpath='.' , selector contains * TEST :Identity-constraint Definition Schema Component : keyref defined     locally within key scope TEST :Identity-constraint Definition Schema Component : constraint     locating an element that is of simpleType/union TEST :Identity-constraint Definition Schema Component : constraint     locating an element that is of simpleType/list TEST :Identity-constraint Definition Schema Component : constraint     locating an element that is of simpleType/restriction TEST :Identity-constraint Definition Schema Component : constraint     locating an element that is of complexType/simpleContent Resolution     pending decision about issue 5780 against the 1.0 spec. TEST :Identity-constraint Definition Schema Component : constraint     locating an element that is of complexType/simpleContent Resolution     pending decision about issue 5780 against the 1.0 spec. TEST :Identity-constraint Definition Schema Component : keyref fields     locating an element refers to a unique locating an element TEST :Identity-constraint Definition Schema Component : keyref fields     locating an element refers to a key locating an element TEST :Identity-constraint Definition Schema Component : keyref fields     locating an attribute refers to a unique locating an attribute TEST :Identity-constraint Definition Schema Component : keyref fields     locating an attribute refers to a key locating an attribute TEST :Identity-constraint Definition Schema Component : keyref fields     locating an element refers to a unique locating an attribute TEST :Identity-constraint Definition Schema Component : keyref fields     locating an element refers to a key locating an attribute TEST :Identity-constraint Definition Schema Component : keyref fields     locating an attribute subject to normalization refers to a key     locating an element that is not normalized , postnormalization values     are the same TEST :Identity-constraint Definition Schema Component : keyref fields     locating an attribute refers to a unique locating an element TEST :Identity-constraint Definition Schema Component : keyref fields     locating an attribute refers to a key locating an element TEST :Identity-constraint Definition Schema Component : keyref     category, field points to attribute used only within xsi:type     substitution TEST :Identity-constraint Definition Schema Component : keyref     category, field points to attribute from redefined schema TEST :Identity-constraint Definition Schema Component : keyref     category, field points to attribute from imported schema Resolution     pending decision about issue 5780 against the 1.0 spec. TEST :Identity-constraint Definition Schema Component : keyref     category, field points to attribute from imported schema Resolution     pending decision about issue 5780 against the 1.0 spec. TEST :Identity-constraint Definition Schema Component : keyref     category, field points to attribute within targetNamespace TEST :Identity-constraint Definition Schema Component : keyref     category, field points to element redefined by use of     substitutionGroup TEST :Identity-constraint Definition Schema Component : keyref     category, field points to element from redefined schema TEST :Identity-constraint Definition Schema Component : keyref     category, field points to element from imported schema TEST :Identity-constraint Definition Schema Component : keyref     category, field points to element outside targetNamespace in non-     imported schema TEST :Identity-constraint Definition Schema Component : keyref     category, field points to element within targetNamespace TEST :Identity-constraint Definition Schema Component : keyref     category, selector points to element redefined by use of     substitutionGroup TEST :Identity-constraint Definition Schema Component : keyref     category, selector points to element from redefined schema TEST :Identity-constraint Definition Schema Component : keyref     category, selector points to element from imported schema TEST :Identity-constraint Definition Schema Component : keyref     category, selector points to element outside of targetNamespace in a     non-imported schema TEST :Identity-constraint Definition Schema Component : keyref     category, selector points to element within targetNamespace TEST :Identity-constraint Definition Schema Component : keyref     category, qualified node set defined with the use of multiple field     schema elements pointing to a mix of elements and attributes TEST :Identity-constraint Definition Schema Component : keyref     category, qualified node set defined with the use of multiple field     schema elements pointing to only attributes TEST :Identity-constraint Definition Schema Component : keyref     category, qualified node set defined with the use of multiple field     schema elements pointing to only elements TEST :Identity-constraint Definition Schema Component : keyref     category, instance member (a)=test, string; instance member (b)='',     string defined using fixed='test' TEST :Identity-constraint Definition Schema Component : keyref     category, instance member (a)=test, string; instance member (b)='',     string defined using default='test' TEST :Identity-constraint Definition Schema Component : keyref     category, keyref refers to unique element TEST :Identity-constraint Definition Schema Component : keyref     category, keyref refers to existing key element defined post to keyref TEST :Identity-constraint Definition Schema Component : keyref     category, keyref refers to existing key element defined prior to     keyref TEST :Identity-constraint Definition Schema Component : keyref     category, field element evaluates to a node-set with only one member TEST :Identity-constraint Definition Schema Component : keyref     category, field element evaluates to an empty-node set TEST :Identity-constraint Definition Schema Component : keyref     category, selector element evaluates to a node-set TEST :Identity-constraint Definition Schema Component : key category,     field points to attribute used only within xsi:type substitution TEST :Identity-constraint Definition Schema Component : key category,     field points to attribute outside targetNamespace in non-imported     schema TEST :Identity-constraint Definition Schema Component : key category,     field points to attribute from redefined schema TEST :Identity-constraint Definition Schema Component : key category,     field points to attribute from imported schema TEST :Identity-constraint Definition Schema Component : key category,     field points to attribute within targetNamespace TEST :Identity-constraint Definition Schema Component : key category,     field points to element from redefined schema TEST :Identity-constraint Definition Schema Component : key category,     field points to element from imported schema TEST :Identity-constraint Definition Schema Component : key category,     field points to element outside targetNamespace in non-imported schema TEST :Identity-constraint Definition Schema Component : key category,     field points to element within targetNamespace TEST :Identity-constraint Definition Schema Component : key category,     selector points to element from redefined schema TEST :Identity-constraint Definition Schema Component : key category,     selector points to element from imported schema TEST :Identity-constraint Definition Schema Component : key category,     selector points to element outside of targetNamespace in a non-     imported schema TEST :Identity-constraint Definition Schema Component : key category,     selector points to element within targetNamespace TEST :Identity-constraint Definition Schema Component : key category,     qualified node set defined with the use of multiple field schema     elements pointing to a mix of elements and attributes TEST :Identity-constraint Definition Schema Component : key category,     qualified node set defined with the use of multiple field schema     elements pointing to only attributes TEST :Identity-constraint Definition Schema Component : key category,     qualified node set defined with the use of multiple field schema     elements pointing to only elements TEST :Identity-constraint Definition Schema Component : key category,     all target node set members exist in qualified node set TEST :Identity-constraint Definition Schema Component : key category,     field element evaluates to a node-set with only one member TEST :Identity-constraint Definition Schema Component : key category,     selector element evaluates to a node-set TEST :Identity-constraint Definition Schema Component : unique     category, field points to attribute used only within xsi:type     substitution TEST :Identity-constraint Definition Schema Component : unique     category, field points to attribute outside targetNamespace in non-     imported schema TEST :Identity-constraint Definition Schema Component : unique     category, field points to attribute from redefined schema TEST :Identity-constraint Definition Schema Component : unique     category, field points to attribute from imported schema TEST :Identity-constraint Definition Schema Component : unique     category, field points to attribute within targetNamespace TEST :Identity-constraint Definition Schema Component : unique     category, field points to element redefined by use of     substitutionGroup TEST :Identity-constraint Definition Schema Component : unique     category, field points to element from redefined schema TEST :Identity-constraint Definition Schema Component : unique     category, field points to element from imported schema TEST :Identity-constraint Definition Schema Component : unique     category, field points to element outside targetNamespace in non-     imported schema TEST :Identity-constraint Definition Schema Component : unique     category, field points to element within targetNamespace TEST :Identity-constraint Definition Schema Component : unique     category, selector points to element redefined by use of     substitutionGroup TEST :Identity-constraint Definition Schema Component : unique     category, selector points to element from redefined schema TEST :Identity-constraint Definition Schema Component : unique     category, selector points to element from imported schema TEST :Identity-constraint Definition Schema Component : unique     category, selector points to element outside of targetNamespace in a     non-imported schema TEST :Identity-constraint Definition Schema Component : unique     category, selector points to element within targetNamespace TEST :Identity-constraint Definition Schema Component : unique     category, qualified node set defined with the use of multiple field     schema elements pointing to a mix of elements and attributes TEST :Identity-constraint Definition Schema Component : unique     category, qualified node set defined with the use of multiple field     schema elements pointing to only attributes TEST :Identity-constraint Definition Schema Component : unique     category, qualified node set defined with the use of multiple field     schema elements pointing to only elements TEST :Identity-constraint Definition Schema Component : unique     category, instance member (a)=1, float; instance member (b)=1,     unsignedByte TEST :Identity-constraint Definition Schema Component : unique     category, instance member (a)=1, float; instance member (b)=1, decimal TEST :Identity-constraint Definition Schema Component : unique     category, instance member (a)=1, boolean; instance member (b)=1,     number TEST :Identity-constraint Definition Schema Component : unique     category, instance member (a)=3.0, string; instance member (b)=3,     string TEST :Identity-constraint Definition Schema Component : unique     category, qualified node set contains members with an element     declaration whose {nillable} is true. TEST :Identity-constraint Definition Schema Component : unique     category, all qualified node set members are unique TEST :Identity-constraint Definition Schema Component : unique     category, field element evaluates to a node-set with only one member TEST :Identity-constraint Definition Schema Component : unique     category, field element evaluates to an empty-node set TEST :Identity-constraint Definition Schema Component : unique     category, selector element evaluates to a node-set TEST :model groups (ALL) : test occurence range of xs:choice TEST :model groups (ALL) : test derivation by ext. with all with     base=empty content TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'choice', one under 'sequence'     inside 'choice' of 'choice' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'choice', one under 'choice'     inside 'sequence' of 'choice' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'choice', one under 'sequence'     inside 'sequence' of 'choice' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'sequence', one under 'choice'     inside 'choice' of 'sequence' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'sequence', one under 'sequence'     inside 'choice' of 'sequence' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'sequence', one under 'choice'     inside 'sequence' of 'sequence' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'sequence', one under 'sequence'     inside 'sequence' of 'sequence' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'choice', one under 'sequence'     inside 'choice' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'choice', one under 'choice'     inside 'choice' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'sequence', one under 'sequence'     inside 'sequence' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), one under 'sequence', one under 'choice'     inside 'sequence' TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), both under choice TEST :model groups (ALL) : 2 particles with idendical element     declarations (same type), both under sequence TEST :model groups (ALL) : group' with 'all', appear under 'choice'     with maxOccurs=minOccurs=1 , which is part of a complexType TEST :model groups (ALL) : group' with 'all', appear under 'sequence'     with maxOccurs=minOccurs=1, which is part of a complexType TEST :model groups (ALL) : group' with 'all', appear under     'restriction', whiche is part of a complexType TEST :model groups (ALL) : group' with 'all', appear under 'redefine',     which is part of a complexType TEST :model groups (ALL) : group' with 'all', appear under 'choice'     with maxOccurs=minOccurs=1 , which is part of a complexType, and group     ref has minOccurs=0, maxOccurs=1 TEST :model groups (ALL) : 'all', and has minOccurs=0, maxOccurs=1 TEST :model groups (ALL) : 'all', appear under 'restriction', which is     part of a complexType, and has minOccurs=0, maxOccurs=1 TEST :model groups (ALL) : group' with 'all', appear under 'choice'     with maxOccurs=minOccurs=1 , whiche is part of a complexType, and     particles in all has maxOccurs=minOccurs (absent) TEST :model groups (ALL) : group' with 'all', appear under 'sequence'     with maxOccurs=minOccurs=1, , whiche is part of a complexType, and     particles in all has maxOccurs=minOccurs (absent) TEST :model groups (ALL) : group' with 'all', appear under     'restriction', whiche is part of a complexType, and particles in all     has maxOccurs=minOccurs (absent) TEST :model groups (ALL) : group' with 'all', appear under     'complexType', whiche is part of a complexType, and particles in all     has maxOccurs=minOccurs (absent) TEST :model groups (ALL) : group' with 'all', appear under 'choice'     which is part of a complexType TEST :model groups (ALL) : group' with 'all', appear under 'sequence'     which is part of a complexType TEST :model groups (ALL) : group' with 'all', appear under     'restriction', which is part of a complexType TEST :model groups (ALL) : group' with 'all', appear under 'redefine',     which is part of a complexType TEST :model groups (ALL) : group' with 'all', appear under 'schema',     which is part of a complexType and has maxOccurs=minOccurs (0 | 1) TEST :model groups (ALL) : all appear under 'complexType', which is     part of a complexType, and particles in all has maxOccurs=minOccurs (0     | 1) TEST :model groups (ALL) : all has particle with minOccurs=maxOccur =     1 TEST :model groups (ALL) : parent is sequence, has 2 sequence (E1, E2)     (F1,F2), and 2 choice (C1 | C2) (D1 | D2), in the instant XML document     ( E1, E2, F1, F2, C1, D1) TEST :model groups (ALL) : parent is sequence, has 2 sequence as child     (E1,E2) (F1,F2), in the instant XML document, there is no element     specified TEST :model groups (ALL) : parent is sequence, more than one child     sequences, each of them again have more than one sequence child node,     instant XML conform to the declaration TEST :model groups (ALL) : all: with 2 elements instant doc has a     global element TEST :model groups (ALL) : all: with 5 elements instant doc has all     the element in reverse order TEST :model groups (ALL) : all: with 2 elements 2 element in different     order is in the instant XML doc TEST :model groups (ALL) : all: with 2 elements 2 element is in the     instant XML doc TEST :model groups (ALL) : all: with 1 elements 1 element is in the     instant XML doc TEST :model groups (ALL) : choice: with 5 elements, 1 element in the     instant XML doc TEST :model groups (ALL) : choice: with 5 elements, 0 element in the     instant XML doc TEST :model groups (ALL) : choice: with 2 elements, 1 element in the     instant XML doc TEST :model groups (ALL) : choice: with 1 elements, 1 element is in     the instant XML doc TEST :model groups (ALL) : choice: with NO elements (max=min=absent),     0 element is in the instant XML doc TEST :model groups (ALL) : sequence: with 5 elements, all elements     appeared and are in defined order TEST :model groups (ALL) : sequence: with 1 elements, 1 element is in     the instant XML doc TEST :model groups (ALL) : sequence: with NO elements     (max=min=absent), 0 element is in the instant XML doc TEST :model groups (ALL) : choice: elements in instant XML=3,     maxOccurs=unbounded TEST :model groups (ALL) : choice: elements in instant XML=2,     minOccurs=1, maxOccurs=2 TEST :model groups (ALL) : choice: elements in instant XML=1,     minOccurs=1, maxOccurs=2 TEST :model groups (ALL) : choice: elements in instant XML=1,     minOccurs=1, maxOccurs=1 TEST :model groups (ALL) : choice: elements in instant XML=1,     minOccurs=1, maxOccurs=absent TEST :model groups (ALL) : choice: elements in instant XML=0,     minOccurs=0, maxOccurs=999999999 TEST :model groups (ALL) : choice: elements in instant XML=0,     minOccurs=0, maxOccurs=0 TEST :model groups (ALL) : choice: elements in instant XML=1,     minOccurs=0, maxOccurs=1 TEST :model groups (ALL) : choice: elements in instant XML=0,     minOccurs=0, maxOccurs=1 TEST :model groups (ALL) : choice: elements in instant XML=1,     minOccurs=0, maxOccurs=absent TEST :model groups (ALL) : choice: elements in instant XML=0,     minOccurs=0, maxOccurs=absent TEST :model groups (ALL) : choice: check that minOccurs default is 1,     elements in instant XML = 1, minOccurs=absent, maxOccurs=absent TEST :model groups (ALL) : choice: with children 4 any, 4 elements TEST :model groups (ALL) : choice: with children 4 sequence, 4 any TEST :model groups (ALL) : choice: with children 4 choice, 4 sequence TEST :model groups (ALL) : choice: with children 4 groups, 4 choice TEST :model groups (ALL) : choice: with children 4 elements, 4 groups TEST :model groups (ALL) : choice: with children any, sequence, group,     element, choice TEST :model groups (ALL) : choice: with children sequence, group,     choice, element, any TEST :model groups (ALL) : choice: with children choice, any, group,     sequence, element TEST :model groups (ALL) : choice: with children group, any, choice,     element, sequence TEST :model groups (ALL) : choice: with children element, any,     sequence, choice, group TEST :model groups (ALL) : choice: with children annotation, element,     group, choice, sequence, any TEST :model groups (ALL) : choice: with children annotation, any TEST :model groups (ALL) : choice: with children annotation, sequence TEST :model groups (ALL) : choice: with children annotation, choice TEST :model groups (ALL) : choice: with children annotation, group TEST :model groups (ALL) : choice: with children annotation, element TEST :model groups (ALL) : choice: with one annotation only TEST :model groups (ALL) : choice: with no child node TEST :model groups (ALL) : choice: maxOccurs = 5 TEST :model groups (ALL) : choice: maxOccurs = unbounded TEST :model groups (ALL) : choice: with parent sequence TEST :model groups (ALL) : choice: with parent choice TEST :model groups (ALL) : choice: with parent group TEST :model groups (ALL) : choice: with parent extension TEST :model groups (ALL) : choice: with parent restriction TEST :model groups (ALL) : choice: with parent complexType TEST :model groups (ALL) : choice: id, id="foo" TEST :model groups (ALL) : sequence: elements in instant XML=3,     maxOccurs=unbounded TEST :model groups (ALL) : sequence: elements in instant XML=2,     minOccurs=1, maxOccurs=2 TEST :model groups (ALL) : sequence: elements in instant XML=1,     minOccurs=1, maxOccurs=2 TEST :model groups (ALL) : sequence: elements in instant XML=1,     minOccurs=1, maxOccurs=1 TEST :model groups (ALL) : sequence: elements in instant XML=1,     minOccurs=1, maxOccurs=absent TEST :model groups (ALL) : sequence: elements in instant XML=0,     minOccurs=0, maxOccurs=999999999 TEST :model groups (ALL) : sequence: elements in instant XML=0,     minOccurs=0, maxOccurs=0 TEST :model groups (ALL) : sequence: elements in instant XML=1,     minOccurs=0, maxOccurs=1 TEST :model groups (ALL) : sequence: elements in instant XML=0,     minOccurs=0, maxOccurs=1 TEST :model groups (ALL) : sequence: elements in instant XML=1,     minOccurs=0, maxOccurs=absent TEST :model groups (ALL) : sequence: elements in instant XML=0,     minOccurs=0, maxOccurs=absent TEST :model groups (ALL) : sequence: check that minOccurs default is     1, elements in instant XML = 1, minOccurs=absent, maxOccurs=absent TEST :model groups (ALL) : sequence: with children 4 any, 4 elements TEST :model groups (ALL) : sequence: with children 4 sequence, 4 any TEST :model groups (ALL) : sequence: with children 4 choice, 4     sequence TEST :model groups (ALL) : sequence: with children 4 groups, 4 choice TEST :model groups (ALL) : sequence: with children 4 elements, 4     groups TEST :model groups (ALL) : sequence: with children any, sequence,     group, element, choice TEST :model groups (ALL) : sequence: with children sequence, group,     choice, element, any TEST :model groups (ALL) : sequence: with children choice, any, group,     sequence, element TEST :model groups (ALL) : sequence: with children group, any, choice,     element, sequence TEST :model groups (ALL) : sequence: with children element, any,     sequence, choice, group TEST :model groups (ALL) : sequence: with children annotation,     element, group, choice, sequence, any TEST :model groups (ALL) : sequence: with children annotation, any TEST :model groups (ALL) : sequence: with children annotation,     sequence TEST :model groups (ALL) : sequence: with children annotation, choice TEST :model groups (ALL) : sequence: with children annotation, group TEST :model groups (ALL) : sequence: with children annotation, element TEST :model groups (ALL) : sequence: with one annotation only TEST :model groups (ALL) : sequence: with no child node TEST :model groups (ALL) : sequence: maxOccurs = 8 TEST :model groups (ALL) : sequence: maxOccurs = unbounded TEST :model groups (ALL) : sequence: with parent sequence TEST :model groups (ALL) : sequence: with parent choice TEST :model groups (ALL) : sequence: with parent group TEST :model groups (ALL) : sequence: with parent extension TEST :model groups (ALL) : sequence: with parent restriction TEST :model groups (ALL) : sequence: with parent complexType TEST :model groups (ALL) : sequence: id, id="foo" TEST :model groups (ALL) : test using of minOccurs=0 and allowing     elements to not exists TEST :model groups (ALL) : choice: with any attribute with no schema     namespace TEST :model groups (ALL) : sequence: with any attribute with no schema     namespace TEST :model groups (ALL) : all: with any attribute with no schema     namespace TEST :model groups (ALL) : all with default minOccurs and maxOccurs     with optional element children TEST :model groups (ALL) : all: elements in instant XML=1,     minOccurs=absent, maxOccurs=1 TEST :model groups (ALL) : all: elements in instant XML=1,     minOccurs=1, maxOccurs=absent TEST :model groups (ALL) : all: minOccurs can have value of 0 or 1 max     occurs can only have 1 as value, minOccurs=0, maxOccurs=absent TEST :model groups (ALL) : all: check that minOccurs default is 1,     elements in instant XML = 1, minOccurs=absent, maxOccurs=absent TEST :model groups (ALL) : all: with one element only TEST :model groups (ALL) : all: with annotation follow by 1 element TEST :model groups (ALL) : all: with one annotation only TEST :model groups (ALL) : all: with no child node TEST :model groups (ALL) : all: minOccurs = 0 TEST :model groups (ALL) : all: with parent group TEST :model groups (ALL) : all: with parent restriction TEST :model groups (ALL) : all: with parent complexType TEST :model groups (ALL) : all: id, id="foo" TEST :Notations : Instance document declares a notation type TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : XSD: validation on a sequence involving an     optional wildcard TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Schema validation engine validates as xs:any if     maxOccurs greater than 4096(15) TSTF concluded no change required to     instance test here The validity of these schemas was never in doubt,     prior 'queried' status was in error TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Schema validation engine validates as xs:any if     maxOccurs greater than 4096(15) TSTF concluded the instances are OK     The validity of these schemas was never in doubt, prior 'queried'     status was in error TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Schema validation engine validates as xs:any if     maxOccurs greater than 4096(14) TSTF concluded the instances are OK     The validity of these schemas was never in doubt, prior 'queried'     status was in error TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Schema validation engine validates as xs:any if     maxOccurs greater than 4096(8) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : id="86379" description="xsd: derived attribute's     type should validly derived from base attribute's type." TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Restriction of abstract classes with abstract     particles via substitution group should be valid. TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : xsd: test valid value in instance XML, whose xsd     type derived by restriction from union. TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : xsd: should allow and recognize declaration of     namespace URI in local level as well as root level. TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Schema Component Constraint: Derivation Valid     (Restriction, Complex) rules in regard to attribute uses TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Schema Component Constraint: Particle Derivation     OK (Elt:All/Choice/Sequence -- RecurseAsIfGroup) rule is ambiguous     Invalid restriction which becomes valid in XSD 1.1 - MHK TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Sequence -     Recurse) (Sequence) R drived by restriction from (Sequence) B : B has     (a, b), R has (a) is a valid restriction of the 'a' in B TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Sequence -     Recurse) (Sequence) R drived by restriction from (Sequence) B : B has     (a, b, c), R has (a, b, c) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Sequence -     Recurse) (Sequence) R drived by restriction from (Sequence) B : B has     (a, b, c), b and c are emptiable, R has (a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Sequence -     Recurse) (Sequence) R drived by restriction from (Sequence) B : B's     min,maxOccuranceRange=(3, 9), R's min,maxOccuranceRange=(4, 8) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Sequence -     Recurse) (Sequence) R drived by restriction from (Sequence) B : B's     minOccuranceRange=6, R's minOccuranceRange=6 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has     (a | b | c), R has (c, b, a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has     (a | b | c), R has (a, c) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has     (a | b | c), R has (b, c) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has     (a | b | c), R has (a, b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has     (a | b | c), R has ( c) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has     (a | b | c), R has (b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has     (a | b | c), R has (a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has     (a | b), R has (a, b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B has     (a | b), R has (a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B's     min,maxOccuranceRange=(0,0), R's min,maxOccuranceRange=(0,0) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B's     maxOccuranceRange=6, R's maxOccuranceRange=6 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Choice -     MapAndSum) (Sequence) R drived by restriction from (Choice) B : B's     min,maxOccuranceRange=(3, 9), R's min,maxOccuranceRange=(4, 8) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:All -     RecurseUnordered) (Sequence) R drived by restriction from (All) B : B     has (a, b, c, d), R has (d,b,c,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:All -     RecurseUnordered) (Sequence) R drived by restriction from (All) B : B     has (a, b, c), c is emptiable, R has ( a, b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:All -     RecurseUnordered) (Sequence) R drived by restriction from (All) B : B     has (a, b, c), c is emptiable, R has (b,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:All -     RecurseUnordered) (Sequence) R drived by restriction from (All) B : B     has (a, b), R has (b,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's namespace=##targetNamespace, foo, bar, R has an elements     from targetNamespace, and foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's namespace=foo, bar', R has an element from foo and bar TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's namespace=foo, bar', R has an element from foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's namespace=##targetNamespace, R has an element     targetNamespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's namespace=##local, R has an element from no namespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's namespace=##other, R has an element from foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's namespace=##any, R has an element from namespace foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's namespace=##any, R has an element from no namespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's minOccurs=4, B's maxOccurs=4, R has 2 groups, each has     one child with minOccurs as 2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's minOccurs=0, B's maxOccurs=4, R has 2 groups, each has     one child with maxOccurs as 2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's minOccurs=0, B's maxOccurs=4, R has 2 elements, each     with maxOccurs as 2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's minOccurs=0, B's maxOccurs=unbounded, R's maxOccurs =     1000, R has element with maxOccurs unbounded TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's minOccurs=0, B's maxOccurs=6, R has an element with     minOccurs=1, maxOccurs=6 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's minOccurs=0, B's maxOccurs=6, R's minOccurs=1, R's     maxOccurs=6 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's minOccurs=1, B's maxOccurs=1, R's minOccurs=1, R's     maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Sequence:Any -     NSRecurseCheckCardinality) (Sequence) R drived by restriction from     (any) B : B's minOccurs=0, B's maxOccurs=1, R's minOccurs=1, R's     maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Choice -     RecurseLax) (Choice) R drived by restriction from (All) B : B's     maxOccurs=unbounded, R's maxOccurs = 3 (a | b | c) all with maxOccurs     ( 0 and 10 and 100 ) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Choice -     RecurseLax) (Choice) R drived by restriction from (All) B : B's     maxOccurs=unbounded, R's maxOccurs=unbounded TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Choice -     RecurseLax) (Choice) R drived by restriction from (All) B : B's     maxOccurs=unbounded, R's maxOccurs=1, but has (a | b | c) all with     maxOccurs=unbounded TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Choice -     RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |     b | c), R has (a | b | c) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Choice -     RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |     b | c), c is NOT emptiable, R has (a | b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Choice -     RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |     b | c), b is but c is NOT emptiable, R has (a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Choice -     RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |     b | c), c is emptiable, R has (a | b) c is emptiable TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Choice -     RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |     b | c), b and c are emptiable, R has (a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Choice -     RecurseLax) (Choice) R drived by restriction from (All) B : B has (a |     b), R has (a | b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's namespace=foo, bar', R has an element from bar TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's namespace=foo, bar', R has an element from foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's namespace=##targetNamespace, R has an element     targetNamespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's namespace=##local, R has an element from no namespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's namespace=##other, R has an element from foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's namespace=##any, R has an element from foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's namespace=##any, R has an element from no namespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's namespace=##any, R has an element targetNamespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=3, B's maxOccurs=8, R's minOccurs=3, B's     maxOccurs=4, have 2 children TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=0, B's maxOccurs=3, R's minOccurs=0, B's     maxOccurs=2, but have 2 children TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=0, B's maxOccurs=4, R has 2 groups, each     with maxOccurs as 4 and 0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=4, B's maxOccurs=4, R has 2 elements, each     with minOccurs as 2 and 2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=0, B's maxOccurs=3, R has 2 elements, each     with maxOccurs as 2 and 2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=0, B's maxOccurs=4, R has 2 elements, each     with maxOccurs as 2 and 2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=0, B's maxOccurs=unbounded, R has an     element with minOccurs=1, maxOccurs=3 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=0, B's maxOccurs=3, R has an element with     minOccurs=1, maxOccurs=3 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=0, B's maxOccurs=2, R's minOccurs=1, R's     maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=1, B's maxOccurs=1, R's minOccurs=1, R's     maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Choice:Any -     NSRecurseCheckCardinality) (Choice) R drived by restriction from     (Choice) B : B's minOccurs=0, B's maxOccurs=1, R's minOccurs=1, R's     maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (All:All - Recurse) (All)     R drived by restriction from (All) B : B has (a, b), R has (a) which     has a type that is a valid restriction from type of B TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (All:All - Recurse) (All)     R drived by restriction from (All) B : B has (a, b, c), R has (a, b,     c) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (All:All - Recurse) (All)     R drived by restriction from (All) B : B has (a, b, c), c is     emptiable, R has (a, b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (All:All - Recurse) (All)     R drived by restriction from (All) B : B has (a, b, c), b and c are     emptiable, R has (a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (All:All - Recurse) (All)     R drived by restriction from (All) B : B has (a, b), R has (a, b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (All:Any -     NSRecurseCheckCardinality) (All) R drived by restriction from (any) B     : B's minOccurs=1, B's maxOccurs=1, R has one child TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##local, foo,     bar, ##targetNamespace, R's namespace=bar Added schemaDoc for     xsi:schemaLoc'd additional schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##local, foo,     bar, ##targetNamespace, R's namespace=foo Added schemaDoc for     xsi:schemaLoc'd additional schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##local, foo,     bar, ##targetNamespace, R's namespace=foo, ##local, bar Added     schemaDoc for xsi:schemaLoc'd additional schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##local, foo,     bar, ##targetNamespace, R's namespace=##targetNamespace, ##local TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##local, foo,     bar, ##targetNamespace, R's namespace=##local, foo, bar,     ##targetNamespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##local, foo,     bar, ##targetNamespace, R's namespace=foo bar' Added schemaDoc for     xsi:schemaLoc'd additional schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##local, foo,     bar, ##targetNamespace, R's namespace=##targetNamespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##local, foo,     bar, ##targetNamespace, R's namespace=##local Added schemaDoc for     xsi:schemaLoc'd additional schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=foo bar', R's     namespace=bar Added schemaDoc for xsi:schemaLoc'd additional schema,     per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=foo bar', R's     namespace=foo Added schemaDoc for xsi:schemaLoc'd additional schema,     per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=foo bar', R's     namespace=foo bar' Added schemaDoc for xsi:schemaLoc'd additional     schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's     namespace=##targetNamespace, R's namespace=##targetNamespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##local, R's     namespace=##local Added schemaDoc for xsi:schemaLoc'd additional     schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##other, R's     namespace=foo bar' Added schemaDoc for xsi:schemaLoc'd additional     schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##other, R's     namespace=##other Added schemaDoc for xsi:schemaLoc'd additional     schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##any, R's     namespace=##local, foo, bar, ##targetNamespace Added schemaDoc for     xsi:schemaLoc'd additional schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##any, R's     namespace=foo bar' Added schemaDoc for xsi:schemaLoc'd additional     schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##any, R's     namespace=##targetNamespace TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's namespace=##any, R's     namespace=##other Added schemaDoc for xsi:schemaLoc'd additional     schema, per WG decision TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's minOccurs=2, B's     maxOccurs=4, R's minOccurs=3, R's maxOccurs=3 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's minOccurs=2, B's     maxOccurs=4, R's minOccurs=2, R's maxOccurs=3 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's minOccurs=2, B's     maxOccurs=4, R's minOccurs=3, R's maxOccurs=4 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's minOccurs=2, B's     maxOccurs=4, R's minOccurs=2, R's maxOccurs=4 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's minOccurs=absent, B's     maxOccurs=absent, R's minOccurs=absent, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's minOccurs=absent, B's     maxOccurs=absent, R's minOccurs=1, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Any:Any- NSSubset) (any)     R drived by restriction from (any) B : B's minOccurs=absent, B's     maxOccurs=absent, R's minOccurs=absent, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Sequence -     RecurseAsIfGroup) element R drived by restriction from (Sequence) B :     B's parent is choice, B=(a*, b+), R=(b+) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Sequence -     RecurseAsIfGroup) element R drived by restriction from (Sequence) B :     B's parent is choice, B's minOccurs=2, R's minOccurs=3 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Sequence -     RecurseAsIfGroup) element R drived by restriction from (Sequence) B :     B's parent is choice, B's minOccurs=2, R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B has element 'foo' with final=#all, R has     element 'foo' with final=#all TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B has element 'foo' with block=substitution, R     has element 'foo' with block=substitution TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B has element 'foo' with block=substitution, R     has element 'foo' with block=#all TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B has element 'foo' with block=restriction, R     has element 'foo' with block=restriction TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B has element 'foo' with block=restriction, R     has element 'foo' with block=#all TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B has element 'foo' with block=extension, R     has element 'foo' with block=extension TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B has element 'foo' with block=extension, R     has element 'foo' with block=#all TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B has element 'foo' with block=#all, R has     element 'foo' with block=#all TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B has element 'foo' with mixed=TRUE, R has     element 'foo' with mixed=FALSE TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B's minOccurs=B' maxOccurs=absent, R's     maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B's minOccurs=B' maxOccurs=absent, R's     minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:Choice -     RecurseAsIfGroup) element R drived by restriction from (Choice) B :     B's parent is sequence, B's minOccurs= 2, R's maxOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:All -     RecurseAsIfGroup) element R drived by restriction from (all) B : R has     an element (min=maxOccurs=1) from a different namespace than the     targetNS TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:All -     RecurseAsIfGroup) element R drived by restriction from (all) B : B's     minOccurs=0, B' maxOccurs=absent, R's minOccurs=1, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:All -     RecurseAsIfGroup) element R drived by restriction from (all) B : B's     minOccurs=1, B' maxOccurs=absent, R's minOccurs=absent, R's     maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:All -     RecurseAsIfGroup) element R drived by restriction from (all) B : B's     minOccurs=absent, B' maxOccurs=1, R's minOccurs=1, R's     maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (Elt:All -     RecurseAsIfGroup) element R drived by restriction from (all) B : B's     minOccurs=1, B' maxOccurs=1, R's minOccurs=1, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (##local, ##targetNamespace, nsFoo, nsBar), R's     targetNamespace=targetNamespace, B's minOccurs less than R's minOccurs     , B's maxOccurs > R's maxOccurs TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (##local, ##targetNamespace, nsFoo, nsBar), R's targetNamespace=nsFoo,     B's minOccurs less than R's minOccurs , B's maxOccurs > R's maxOccurs TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (##local, ##targetNamespace, nsFoo, nsBar), R's     targetNamespace=absent, B's minOccurs less than R's minOccurs , B's     maxOccurs > R's maxOccurs TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (##local), R's namespace=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (##targetNamespace), R's namespace=targetNamespace, B's     maxOccurs=absent, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (##targetNamespace), R's namespace=targetNamespace, B's maxOccurs=1,     R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (##targetNamespace), R's namespace=targetNamespace, B's maxOccurs=1,     R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (##targetNamespace), R's namespace=targetNamespace, B's minOccurs=1,     R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (##targetNamespace), R's namespace=targetNamespace, B's minOccurs=1,     R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (uriReferences), R's targetNamespace=ref of an elt from valid     targetNS, B's maxOccurs=absent, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (uriReferences), R's targetNamespace=ref of an elt from valid     targetNS, B's maxOccurs=1, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (uriReferences), R's targetNamespace=ref of an elt from valid     targetNS, B's maxOccurs=1, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (uriReferences), R's targetNamespace=ref of an elt from valid     targetNS, B's minOccurs=1, R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (uriReferences), R's targetNamespace=ref of an elt from valid     targetNS, B's minOccurs=1, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=list     (uriReferences [ foo, bar ]), R's targetNamespace=foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=absent, B's maxOccurs=2, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=1, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=absent, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=absent, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=absent, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=1, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=1, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=0, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=unbounded, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=unbounded, R's maxOccurs=999999 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=unbounded, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=unbounded, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     minOccurs=1, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     minOccurs=0, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     minOccurs=absent, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     minOccurs=absent, R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     minOccurs=absent, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     minOccurs=1, R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     minOccurs=1, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     minOccurs=0, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##other,     R's targetNamespace=ref of an elt from different targetNS, B's     minOccurs=0, R's minOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=2, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=1, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=absent, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=absent, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=absent, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=1, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=1, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=0, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=unbounded, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=unbounded, R's maxOccurs=999999 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=unbounded, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     maxOccurs=unbounded, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     minOccurs=1, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     minOccurs=0, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     minOccurs=absent, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     minOccurs=absent, R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     minOccurs=absent, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     minOccurs=1, R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     minOccurs=1, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     minOccurs=0, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=ref of an elt from different targetNS, B's     minOccurs=0, R's minOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=2, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=1, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=absent, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=absent, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=absent, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=1, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=1, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=0, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=999999 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's maxOccurs=unbounded, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's minOccurs=1, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's minOccurs=0, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's minOccurs=absent, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's minOccurs=absent, R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's minOccurs=absent, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's minOccurs=1, R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's minOccurs=1, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's minOccurs=0, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=absent, B's minOccurs=0, R's minOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=2, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=1, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=absent, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=absent, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=absent, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=1, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=1, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=0, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=999999 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's maxOccurs=unbounded, R's maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's minOccurs=1, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's minOccurs=0, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's minOccurs=absent, R's minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's minOccurs=absent, R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's minOccurs=absent, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's minOccurs=1, R's minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's minOccurs=1, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's minOccurs=0, R's minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Particle Derivation OK (elt:Any) element R     drived by restriction from wildcard (any) B : B's namespace=##any, R's     targetNamespace=foo, B's minOccurs=0, R's minOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B type=U1, union of simpleType s1, s2, R     type=x1 which is drived by restriction from the U1. TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B type=simpleType with union (S1, S2), R     type=simpleType with union (S1, S2) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B type=simpleType xsd:string, R     type=simpleType restriction of xsd:string TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B type=simpleType 'foo', R type=simpleType     'foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B type=complexType 'Z' which is a drived     by restriction of 'foo', R type=complexType 'Z' which is a drived by     restriction of 'foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B type=complexType 'foo', R     type=complexType 'Z' which is a drived by restriction of 'foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B type=complexType 'foo', R     type=complexType 'foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B type=absent, R type=anyType TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B disallowed substitutions=empty, R     disallowed substitutions=sub TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B disallowed substitutions=absent, R     disallowed substitutions=sub TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B disallowed substitutions=sub, ext , R     disallowed substitutions=#all TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B disallowed substitutions=res, sub, R     disallowed substitutions=res, sub, ext TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B disallowed substitutions=sub, ext, res,     R disallowed substitutions=#all TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B disallowed substitutions=extension, R     disallowed substitutions=extension TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B disallowed substitutions=substitution, R     disallowed substitutions=substitution TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B fixed=empty, R fixed=empty TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B fixed=foo', R fixed=foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B default=empty, R default=foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B default=bar, R default=foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B default=absent, R default=foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B default=absent, R default=empty TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=2, R maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=1, R maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=absent, R maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=absent, R maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=absent, R maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=1, R maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=1, R maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=0, R maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=unbounded, R maxOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=unbounded, R maxOccurs=999999 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=unbounded, R maxOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B maxOccurs=unbounded, R maxOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B minOccurs=1, R minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B minOccurs=0, R minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B minOccurs=absent, R minOccurs=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B minOccurs=absent, R minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B minOccurs=absent, R minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B minOccurs=1, R minOccurs=2 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B minOccurs=1, R minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B minOccurs=0, R minOccurs=1 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B minOccurs=0, R minOccurs=0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B (B is from included XSD): B     targetNanespace=absent, R targetNanespace=foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B (B is from included XSD): B     targetNanespace=absent, R targetNanespace=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B (B is from included XSD): B     targetNanespace=foo, R targetNanespace=foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B targetNanespace=foo, R     targetNanespace=foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B name=foo, R name=ref to group which has     foo only TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B name=foo, R name=ref to foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B name=foo, R name=foo TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B nillable=absent, R nillable=FALSE TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B nillable=FALSE, R nillable=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B nillable=absent, R nillable=absent TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B nillable=TRUE, R nillable=TRUE TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : NameAndTypedOK (elt:elt ) element R drived by     restriction from element B: B nillable=FALSE, R nillable=FALSE TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of particles: All     has only one member TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of particles: All is     empty TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'choice' : choice     ( C) appears under 'sequence' (P) with minOccurs=maxOccurs=1, and the     (P) is itself among the particles of a 'choice' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'choice' : choice     ( C) appears under 'choice' (P) with minOccurs=maxOccurs=1, and the     (P) is itself among the particles of a 'choice' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'choice' : choice     ( C) appears under group (P) with minOccurs=maxOccurs=1, and the (P)     is itself among the particles of a 'choice' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'choice' : choice     ( C) appears under 'sequence' (P) with minOccurs=maxOccurs=1, and the     ( C) has only one member TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'choice' : choice     ( C) appears under 'choice' (P) with minOccurs=maxOccurs=1, and the (     C) has only one member TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'choice' : choice     ( C) appears under group (P) with minOccurs=maxOccurs=1, and the ( C)     has only one member TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'choice' : choice     ( C) is empty and the 'sequence' within which ( C) appears has     minOccurs of 0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'choice' : choice     ( C) is empty and the 'choice' within which ( C) appears has minOccurs     of 0 TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'sequence' :     sequence (S) appears under a 'sequence' (P) with     minOccurs=maxOccurs=1, and the (P) is itself among the particles of a     'sequence' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'sequence' :     sequence (S) appears under a 'choice' (P) with minOccurs=maxOccurs=1,     and the (P) is itself among the particles of a 'sequence' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'sequence' :     sequence (S) appears under a model group (P) with     minOccurs=maxOccurs=1, and the (P) is itself among the particles of a     'sequence' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'sequence' :     sequence (S) appears under a 'sequence' (P) with     minOccurs=maxOccurs=1, and the (S) has only one member TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'sequence' :     sequence (S) appears under a 'choice' (P) with minOccurs=maxOccurs=1,     and the (S) has only one member TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'sequence' :     sequence (S) appears under a model group (P) with     minOccurs=maxOccurs=1, and the (S) has only one member TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : ignore pointless occurences of 'sequence'     :sequence is empty TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : E drived by extension from B, B=group,     E=sequence with B as the first content particle (follow by sequence) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : E drived by extension from B, B=choice,     E=sequence with B as the first content particle (follow by group) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : E drived by extension from B, B= 'any', E=same     as B TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : E drived by extension from B, B= group, E=same     as B TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : E drived by extension from B, B= 'choice',     E=same as B, different annotation properties TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : E drived by extension from B, B= 'sequence',     E=same as B, same annotation properties TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=choice (a|b), and the instant XML has (b,b,b,b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=choice (a|b), and the instant XML has (b,a,b,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=choice (a|b), and the instant XML has (a,a,a,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=choice (a|b), and the instant XML has (b,a,b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=choice (a|b), and the instant XML has (a,b,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=choice (a|b), and the instant XML has (b,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=choice (a|b), and the instant XML has (a,b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=choice (a|b), and the instant XML has (b,b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=choice (a|b), and the instant XML has (a,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant     XML has (b,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant     XML has (b,b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant     XML has (a,b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant     XML has (a,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant     XML has (b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=2, content=choice (a|b), and the instant     XML has (a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=1, content=choice (a|b), and the instant     XML has (a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=1,     maxOccurs=absent, content=choice (a|b), and the instant XML has (a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=0,     maxOccurs=absent, content=choice (a|b), and the instant XML has (a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=0,     maxOccurs=absent, content=choice (a|b), and the instant XML has no     element TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : Valid restriction of a content model from within     the content model TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=sequence (a,b), and the instant XML has     (a,b,a,b,a,b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=2,     maxOccurs=4, content=sequence (a,b), and the instant XML has (a,b,a,b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=2, content=sequence (a,b), and the instant     XML has (a,b,a,b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=2, content=sequence (a,b), and the instant     XML has (a, b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=1, content=sequence (a,b), and the instant     XML has (a, b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=1,     maxOccurs=absent, content=sequence (a,b), and the instant XML has (a,     b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=0,     maxOccurs=absent, content=sequence (a,b), and the instant XML has (a,     b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=0,     maxOccurs=absent, content=sequence (a,b), and the instant XML has no     element TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=1, content=all (a,b), and the instant XML     has (b,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=1, content=all (a,b), and the instant XML     has (a, b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=1, content=all (a,b), and the instant XML     has no element TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=1,     maxOccurs=absent, content=all (a,b), and the instant XML has (b,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=1,     maxOccurs=absent, content=all (a,b), and the instant XML has (a, b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with minOccurs=1,     maxOccurs=absent, content=all (a,b), and the instant XML has no     element TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=absent, content=all (a,b), and the instant     XML has (b,a) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=absent, content=all (a,b), and the instant     XML has (a, b) TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is a model group with     minOccurs=absent, maxOccurs=absent, content=all (a,b) with     minOccurs="0", and the instant XML has no element TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'element' with scope=global,     abstract=TRUE, block =extension restriction, instant element name     resolved to element declared as a valid substitution group TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'element' with scope=global,     abstract=TRUE, block =restriction, instant element name resolved to     element declared as a valid substitution group TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'element' with scope=global,     abstract=TRUE, block =extension, instant element name resolved to     element declared as a valid substitution group TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'element' with scope=global,     abstract=FALSE, block =absent, instant element name resolved to     element declared as a valid substitution group TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'element' with scope=global,     abstract=FALSE, instant element's namespace is 'targetNamespace' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'element' with scope=global,     abstract=absent, instant element's namespace is 'targetNamespace' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'element' with scope=local,     abstract=absent, instant element's namespace is 'targetNamespace' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo     ##targetNamespace bar ##local', instant element's namespace is     'targetNamespace' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo     ##targetNamespace bar ##local', instant element's namespace is     unqualified TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo     ##targetNamespace bar ##local', instant element's namespace is 'bar' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo     ##targetNamespace bar ##local', instant element's namespace is 'foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=     '##targetNamespace ##local', instant element's namespace is     unqualified TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=     '##targetNamespace ##local', instant element's namespace is     'targetNamespace' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo     ##local', instant element's namespace is unqualified TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo     ##local', instant element's namespace is 'foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo bar     ##targetNamespace', instant element's namespace is 'targetNamespace' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo bar     ##targetNamespace', instant element's namespace is 'bar' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo bar     ##targetNamespace', instant element's namespace is 'foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= ##local,     instant element's namespace is unqualified TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=     ##targetNamespace, instant element's namespace is 'targetNamespace' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo bar',     instant element's namespace is 'bar' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace= 'foo bar',     instant element's namespace is 'foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=     'http://xslt', instant element's namespace is 'http://xslt' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=##other,     instant element's namespace is 'foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=##any,     instant element's namespace is unqualified TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=##any,     instant element's namespace is 'targetNamespace' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=##any,     instant element's namespace is 'foo' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=absent     (default to ##any), instant element's namespace is unqualified TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=absent     (default to ##any), instant element's namespace is 'targetNamespace' TEST :3.9.1 The Particle Schema Component [ check length of element     information items ] : The {term} is 'any' with namespace=absent     (default to ##any), instant element's namespace is 'foo'