[Webkit-unassigned] [Bug 38005] New: [Qt] Unable to accept mime application/xml or text/html
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 22 13:48:19 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38005
Summary: [Qt] Unable to accept mime application/xml or
text/html
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: xzekecomax at gmail.com
I'm trying to render an xml file in QWebView. But it ignores it and renders
errors about.
QByteArray xml =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<?xml-stylesheet type=\"text/xslt\" href=\"default.xsl\">"
"<car></car>";
_q->setContent(xml, QLatin1String("text/xml"));
gives me this with qDebug()
"<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<parsererror style="display: block; white-space: pre; border: 2px solid
#c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">
<h3>This page contains the following errors:</h3>
<div style="font-family:monospace;font-size:12px">error on line 1
at column 102: Premature end of document.</div>
<h3>Below is a rendering of the page up to the first
error.</h3></parsererror><log begin="15:38:37" source=""/>
</body>
</html>"
Which I do not know why it's trying to make it use xhtml when I'm trying to use
XML ONLY.
Does QtWebKit just dislike xml and xhtml?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list