If the {variety} is list, then all of the following must be true: 1. The {item type definition} must have a {variety} of atomic or union (in which case all the {member type definitions} must be atomic). 2. Only length, minLength, maxLength, pattern and enumeration facet components are allowed among the {facets}. 3. If the {base type definition} is not the *simple ur-type definition*, then all of the following must be true: 3.1. The {base type definition} must have a {variety} of list. 3.2. The {final} of the {base type definition} must not contain restriction. 3.3. For each facet in the {facets} there must be a facet of the same kind in the {facets} of the {base type definition} of whose {value} the facet in question's {value} must be a valid restriction as defined in [XML Schemas: Datatypes].

http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Simple_Type_Definitions


TEST st_variety00201m1 - The {variety} is list (invalid schema)

FILES

ItemValue
title st_variety00201m1 - The {variety} is list (invalid schema)
name st_variety00201m1
source ../ST_variety00201m1.xsd
schemaName ../ST_variety00201m1.xsd
keywords schema negative
package javasoft.sqe.tests.stype.st_variety.st_variety00201m.st_variety00201m1


%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.