You Are Here:

Community: Developer Discussion Boards

#1 Old Problems with XML declaration - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 7
hustlerduck
Offline
Registered User
The Nokia simulator accept my script, but when I try to view it in Internet Explorer it won't work. I get an error report on the first question-mark in: <?xml version="1.0"?> - why is that? In the toolkit this questionmark is blue, while the last one is black??
Reply With Quote

#2 Old RE: Problems with XML declaration - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 67
Location: Tampere, Finland
mikaaho
Offline
Regular Contributor
Hey,

Can you be more specific? Do you get any error message when you try to validate the code with NMIT? Which version of IE you are using? How are you loading the files into IE (locally, from server)? Have you configured your server (if you have any) to support XHTML MIME type?

Your declaration looks fine and the question mark colors are indeed different in the Toolkit.

Try following code (test.xhtml):

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd" >

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test</title>
</head>
<body>
<p>
Hello world!
</p>
</body>
</html>

Best Regards,
Mika / Forum Nokia Developer Support
Reply With Quote

#3 Old RE: Problems with XML declaration - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 7
hustlerduck
Offline
Registered User
Thanks Mika!

The unicode tip didn't work, but Opera did show a working result. Maybe it's just my IE thats the problem?

Anyway - Thank you very much for the help!

Mikkel
Reply With Quote

#4 Old RE: Problems with XML declaration - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 202
toolkitteam
Offline
Regular Contributor
Regarding the warnings generated by Toolkit editor about the DTD, they do not pertain to anything in your XHTML code but to some redefinitions in the DTD definition - generated by the parser used by the editor. So you can safely ignore these, since you are using a standard DTD. If you are annoyed by these warnings, you could turn them off by the Options->ShowWarnings setting in the editor window.

Vishu Vaidyanathan
Toolkit team
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia