×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    XHTML Testing in a browser

    Hi,
    I am new to WAP development. I have develped couple of xhtml files in Nokia mobile internet toolkit. When I test the same in Nokia Mobile Simulator, it works fine but when I try to use browser for testing, it does not work. I have added MIME type in my IIS as application/vnd.wap.xhtml+xml

    Is there any other setting to be done? I am using Firefox browser.

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    5

    Re: XHTML Testing in a browser

    Its rather simple. In order for the page in the PC browser the MIME type should be text/xhtml. I would not use application/vnd.wap.xhtml+xml for mobile browsers eather, not at least until the server checks if the browser accepts it.

    You can read all about it here.

    http://forum.nokia.com/info/sw.nokia..._1_en.pdf.html
    The support for WAP 2.0 introduces a few new MIME types for mobile content development. The preferred MIME type for XHTML content is "application/xhtml+xml," which should be used for serving XHTML documents to XHTML user agents. Another OMA-specified MIME type for XHTML MP content is “application/vnd.wap.xhtml+xml,” but it should be noted that it may not be supported by all WAP 2.0-compliant browsers. The MIME type “text/html” is also available but, for XHTML, use of this type should be reserved for the purpose of rendering on existing HTML user agents.

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    24

    Re: XHTML Testing in a browser

    u just remove the mime type and start simply with html and save with an extension html or htm. it works.

Similar Threads

  1. XHTML crashes browser
    By renditor in forum Browsing and Mark-ups
    Replies: 5
    Last Post: 2006-01-10, 03:45
  2. which Mobile Browser Simulater can show Chinese (xhtml)
    By hukaiming in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-12-03, 03:50
  3. Browser Emulator - xhtml rendered as text
    By papasosa in forum Browsing and Mark-ups
    Replies: 2
    Last Post: 2004-05-11, 16:38
  4. Testing XHTML w/ N6600 via Bluetooth?
    By canne in forum Browsing and Mark-ups
    Replies: 4
    Last Post: 2004-01-21, 09:03
  5. XHTML support in 7650 browser
    By anantakinchan in forum Symbian
    Replies: 0
    Last Post: 2003-07-22, 07:27

Posting Permissions

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