473,320 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

br closing element name expected

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:bl**@mydomainremovedagainstspam.com"> 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:bl**@mydomainremovedagainstspam.com"> 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>
Jul 20 '05 #1
4 3349
* 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 />".
--
Björn Höhrmann · mailto:bj****@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Jul 20 '05 #2
Bjoern Hoehrmann wrote:
* 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 />".


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

Grams

Jul 20 '05 #3
Grams F. wrote:
Bjoern Hoehrmann wrote:
* 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 />".


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


When in doubt, read the FAQ.
http://www.ucc.ie/xml#wf, "Rules for well-formedness", 3rd bullet

///Peter
--
"The cat in the box is both a wave and a particle"
-- Terry Pratchett, introducing quantum physics in _The Authentic Cat_
Jul 20 '05 #4
use <br /> instead

Brian

Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Martin | last post by:
Hallo, can you help me writing a generic xslt transformation (useable with xsql from oracle)? The problem is how to get the escaping characters .... === INPUT-File in.xml <?xml version =...
10
by: Tom Szabo | last post by:
Is there an event when that triggers when the window is closing.... I am talking about when the user clicks on the cross on the right top corner of the window!!!
2
by: Json | last post by:
Ok, brand new to SQLXML 3.0 and its various issues. Heres what I'm trying to do: 1. I am trying to load xml data into an empty SQL table from my .NET console application. 2. This isn't a huge...
1
by: BillAtWork | last post by:
Hi, I'm trying to validate an XML document against an XSD schema and I receive the following error: ---------- MyCode.CreateValidRequest : System.Web.Services.Protocols.SoapException :...
1
by: BillAtWork | last post by:
Hi, I'm trying to validate an XML document against an XSD schema and I receive the following error: ---------- MyCode.CreateValidRequest : System.Web.Services.Protocols.SoapException :...
1
by: S. David Kyle | last post by:
I am having a weird issue when I generate an input Html tag from a Xsl transformation. When the trasform is executed on the xsl below, the <inputtag has the closing slash removed in the first...
2
by: forcey | last post by:
Hi all, I'm writing a SOAP server using the SOAP extension and I need to return an array_map_name_balance, which is defined in a WSDL file like this: <xsd:complexType name="map_name_balance">...
1
by: krunaldsoni | last post by:
Let me give you my problem statement: <positiondata > <touchpad reportedFingers="2" /> <timestamp user="Dev" time="1252088979018" /> <reported2d x="447" y="232" z="31" w="1" finger="0"...
1
by: Rangeshram | last post by:
Dear All, I have an input without closing tags(only opening) e.g., input: <index.level level="1" ref.id="001"><name>ADDRESSES</name> <index.level level="2"><name>Abel, I. W.</name> <locator...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.