br closing element name expected

Discussion in 'XML' started by Grams F., Jan 2, 2005.

  1. Grams F.

    Grams F. Guest

    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:">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:">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>
     
    Grams F., Jan 2, 2005
    #1
    1. Advertising

  2. * 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: · 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/
     
    Bjoern Hoehrmann, Jan 2, 2005
    #2
    1. Advertising

  3. Grams F.

    Grams F. Guest

    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
     
    Grams F., Jan 2, 2005
    #3
  4. Grams F.

    Peter Flynn Guest

    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_
     
    Peter Flynn, Jan 3, 2005
    #4
  5. Grams F.

    Brian Staff Guest

    use <br /> instead

    Brian
     
    Brian Staff, Jan 3, 2005
    #5
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Moonbeam66
    Replies:
    2
    Views:
    437
    Moonbeam66
    Jun 7, 2005
  2. =?Utf-8?B?Vk1J?=

    Closing popup window when closing parent window?

    =?Utf-8?B?Vk1J?=, Feb 14, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    657
    Thomas Hansen
    Feb 15, 2007
  3. HANM
    Replies:
    2
    Views:
    729
    Joseph Kesselman
    Jan 29, 2008
  4. thomas
    Replies:
    0
    Views:
    230
    thomas
    Oct 23, 2003
  5. Replies:
    6
    Views:
    179
Loading...

Share This Page