Re: "May contain: Empty element"
Lou Burnard <[email protected]> Thu, 4 May 2017 11:28:58 +0100
| Newsgroups | gmane.text.tei.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------3A383F622E6A72429B26889C
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
On 03/05/17 16:19, John P. McCaskey wrote:
> When the spec for an element says =E2=80=9CMay contain: Empty element=E2=
=80=9C that=20
> does not actually mean the spec=E2=80=99d element can contain any other=
=20
> element as long as the contained one is empty, right? It actually=20
> means =E2=80=9CMay contain: No other element,=E2=80=9C right?
>
> Should that be changed?
>
>
The "may contain" part is boiler plate text provided by the stylesheet=20
in various languages: it might be tricky to change it. The other part is=20
meant to imply that the element in question cannot contain anything,=20
i.e. it is empty. Since there is now a proposal in the works (see=20
https://github.com/TEIC/TEI/issues/1596) to allow for an empty content=20
model to be represented in an ODD by using an explicit element called=20
"<empty/>" that text maybe needs to be revisited. You might like to=20
raise a Stylesheets ticket to remind someone to review it.
--------------3A383F622E6A72429B26889C
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Ty=
pe">
</head>
<body bgcolor=3D"#FFFFFF" text=3D"#000000">
<div class=3D"moz-cite-prefix">On 03/05/17 16:19, John P. McCaskey
wrote:<br>
</div>
<blockquote
cite=3D"mid:[email protected]"
type=3D"cite">
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Du=
tf-8">
<font size=3D"-1">When the spec for an element says =E2=80=9CMay co=
ntain:
Empty element=E2=80=9C that does not actually mean the spec=E2=80=
=99d element
can contain any other element as long as the contained one is
empty, right? It actually means =E2=80=9CMay contain: No other el=
ement,=E2=80=9C
right?</font>
<p><font size=3D"-1">Should that be changed?<br>
</font></p>
<br>
</blockquote>
<br>
<font size=3D"-1">The "may contain" part is boiler plate text provide=
d
by the stylesheet in various languages: it might be tricky to
change it. The other part is meant to imply that the element in
question cannot contain anything, i.e. it is empty. Since there is
now a proposal in the works (see
<a class=3D"moz-txt-link-freetext" href=3D"https://github.com/TEIC/=
TEI/issues/1596">https://github.com/TEIC/TEI/issues/1596</a>)=C2=A0 to al=
low for an empty
content model to be represented in an ODD by using an explicit
element called "<empty/>" =C2=A0 that text maybe needs to be
revisited. You might like to raise a Stylesheets ticket to remind
someone to review it. </font><br>
<p><br>
</p>
</body>
</html>
--------------3A383F622E6A72429B26889C--