Commit 5b288376 authored by hyatt's avatar hyatt
Browse files

For now make text/xml files use HTML parsing/documents.

	This avoids the infinite loop we get into when loading
	text/xml.  If/when we finally support XML, we can undo
	this change.

        * khtml/khtml_part.cpp:
        (KHTMLPart::begin):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a40eb069
2002-11-12 David Hyatt <hyatt@apple.com>
For now make text/xml files use HTML parsing/documents.
This avoids the infinite loop we get into when loading
text/xml. If/when we finally support XML, we can undo
this change.
* khtml/khtml_part.cpp:
(KHTMLPart::begin):
2002-11-12 David Hyatt <hyatt@apple.com>
 
Fix for 3086321, stylesheets not loading if titles are
......
2002-11-12 David Hyatt <hyatt@apple.com>
For now make text/xml files use HTML parsing/documents.
This avoids the infinite loop we get into when loading
text/xml. If/when we finally support XML, we can undo
this change.
* khtml/khtml_part.cpp:
(KHTMLPart::begin):
2002-11-12 David Hyatt <hyatt@apple.com>
 
Fix for 3086321, stylesheets not loading if titles are
......
2002-11-12 David Hyatt <hyatt@apple.com>
For now make text/xml files use HTML parsing/documents.
This avoids the infinite loop we get into when loading
text/xml. If/when we finally support XML, we can undo
this change.
* khtml/khtml_part.cpp:
(KHTMLPart::begin):
2002-11-12 David Hyatt <hyatt@apple.com>
 
Fix for 3086321, stylesheets not loading if titles are
......
......@@ -1351,9 +1351,12 @@ void KHTMLPart::begin( const KURL &url, int xOffset, int yOffset )
#endif
// ### not sure if XHTML documents served as text/xml should use DocumentImpl or HTMLDocumentImpl
#ifndef APPLE_CHANGES
// We can't deal with XML yet, so just give it an HTML document for now. -dwh
if (args.serviceType == "text/xml")
d->m_doc = DOMImplementationImpl::instance()->createDocument( d->m_view );
else
#endif
d->m_doc = DOMImplementationImpl::instance()->createHTMLDocument( d->m_view );
d->m_doc->ref();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment