Re: Basic problem

In a message dated 10/07/01 10:51:34 GMT Daylight Time, 
nick.buckley.01@bbc.co.uk writes:


> Why does the following:
> 
>     <meta name="title" content="Hand craft test"/>
>     <meta name="author" content="http://news.bbc.co.uk">
>     <meta name="copyright" content="(C) British Broadcasting Corporation
> 2001">
> 
> give me a BAD XML message?
> 
> \\ Nick

Nick,

If that is the total of your document then the problem is that you don't have 
a single element root for the document.

But assuming it is part of a longer document ....

You have omitted the "/" before the ">" at the end of the second and third 
meta elements. Later in the document an XML processor will be expecting end 
tags for the two meta elements.

I hope that helps.

If that doesn't solve it then can you say which software is giving you the 
error message and exactly what the error message is. And also post a fuller 
version of the code.

Andrew Watt

Received on Tuesday, 10 July 2001 06:00:32 UTC