1. Aufgabea. Finden Sie 3 HTML-Dokumente auf einem HPI-Webserver(*.hpi.uni-potsdam.de), die kein well-formed XML sind. Geben Sie für jedes Dokument ein Fragment an, welches die XML-Syntax verletzt, sowie die XML- Syntaxregel, die verletzt wird.
1. www.hpi.uni-potsdam.de/forschung/fachgebiete.html<a href="personen/hpi_fellows_friends.html" onfocus="blurLink(this);">HPI-Fellows & Friends</a>
nicht well-formed. Verletzung der Regel [14] - ampersand in CharData.
& reserved exclusively for markup
usage allowed inside comments, processing instructions, or CDATA sections
2. www.dcl.hpi.uni-potsdam.de/teaching/ftsemLine 70 Col 20
<p class="MsoHeader" style="text-align: center;" align="center"><span >Dipl.
Inf. Andreas Rasche<br> - no end tag for br
Regel [39] element::= EmptyElemTAg | STag content ETag
3. www.dcl.hpi.uni-potsdam.de/papers/Line 159 Col 33
<a class="c4" href="http://www.dcl.hpi.uni-potsdam.de/papers/papers/Jahresbericht2007.pdf">
Jahresbericht 2007 der Gruppe Betriebssysteme und Middleware am
HPI</a> Potsdam, June 2008.
</p> - no start tag for p
Regel [39] element::= EmptyElemTAg | STag content ETag
Validated with
http://validator.w3.org/