Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
7573708d
Commit
7573708d
authored
10 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
project's name corrected, defaultlabel, cosmetics
parent
371ce554
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.project
+1
-1
1 addition, 1 deletion
.project
Doc/course.xml
+28
-21
28 additions, 21 deletions
Doc/course.xml
with
29 additions
and
22 deletions
.project
+
1
−
1
View file @
7573708d
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>
Q
</name>
<name>
GoikLectures
</name>
<comment></comment>
<projects>
</projects>
...
...
This diff is collapsed.
Click to expand it.
Doc/course.xml
+
28
−
21
View file @
7573708d
...
...
@@ -2002,10 +2002,10 @@ public class Memo {
customer NUMERIC(5) NOT NULL <emphasis role="bold">REFERENCES Customer</emphasis> <co
xml:id="invoiceSecondFK"/>...</programlisting>
<remark>This actually
is
a deficiency of DTD's rather than
XML. The XML schema standard does not only allow multiple
foreign key definitions
but
polymorphic
references as
well.</remark>
<remark>This
is
actually a deficiency of DTD's rather than
of XML technologies in general: The XML schema standard
allows for multiple
foreign key definitions
and
polymorphic
references as
well.</remark>
</answer>
</qandaentry>
</qandadiv>
...
...
@@ -2512,7 +2512,8 @@ int count = 2; // Fatal error: A variable must not be
<para>Both variants are disallowed: The indicator of
multiplicity <quote>*</quote> is mandatory and the only
legal token to appear.</para>
legal token to appear in a mixed content model's
definition.</para>
</answer>
</qandaentry>
</qandadiv>
...
...
@@ -2524,25 +2525,27 @@ int count = 2; // Fatal error: A variable must not be
<para>We refer to our first version of our <link
linkend="figure_memo_dtd">memo.dtd</link>. The <tag
class="element">memo</tag> type declaration reads:</para>
class="starttag">memo</tag> content model definition
reads:</para>
<programlisting><!ELEMENT memo (from, to+, subject, content)></programlisting>
<para>
B
asically
this
states that
for
valid
document instances a
<tag
class="starttag">memo</tag>
nod
e consists of a
sequence of
other nodes. In this context we denote <tag
<para>
This b
asically states that
any
valid
<tag
class="starttag">memo</tag>
document instanc
e consists of a
sequence of
other nodes. In this context we denote <tag
class="starttag">memo</tag> as <emphasis>parent</emphasis> node.
<tag class="element">from</tag>, <tag class="element">to</tag>,
<tag class="element">subject</tag> and <tag
class="element">content</tag> are called
<emphasis>child</emphasis> nodes or
<emphasis>children</emphasis> for short.</para>
<emphasis>children</emphasis> of <tag
class="starttag">memo</tag> for short.</para>
<para>A sequence of elements is a special case of a more general
definition of
element content in the XML specification. We
already
used the <quote>+</quote> operator
to
allow a node to
appear
multiple times.
Actually there are
three such operators
being defined
:</para>
element content
definition
in the XML specification. We
already
used the <quote>+</quote> operator allow
ing
a node to
appear
multiple times.
The DTD standard defines
three such operators
of
multiplicity
:</para>
<glosslist>
<glossentry>
...
...
@@ -2572,8 +2575,11 @@ int count = 2; // Fatal error: A variable must not be
</glossentry>
</glosslist>
<para>So far we only talked about sequences of element nodes. We
may also define mutually exclusive alternatives:</para>
<para>Consequently the absence of any such operator declares the
node to appear exactly once. So far we only talked about
sequences of element nodes. Bi virtue of
<quote><code>|</code></quote> we may also define mutually
exclusive alternatives:</para>
<figure xml:id="operatorContentAlt">
<title>The operator <quote>|</quote> defining exclusive
...
...
@@ -2673,7 +2679,7 @@ int count = 2; // Fatal error: A variable must not be
</production>
</productionset>
<para>We
giv
e two examples:</para>
<para>We
provid
e two examples:</para>
<figure xml:id="pureElementContent">
<title>Examples of pure element content models</title>
...
...
@@ -7666,7 +7672,7 @@ public class ElementCount {
redefine only those methods corresponding to events actually being
handled by the application in question.</para>
<qandaset xml:id="sda1SaxReadAttributes">
<qandaset
defaultlabel="qanda"
xml:id="sda1SaxReadAttributes">
<title>SAX and attribute values</title>
<qandadiv>
...
...
@@ -11233,7 +11239,7 @@ public class InsertPerson extends JFrame {
ugly mix of GUI components and database related code. We take a
first step to decouple these two distinct concerns:</para>
<qandaset xml:id="quandaentry_DbLayer">
<qandaset
defaultlabel="qanda"
xml:id="quandaentry_DbLayer">
<title>Handling the database layer</title>
<qandadiv>
...
...
@@ -13021,7 +13027,7 @@ INSERT INTO Friends VALUES (1, <emphasis role="bold">'31'</emphasis>, '1991-10-1
</qandadiv>
</qandaset>
<qandaset xml:id="exerciseHashTraining">
<qandaset
defaultlabel="qanda"
xml:id="exerciseHashTraining">
<title>Passwords and hash values</title>
<qandadiv>
...
...
@@ -13139,7 +13145,8 @@ public class TestHashProvider {
</qandadiv>
</qandaset>
<qandaset xml:id="exerciseInsertLoginCredentials">
<qandaset defaultlabel="qanda"
xml:id="exerciseInsertLoginCredentials">
<title>Gui authentication: The real McCoy</title>
<qandadiv>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment