Closed Bug 191664 Opened 22 years ago Closed 22 years ago

exported html bookmark file not well-formed xml document

Categories

(SeaMonkey :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 55057

People

(Reporter: sir_christopher, Assigned: bugs)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

When you export your bookmarks as an html file, most of the html markup tags do 
not have closing tags. For example, none of the <P> or <DT> tags have closing 
tags, and these tags appear throughout the document. As a result, it is 
impossible to process the bookmarks file as an xml file because all parsers 
will report that the document isn't well-formed. Since HTML is supposed to be a 
proper subset of XML, it makes sense that the HTML bookmarks conform to the XML 
requirement that all tags have a closing tag. 

Reproducible: Always

Steps to Reproduce:
1.Bookmarks > Manage Bookmarks > Export [files of type HTML]
2.Save file
3.View source for saved bookmarks file

Actual Results:  
The bookmarks.html file is not a well-formed xml document

Expected Results:  
The html file should instead be an xhtml file, where the P and DT tags have 
closing tags. Removes assumption that the applications using the file is 
tolerant of missing closing html tags.
No, because we use a Netscape 4 format for backwards compatibility. If you want
XML, it's bug 55057. If you want RDF (not XML-compliant either), it's bug 177886.

*** This bug has been marked as a duplicate of 55057 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.