From 489ab0a598371ea2ddd3041041221b9f7c03cb5d Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Tue, 6 Nov 2018 13:40:06 +0100 Subject: [PATCH] Cosmetics --- Doc/Sd1/statements.xml | 2 +- Doc/Sda1/xmlschema.xml | 57 +++++++++++++++++++++++------------------- 2 files changed, 32 insertions(+), 27 deletions(-) diff --git a/Doc/Sd1/statements.xml b/Doc/Sd1/statements.xml index f2bbac029..9622aa592 100644 --- a/Doc/Sd1/statements.xml +++ b/Doc/Sd1/statements.xml @@ -2298,7 +2298,7 @@ while (i < 5 <co linkends="sd1_callout_whileLoopJustCounting-2" <callout arearefs="sd1_callout_whileLoopJustCounting-3-co" xml:id="sd1_callout_whileLoopJustCounting-3"> - <para>Progressing loop control</para> + <para>Loop progression control</para> </callout> </calloutlist></td> </tr> diff --git a/Doc/Sda1/xmlschema.xml b/Doc/Sda1/xmlschema.xml index 284a6c08b..2c2e7aa79 100644 --- a/Doc/Sda1/xmlschema.xml +++ b/Doc/Sda1/xmlschema.xml @@ -1279,31 +1279,33 @@ String s1 = new String(), s2 = new String();</programlisting> role="red">contactCategoryType</emphasis>"> <xs:restriction base="xs:string"> <emphasis role="red"> â–²</emphasis> <xs:enumeration value="<emphasis role="red">friend</emphasis>"/> <emphasis - role="red">â”—â”â”â”â”â”â”â”â”â”â”â”â”â”┓</emphasis> - <xs:enumeration value="<emphasis role="red">colleague</emphasis>"/> <emphasis + role="red">â”—â”â”┓</emphasis> + <xs:enumeration value="<emphasis role="red">colleague</emphasis>"/> <emphasis role="red">┃</emphasis> - <xs:enumeration value="<emphasis role="red">businessPartner</emphasis>"/> <emphasis + <xs:enumeration <emphasis role="red">┃</emphasis> + value="<emphasis role="red">businessPartner</emphasis>"/> <emphasis role="red">┃</emphasis> - </xs:restriction> <emphasis role="red">┃</emphasis> -</xs:simpleType> <emphasis role="red">┃</emphasis> - <emphasis role="red">┃</emphasis> -<xs:element name="contact"> <emphasis role="red">┃</emphasis> - <xs:complexType> <emphasis role="red">┃</emphasis> - <xs:sequence> ... </xs:sequence> <emphasis - role="red">┃</emphasis> - <xs:attribute name="birthDate" type="<emphasis role="red">contactCategoryType</emphasis>" + </xs:restriction> <emphasis role="red">┃</emphasis> +</xs:simpleType> <emphasis role="red">┃</emphasis> + <emphasis role="red">┃</emphasis> +<xs:element name="contact"> <emphasis role="red">┃</emphasis> + <xs:complexType> <emphasis role="red">┃</emphasis> + <xs:sequence> ... <emphasis role="red">┃</emphasis> + </xs:sequence> <emphasis role="red">┃</emphasis> + <xs:attribute name="birthDate" <emphasis role="red">┃</emphasis> + type="<emphasis role="red">contactCategoryType</emphasis>" use="optional"/> </xs:complexType> </xs:element></programlisting></td> - <td valign="top"><programlisting language="none"><contact category="<emphasis - role="red">author</emphasis>"> - <firstName>Joe</firstName> - <lastName>Simpson</lastName> -</contact></programlisting><para>Value '<emphasis - role="red">author</emphasis>' is not facet-valid</para><para>with - respect to enumeration</para><para>'[friend, colleague, - businessPartner]'...</para></td> + <td valign="top"><programlisting language="none"><contact + category="<emphasis role="red">author</emphasis>"> + <firstName>... +</contact></programlisting><screen>Value '<emphasis role="red">author</emphasis>' is not +facet-valid with respect +to enumeration' +[friend, colleague, + businessPartner]'...</screen></td> </tr> </informaltable> </figure> @@ -1313,11 +1315,13 @@ String s1 = new String(), s2 = new String();</programlisting> <informaltable border="0"> <tr> - <td valign="top"><programlisting language="none"><a href="https://my.com">Some text</a> - <emphasis role="red">â–²</emphasis> - <emphasis role="red">┃</emphasis> - <emphasis role="red">┃</emphasis> - <!-- Just a string --></programlisting></td> + <td valign="top"><programlisting language="none"><a +href="https://my.com" + >Some text</a> + <emphasis role="red"> â–²</emphasis> + <emphasis role="red">┃</emphasis> + <emphasis role="red">┃</emphasis> + <!-- Just a string --></programlisting></td> <td valign="top"><programlisting language="none"><xs:element name="a"> <xs:complexType> @@ -1325,7 +1329,8 @@ String s1 = new String(), s2 = new String();</programlisting> <xs:extension base="xs:string"> <co linkends="sda1_xmlschema_fig_textContentAttribute-1" xml:id="sda1_xmlschema_fig_textContentAttribute-1-co"/> - <xs:attribute name="href" type="<emphasis role="red">xs:anyURI</emphasis>"/> <co + <xs:attribute name="href" + type="<emphasis role="red">xs:anyURI</emphasis>"/> <co linkends="sda1_xmlschema_fig_textContentAttribute-2" xml:id="sda1_xmlschema_fig_textContentAttribute-2-co"/> </xs:extension> @@ -2947,7 +2952,7 @@ public class Memo { be able addressing a <emphasis>set</emphasis> of recipients. Thus we have to disallow duplicates. Note that this is an <emphasis>informal</emphasis> constraint not being handled by - our schema: </para> + our schema:</para> <itemizedlist> <listitem> -- GitLab