BIN yI5Fr Documentation
Author: root
Version: 2
Description: Global Element
Created: 2023-10-21
Modified: 2023-10-21
Source:
Modifica Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- This OSK Schema has been generated by a W3C XML Schema retrieved at undefined:/text using com.eleusoft.schemaconvert.w3c.transform package, Copyright 2005-(Current) Michele Vivoda, Eleusoft.com --><osk xmlns:norm="http://www.eleusoft.org/schemaconvert/normalize" norm:generator="transform.xsl" norm:generator.vendor="Eleusoft" norm:generator.version="0.2" norm:xsl.vendor="Apache Software Foundation" norm:xsl.version="1.0"> <datatypeLibrary xmlns:extra="http://eleusoft.org/schema/extra" xmlns:out="http://www.eleusoft.org/schemaconvert/out" xmlns:rslv="http://www.eleusoft.org/schemaconvert/resolve" xmlns:xs="http://www.w3.org/2001/XMLSchema" uri="http://www.w3.org/2001/XMLSchema-datatypes"/> <schema xmlns:extra="http://eleusoft.org/schema/extra" xmlns:out="http://www.eleusoft.org/schemaconvert/out" xmlns:rslv="http://www.eleusoft.org/schemaconvert/resolve" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xslns="http://www.eleusoft.org/xsltnshelpers" attributeFormDefault="unqualified" description="This package is the root result of the transformation of a W3C Schema." elementFormDefault="unqualified" extra:w3ctransform.isroot="true" name="text" namespaceUri="" uri=""> <!-- ST-RESTR) This is an anonymous xs:simpleType declaring a derivation by restriction. --> <simpleType name="odd.AnonymousElType" rslv:simplecontent="true" type="Type.AAA" typeUri=""> <facet name="enumeration" value="1"/> <facet name="enumeration" value="3"/> <facet name="enumeration" value="5"/> <facet name="enumeration" value="7"/> <facet name="enumeration" value="9"/> </simpleType> <!-- ST-RESTR) This is an anonymous xs:simpleType declaring a derivation by restriction. --> <simpleType name="even.AnonymousElType" rslv:simplecontent="true" type="Type.AAA" typeUri=""> <facet name="enumeration" value="2"/> <facet name="enumeration" value="4"/> <facet name="enumeration" value="6"/> <facet name="enumeration" value="8"/> </simpleType> <!-- CT-CCR-ANYTYPE-HASPARTICLES - This is an anonymous xs:complexType that restricts xs:anyType declaring children particles. --> <complexType name="root.AnonymousElType"> <!--Here there was an order-only xs:sequence--> <!-- Local element @ref is (digit) This choice represents referenced substitution group (digit) with translated osk field name (digit) --> <choice caption="SG_digit" maxOccurs="1" minOccurs="1" name="SG_digit"> <!--xs:element [digit] is @abstract, not in choice.--> <field name="even" ref="true" type="even" typeUri=""/> <field name="odd" ref="true" type="odd" typeUri=""/> </choice> <!--End order-only xs:sequence--> </complexType> <!-- ROOT xs:element @type attribute specified - xs:schema/xs:element[@norm:name='root'][@norm:type='root.AnonymousElType']. In OSK is either a simpleType or a complex type, depends on the referenced type, that in this case is complex. Note: The name is the same of the element (no [Type.] prefix added).--> <complexType description="Global Element" extra:form="true" name="root" rslv:oskrefiscomplex="true"> <implements type="root.AnonymousElType" typeUri=""/> </complexType> <!-- ROOT xs:element @type attribute specified - xs:schema/xs:element[@norm:name='digit'][@norm:type='Type.AAA']. In OSK is either a simpleType or a complex type, depends on the referenced type, that in this case is simple. Note: The name is the same of the element (no [Type.] prefix added). This element was @abstract in the schema, the head of a subst group. --> <!--Since $bindGlobalSimpleElementsToComplexType = "true" this global simple element is bound to an OSK complex type instead than to a simple type --> <complexType extra:form="true" description='https://github.com/lcahlander/xsd2json/issues/1#issue-291601598' name="digit" rslv:oskrefiscomplex="true" rslv:simplecontent="true"> <field extra:xml="text" name="__simpleContent" type="Type.AAA" typeUri=""/> </complexType> <!-- ST-RESTR) This is a named xsd:simpleType declaring a derivation by restriction. --> <simpleType name="Type.AAA" type="integer" typeUri="http://www.w3.org/2001/XMLSchema-datatypes"> <facet name="minInclusive" value="1"/> <facet name="maxInclusive" value="9"/> </simpleType> <!-- This is xs:element[@substitutionGroup='' and not(@type) and not(xs:complexType) and not(xs:simpleType)] depending on the category of the *type* of substitution group head (), osk translation is: complex - a complex type that implements the type of the head of the substitutionGroup simple - a simple type that restricts the type of the head of the substitutionGroup In this cae the type of the head is simple ( $bindGlobalSimpleElementsToComplexType=true) --> <complexType name="odd"> <implements type="digit" typeUri=""/> <field extra:xml="text" name="__simpleContent" type="odd.AnonymousElType" typeUri=""/> </complexType> <!-- This is xs:element[@substitutionGroup='' and not(@type) and not(xs:complexType) and not(xs:simpleType)] depending on the category of the *type* of substitution group head (), osk translation is: complex - a complex type that implements the type of the head of the substitutionGroup simple - a simple type that restricts the type of the head of the substitutionGroup In this cae the type of the head is simple ( $bindGlobalSimpleElementsToComplexType=true) --> <complexType name="even"> <implements type="digit" typeUri=""/> <field extra:xml="text" name="__simpleContent" type="even.AnonymousElType" typeUri=""/> </complexType> <!--In the xs:schema there were 1 substitution group(s).--> <!--Begin find global nillable elements--> <!--Begin find local nillable elements for N10005--> <!-- Type --> <!-- Type --> <!-- Type --> <!-- Type AAA--> <!--resolve defaults for simple content local elements--> <!--Begin find sequence(s) for [undefined:/text]--> </schema> </osk>application/xml //efbin.org/osk/yI5Fr //efbin.org/bin/yI5Fr Eleusoft ARIA