There is a error(Error :-993)when I start parser the XML file's <body> by the CParser.
There is a error(Error :-993)when I start parser the XML file's <body> by the CParser.
Mismatch in XML tag cause Error -993. check more error code here.
http://www.newlc.com/Symbian-OS-Error-Codes.html
thank you for your replay, but i want to know why happen it.
Hi,
As the error says "EXmlTagMismatch", So look into the code might be you are missing something.
if you try some google you will get lots of example
Use Qt-Quick to make your application UI more attractive.
http://store.ovi.com/content/271896 | http://store.ovi.com/content/276199 | http://store.ovi.com/content/276202 | http://store.ovi.com/content/280827
yes~ thnak you very but the problem is not resolved
my xml file like this :
--------------------------------------------------------------------------------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="Thomson J. Arthur, ebooks, ebook, books, book, free, online, audio">
<meta name="description" content="Download the free eBook: The Outline of Science, Vol. 1 (of 4) by J. Arthur Thomson">
<meta name="classification" content="public">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="/css/pg-002.css"> <link rel="shortcut icon" href="/favicon.ico">
<title>The Outline of Science, Vol. 1 (of 4) by J. Arthur Thomson - Project Gutenberg</title>
</head>
<body class="IEhack">
<div class="menubar">
<div id="logo" class="logo">
<a tabindex="1" href="/wiki/Main_Page"
title="Go to Main Page"></a>
........
-----------------------------------------------------------------------------------------------------------------------------------------------------
it is work between the <head> and </head>. But when i parser the <body> tab and the parser fail(Erroe:-993). I don't know why. Does parser <head> work put into the OnStartElementL()?
There are nothing to do in the OnStartDocumentL(), OnEndDocumentL(), OnEndElementL() in my code.
Where is closing body tag </body> ???
Then check if any closing tag (including </body>) is missing.
A generic XML parser does not have to be aware of what it actually parses. While a HTML parser has to be aware of HTML itself.
You can probably extract the HTML parser from WebKit (http://webkit.org), that is the base of the built-in browser too.