Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COUp vote for providing additional detail why xsd:element would expand to a primitive. It is indeed because the default value for minoccurs under xsd:element is 1. The only question left to answer is some documentation that says simpleType or restriction type specified are implicitly optional. I have learned that they don't have minoccurs or maxoccurs attributes so I just need to find a documentation spot that sites they are by default optional.
      singulars
    2. COThe simpleType doesn't have a "cardinality" feature. That is implemented with the list type or facets inside restrictions. What I meant was something like: <attribute name="attr1" type="myField" use="optional"/> Attributes are optional by default. I just placed it to get the point across. If the type appears in attributes it would make sense that it is Boolean, but if it appears in elements, then I would guess it is a simplification of the program since simpleTypes are more commonly used in attributes. Try changing an attribute so that it has use="required" to see if that affects the type.
      singulars
    3. COGood call, what is actually happening is an xsd:element is declaring to be of type "myField". I was under the impression the simpleType was representing a node itself. Under the xsd:element there is a minoccurs="0". Guess that solves that problem. Thanks for the help Silver Phoenix. I apologize for the somewhat misleading question.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload