Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
safris committed Oct 2, 2023
1 parent 3ec70c0 commit cbdca03
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
18 changes: 9 additions & 9 deletions schema-0.4/schema-0.4.jsdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,37 +43,37 @@
<string name="typeIdentifier" pattern="(([a-zA-Z_$][a-zA-Z\d_$]*)\.)*[a-zA-Z_$][a-zA-Z\d_$]*(\[\])?"/>
<string name="methodIdentifier" pattern="(([a-zA-Z_$][a-zA-Z\d_$]*)\.)*[a-zA-Z_$][a-zA-Z\d_$]*(\.&lt;init&gt;)?"/>
<string name="fieldIdentifier" pattern="[a-zA-Z_$][a-zA-Z\d_$]*"/>

<object name="binding" abstract="true">
<property name="lang" xsi:type="reference" type="nonEmptyString" nullable="false" doc="Specifies the language to which this binding applies."/>
</object>

<object name="fieldBinding" extends="binding" doc="Specifies language-specific binding.">
<property name="field" xsi:type="reference" type="fieldIdentifier" use="optional" nullable="false" doc="Specifies the &quot;field&quot; identifier."/>
</object>

<object name="typeBinding" extends="binding" doc="Specifies language-specific binding.">
<property name="type" xsi:type="reference" type="typeIdentifier" use="optional" nullable="false" doc="Specifies the &quot;type&quot; qualified identifier."/>
<property name="decode" xsi:type="reference" type="methodIdentifier" use="optional" nullable="false" doc="Specifies the &quot;decode&quot; qualified function identifier that accepts input as a string, or as the native JSON type of this property, and returns an output of the specified &quot;type&quot; (or the default type if &quot;type&quot; is unspecified)."/>
<property name="encode" xsi:type="reference" type="methodIdentifier" use="optional" nullable="false" doc="Specifies the &quot;encode&quot; qualified function identifier that accepts input of the type specified in &quot;type&quot; (or the default type if &quot;type&quot; is unspecified), and returns an output as a string, or as the native JSON type of this property."/>
</object>

<object name="typeFieldBinding" extends="typeBinding" doc="Specifies language-specific binding.">
<property name="field" xsi:type="reference" type="fieldIdentifier" use="optional" nullable="false" doc="Specifies the &quot;field&quot; identifier."/>
</object>

<array name="fieldBindings" doc="Specifies language-specific bindings.">
<reference type="fieldBinding" nullable="false"/>
</array>

<array name="typeBindings" doc="Specifies language-specific bindings.">
<reference type="typeBinding" nullable="false"/>
</array>

<array name="typeFieldBindings" doc="Specifies language-specific bindings.">
<reference type="typeFieldBinding" nullable="false"/>
</array>

<object name="any" extends="member" abstract="true">
<property name="jx:type" xsi:type="string" pattern="any" nullable="false"/>
<property name="types" xsi:type="reference" type="nonEmptyString" use="optional" nullable="false"/>
Expand Down Expand Up @@ -200,5 +200,5 @@
<property name="minOccurs" xsi:type="reference" type="min" use="optional" nullable="false"/>
<property name="maxOccurs" xsi:type="reference" type="max" use="optional" nullable="false"/>
</object>

</schema>
16 changes: 8 additions & 8 deletions schema-0.4/schema-0.4.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -106,27 +106,27 @@
<xs:pattern value="(([a-zA-Z_$][a-zA-Z\d_$]*)\.)*[a-zA-Z_$][a-zA-Z\d_$]*(\.&lt;init&gt;)?"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="typeIdentifier">
<xs:restriction base="xs:string">
<xs:pattern value="(([a-zA-Z_$][a-zA-Z\d_$]*)\.)*[a-zA-Z_$][a-zA-Z\d_$]*(\[\])?"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="fieldIdentifier">
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z_$][a-zA-Z\d_$]*"/>
</xs:restriction>
</xs:simpleType>

<xs:complexType name="binding">
<xs:attribute name="lang" type="dt:NCNameNonEmpty" use="required">
<xs:annotation>
<xs:documentation>Specifies the language to which this binding applies.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>

<xs:complexType name="fieldBinding">
<xs:complexContent>
<xs:extension base="jx:binding">
Expand All @@ -138,7 +138,7 @@
</xs:extension>
</xs:complexContent>
</xs:complexType>

<xs:complexType name="typeBinding">
<xs:complexContent>
<xs:extension base="jx:binding">
Expand All @@ -160,7 +160,7 @@
</xs:extension>
</xs:complexContent>
</xs:complexType>

<xs:complexType name="typeFieldBinding">
<xs:complexContent>
<xs:extension base="jx:typeBinding">
Expand All @@ -172,7 +172,7 @@
</xs:extension>
</xs:complexContent>
</xs:complexType>

<xs:complexType name="reference">
<xs:complexContent>
<xs:extension base="jx:referenceMember">
Expand Down Expand Up @@ -313,7 +313,7 @@
<xs:annotation>
<xs:documentation>Specifies language-specific bindings.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="jx:nameable"/>
<xs:attributeGroup ref="jx:annullable"/>
Expand Down

0 comments on commit cbdca03

Please sign in to comment.