br closing element name expected

G

Grams F.

It seems a <br> code in my XML-file is not accepted.
This XML file is created using Movablestyle/Thingamablog

Can anyone please analyse this HTML/XML-source, and tell me what is wrong?


++++++++++++++++++++++++++++


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>:: mydomainremovedagainstspam :: : 01/02/2005 - 01/02/2005</title>
<link rel="stylesheet"
href="http://www.mydomainremovedagainstspam.com/blog//styles-site.css"
type="text/css" />
</head>

<body>
<div id="banner">
<h1>01/02/2005 - 01/02/2005</h1>
<span class="description"></span>
</div>

<div id="content">
<div class="blog">

<!-- This section specifies the layout for each entry -->

<h2 class="date">Sunday, January 02, 2005</h2>
<div class="blogbody">
<a name="3"></a>

<h3 class="title">Happy 2005</h3>

Iedereen een heel gelukkig nieuwjaar!
<div class="posted">
Posted by <a
href="mailto:[email protected]">mydomainremovedagainstspam</a>
at <a
href="http://www.mydomainremovedagainstspam.com/blog/archives/01-02-2005_01-02-2005.xml#3"
title="permanent link">11:43.17</a><br>

Categories: <br>
</div>
</div>



<div class="blogbody">
<a name="2"></a>

<h3 class="title">Nieuw weblog, welkom op ons weblog</h3>

Hallo, en welkom op ons weblog mydomainremovedagainstspam. Over een
poosje zullen we veel gaan communiceren via dit weblog. We zullen regelmatig
verhalen, ervaringen, foto's etc. posten, waarmee we iedereen op de hoogte
zullen proberen te houden van ons leven in Australie.
In de aanloop tot onze verhuizing gaan we hier ook vast wel wat info posten.
Veel leesplezier!
<div class="posted">
Posted by <a
href="mailto:[email protected]">mydomainremovedagainstspam</a>
at <a
href="http://www.mydomainremovedagainstspam.com/blog/archives/01-02-2005_01-02-2005.xml#2"
title="permanent link">11:41.26</a><br>
<i>Edited on: Sunday, January 02, 2005 18:30.26</i><br>
Categories: <br>
</div>
</div>




</div><!--end blog -->
</div> <!-- end content -->

<!-- sidebar begin -->
<div id="links">

<!-- This section lays out the calendar -->
<div align="center" class="calendar">

<table border="0" cellspacing="3" cellpadding="0" summary="Monthly
calendar with links to each day's posts">
<caption class="calendarhead">January 2005</caption>
<tr>
<th abbr="Sunday" align="center"><span
class="calendar">Sun</span></th>
<th abbr="Monday" align="center"><span
class="calendar">Mon</span></th>
<th abbr="Tuesday" align="center"><span
class="calendar">Tue</span></th>
<th abbr="Wednesday" align="center"><span
class="calendar">Wed</span></th>
<th abbr="Thursday" align="center"><span
class="calendar">Thu</span></th>
<th abbr="Friday" align="center"><span
class="calendar">Fri</span></th>
<th abbr="Saturday" align="center"><span
class="calendar">Sat</span></th>
</tr>

<tr><td align="center">
<span class="calendar">


&nbsp;</span></td>
<td align="center">
<span class="calendar">


&nbsp;</span></td>
<td align="center">
<span class="calendar">


&nbsp;</span></td>
<td align="center">
<span class="calendar">


&nbsp;</span></td>
<td align="center">
<span class="calendar">


&nbsp;</span></td>
<td align="center">
<span class="calendar">


&nbsp;</span></td>
<td align="center">
<span class="calendar">
1

</span></td>
</tr>

<tr><td align="center">
<span class="calendar">
2

</span></td>
<td align="center">
<span class="calendar">
3

</span></td>
<td align="center">
<span class="calendar">
4

</span></td>
<td align="center">
<span class="calendar">
5

</span></td>
<td align="center">
<span class="calendar">
6

</span></td>
<td align="center">
<span class="calendar">
7

</span></td>
<td align="center">
<span class="calendar">
8

</span></td>
</tr>

<tr><td align="center">
<span class="calendar">
9

</span></td>
<td align="center">
<span class="calendar">
10

</span></td>
<td align="center">
<span class="calendar">
11

</span></td>
<td align="center">
<span class="calendar">
12

</span></td>
<td align="center">
<span class="calendar">
13

</span></td>
<td align="center">
<span class="calendar">
14

</span></td>
<td align="center">
<span class="calendar">
15

</span></td>
</tr>

<tr><td align="center">
<span class="calendar">
16

</span></td>
<td align="center">
<span class="calendar">
17

</span></td>
<td align="center">
<span class="calendar">
18

</span></td>
<td align="center">
<span class="calendar">
19

</span></td>
<td align="center">
<span class="calendar">
20

</span></td>
<td align="center">
<span class="calendar">
21

</span></td>
<td align="center">
<span class="calendar">
22

</span></td>
</tr>

<tr><td align="center">
<span class="calendar">
23

</span></td>
<td align="center">
<span class="calendar">
24

</span></td>
<td align="center">
<span class="calendar">
25

</span></td>
<td align="center">
<span class="calendar">
26

</span></td>
<td align="center">
<span class="calendar">
27

</span></td>
<td align="center">
<span class="calendar">
28

</span></td>
<td align="center">
<span class="calendar">
29

</span></td>
</tr>

<tr><td align="center">
<span class="calendar">
30

</span></td>
<td align="center">
<span class="calendar">
31

</span></td>
<td align="center">
<span class="calendar">


&nbsp;</span></td>
<td align="center">
<span class="calendar">


&nbsp;</span></td>
<td align="center">
<span class="calendar">


&nbsp;</span></td>
<td align="center">
<span class="calendar">


&nbsp;</span></td>
<td align="center">
<span class="calendar">


&nbsp;</span></td>
</tr>

</table>

</div> <!-- end calendar -->

<br />
<div class="syndicate">
<a href="http://www.mydomainremovedagainstspam.com/blog/blog.html">Front
Page</a><br />
<a
href="http://www.mydomainremovedagainstspam.com/blog/rss.xml">Syndicate this
site (XML)</a>
</div>

<!-- Archive links list -->
<div class="sidetitle">
Archives
</div>

<div class="side">

<a
href="http://www.mydomainremovedagainstspam.com/blog/archives/01-02-2005_01-02-2005.xml">01/02/2005
- 01/02/2005</a><br />

<br />
<a
href="http://www.mydomainremovedagainstspam.com/blog/archives.html">Archive
Index</a>
</div>


<!-- Category links list -->
<div class="sidetitle">
Categories
</div>

<div class="side">

</div>


<div class="sidetitle">
Credits
</div>
<div class="side"><!--REQUIRED LINK!!!! do not delete! -->
<a href="http://www.movablestyle.com/">Design by Movablestyle</a><br />
</div>


<div class="powered">
Powered by<br /><a
href="http://thingamablog.sourceforge.net">Thingamablog 1.0b2</a><br />
</div>


</div>
<br clear="all" />
</body>
</html>
 
B

Bjoern Hoehrmann

* Grams F. wrote in comp.text.xml:
It seems a <br> code in my XML-file is not accepted.

In XML, all elements need to be explicitly closed and there are only two
way of closing an element, either by using an end-tag like </p> or by
using a special kind of start-tag, <p/>, which can be used if there is
no content. In your document the <br> elements are not closed, you have
just "<br>" without a corresponding "</br>". Change these to "<br></br>"
or (probably better), "<br />".
 
G

Grams F.

Bjoern said:
* Grams F. wrote in comp.text.xml:

In XML, all elements need to be explicitly closed and there are only
two way of closing an element, either by using an end-tag like </p>
or by using a special kind of start-tag, <p/>, which can be used if
there is no content. In your document the <br> elements are not
closed, you have just "<br>" without a corresponding "</br>". Change
these to "<br></br>" or (probably better), "<br />".

Cool, I really did not know this.
I will try it tomorrow immediately.
Thanks!

Grams
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top