Menu

#7 why are META tags not closed

v1.0 (example)
open
nobody
None
5
2015-08-04
2015-08-04
Ronny AERTS
No

I have an html (http://www.grasoft.be) which I (as example) would like to convert to xml. The first lines of the html are:

<meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> And they are converted as: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta content="en-us" http-equiv="Content-Language"> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> <meta content="Microsoft FrontPage 4.0" name="GENERATOR"> The META tags are converted to uppercase which ok for me but they are not closed and this is not what I expected. Can you please indicate why these tags are nog closed? The conversion logs: [Warning] :-1:-1: No character encoding indicator at beginning of document. [Error] :4:27: Missing attribute name. [Error] :6:75: Missing attribute name. [Error] :67:32: Missing attribute name. [Error] :211:103: Missing attribute name. [Error] :212:17: Missing attribute name. [Error] :212:108: Missing attribute name. [Error] :213:16: Missing attribute name. [Error] :213:75: Missing attribute name. [Error] :359:71: Missing whitespace before attribute "defer". [Warning] :363:1: Element not closed properly. [Warning] :363:1: Element not closed properly. kind regards, Ronny Aerts
1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.