Question

File Format Unknown

Asked by: st_steve

I'm very new to WAP.

I've tried to create a simple page and tried to access it using my WAP-capable phone. There are two files in the directory: index.wml and wml13.dtd Actually, I didn't create both files, I just copied it from a working site (BBC News).

When I access (modified) index.wml, my phone tells me "File Format Unknown".

If you need to see the contents of the two files, I can post them here. Can you tell me how I can fix up this error? Thanks


This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2003-11-18 at 18:03:43ID20802224
Tags

format

,

file

,

unknown

Topic

Wireless Application Protocol (WAP)

Participating Experts
2
Points
50
Comments
28

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. WAP service configuration (by SMS?) for NOKIA phones?
    Hello! I would like to ask what should be done in order to send a wap gateway information to NOKIA phone owner's settings via SMS or HTTP request... Regards, Dmitry.
  2. unknown device!
    I have 4 unknown devices appearing in the device manager in other devices section.One of them is a PCI Card (about which I really don't know) and the other three are unknown devices. Actually I know that it is very hard to help this kind of problem but at least you may ask me...
  3. Get a "file format unknown" on a WAP link??
    For you experts out there!! A simple questions for you to boost your points!! When trying to access my WAP site which I have just begun working on i keep getting "file format unknown" - is this a simple case of configuring the WEB server MIME types to display .wm...
  4. Getting my WAP page to work with Xitami on my Nokia phone.
    I have set up a WAP page on Xitami webserver running under Windows 98se. It seems to work on some emulators and phones but not all, it does not work on my 3530 which is the most important, I'm not sure as to what the problem is, I have added the mime types to Xitami but still...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: jimmackPosted on 2003-11-19 at 02:41:51ID: 9777543

Yes.  Please post index.wml

 

by: jimmackPosted on 2003-11-19 at 16:19:15ID: 9783737

You should also check that your web server supports the required MIME types.  (This isn't likely to be the cause of the problem because nearly all servers now have these MIME types set up):

wbmp  image/vnd.wap.wbmp
wml  text/vnd.wap.wml
wmlc  application/vnd.wap.wmlc
wmls  text/vnd.wap.wmlscript
wmlscriptc  application/vnd.wap.wmlscriptc

 

by: jimmackPosted on 2003-11-29 at 15:11:10ID: 9843738

Hi st_steve.  Come on, this is your only open question ;-)

Have you found the problem or do you still need help?

 

by: st_stevePosted on 2003-12-09 at 18:45:39ID: 9909308

Hi Jimmack

I apologise, profusely, for my very very late reply. I just got relocated to a new place and I've been tied up with everything. I'm without Internet access and I'll get my line connected tomorrow, so hopefully I'll be online again from home. I'll post the index.wml as soon as I get connected. I'm using the office computer now so I don't want to take too much time. Sorry for the delay again and thanks for your comments.

 

by: jimmackPosted on 2003-12-10 at 01:58:49ID: 9910986

;-)  I guess that it must be something like that.  Leaving questions open doesn't seem to be your style (from your question history) ;-)

 

by: st_stevePosted on 2003-12-10 at 13:29:20ID: 9915930

Yeah, sorry about that. I just changed jobs, moved to a new location, have to buy all the furnitures (and the rest) and just learning new things at work. So you can imagine I have been extremely busy for the past few weeks. I just got my phone line connected this morning so I'll post a message tonight and maybe you can help me out. Thanks for your patience.

 

by: st_stevePosted on 2003-12-11 at 00:33:42ID: 9918829

The contents of index.wml:

<?xml version="1.0"?>

<!-- OPENWAVE SECTION -->

<!DOCTYPE wml PUBLIC "-//SITHU.COM//DTD WML 1.3//EN" "http://home.iprimus.com.au/sithu/mobile/wml13.dtd">
<wml>

<template>

<do type="prev" name="back" label="Back"><prev/></do>

<do type="options" name="1" label="CV" optional="false">
<go href="/mobile/index.wml"/></do>

</template>

<card id="SiThu" title="CV">

<p><b>SiThu's Resume</b></p>
<p>
<p><b>Name: Si Thu</b></p>
<p><b>Sex: Male</b></p>
<p><b>DOB: 10/01/1978</b></p>
<p><b>Phone: 0413725469</b></p>
<p><b>Email: admin@sithu.com</b></p>

<p>

<p><b>Qualifications</b></p>
<p>
<p><b>BSc (Hons) Computer Science</b></p>
<p><b>Novell CNA</b></p>
<p><b>Microsoft MCP (NT4)</b></p>
<p><b>Microsoft MCSA (Win2k)</b></p>
<p><b>Cisco CCNA</b></p>

<p>

<p><b>http://sithu.com/CV.htm</b></p>

<a href="/mobile/bbc_news/top_stories/index.wml?">Top Stories</a><br/>

</p>


<p>-<br/>
<a href="/mobile/sources.wml?">Sources</a><br/>
</p>

<p><hr /></p>

<p>

<a href="/mobile/index.wml?">BBCi Home</a><br/>

</p>
</card>

</wml>



<!-- NOKIA SECTION -->



----------------------------------

The contents of wml13.dtd:

<!-- file: wml.dtd -->
<!--
     This is a superset of the WAP Forum WML 1.3
     
     Copyright Phone.com, Inc. 2000
             
       Permission to use and distribute this DTD without fee is hereby
       granted in perpetuity, provided that the above copyright notice and this
       paragraph appear in all copies.  The copyright holders make no
       representation about the suitability of the DTD for any purpose.

     IT IS PROVIDED "AS IS" WITHOUT EXPRESSED OR IMPLIED WARRANTY.

     Please use this formal public identifier to identify it:

         "-//PHONE.COM//DTD WML 1.3//EN"

     For example, if you are using WML directly, use
     the FPI in the DOCTYPE declaration:

         <?xml version="1.0"?>
         <!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.3//EN"
                  "http://www.phone.com/dtd/wml13.dtd" >
         <wml>
         ...
         </wml>
-->


<!ENTITY % length  "CDATA">    <!-- [0-9]+ for pixels or [0-9]+"%" for
                                    percentage length -->
<!ENTITY % vdata   "CDATA">    <!-- attribute value possibly containing
                                    variable references -->
<!ENTITY % HREF    "%vdata;">  <!-- URL or URN designating a hypertext
                                    node. May contain variable
                                    references -->
<!ENTITY % boolean "(true|false)">
<!ENTITY % number  "NMTOKEN">  <!-- a number, with format [0-9]+ -->
<!ENTITY % character "CDATA"> <!-- a single character from ISO10646 -->

<!ENTITY % coreattrs
"id      ID      #IMPLIED
class      CDATA      #IMPLIED">

<!ENTITY % ContentType "%vdata;">   <!-- media type. May contain variable
                                         references -->
       
<!ENTITY % emph    "em | strong | b | i | u | big | small">
<!ENTITY % layout  "br">

<!ENTITY % text     "#PCDATA | %emph; ">

<!-- flow covers "card-level" elements, such as text and images -->
<!ENTITY % flow     "%text; | %layout; | do | img | anchor | a | table | hr">

<!-- Task types -->
<!ENTITY % task   "go | prev | noop | refresh | spawn | exit | throw | async">

<!-- Navigation and event elements -->
<!ENTITY % navelmts     "do | onevent">
<!ENTITY % linktypes    "(next|channel)">

<!--================ Decks and Cards ================-->

<!ELEMENT wml ( head?, template?, card+ )>
<!ATTLIST wml
  xml:lang        NMTOKEN        #IMPLIED
  %coreattrs;
  >

<!-- card intrinsic events -->
<!ENTITY % cardev
 "onenterforward  %HREF;          #IMPLIED
  onenterbackward %HREF;          #IMPLIED
  ontimer         %HREF;          #IMPLIED"
  >

<!-- CARD field types -->
<!ENTITY % fields  "%flow; | input | select | fieldset">

<!ELEMENT card (onevent* , timer? , (do | p | pre)*)>
<!ATTLIST card
  title           %vdata;       #IMPLIED
  newcontext      %boolean;     "false"
  ordered            %boolean;        "true"
  xml:lang            NMTOKEN        #IMPLIED
  %cardev;
  %coreattrs;
  >

<!--================ Event Bindings ================-->

<!ELEMENT do ((%task;), img?)>
<!ATTLIST do
  type         CDATA       #REQUIRED
  label        %vdata;     #IMPLIED
  name         NMTOKEN     #IMPLIED
  optional     %boolean;   "false"
  xml:lang         NMTOKEN         #IMPLIED
  %coreattrs;
  >

<!ELEMENT onevent (%task;)>
<!ATTLIST onevent
  type         CDATA       #REQUIRED
  %coreattrs;
  >

<!--================ Deck-level declarations ================-->

<!ELEMENT head ( access | link | meta )+>
<!ATTLIST head
  %coreattrs;
  >

<!ELEMENT template (%navelmts;)*>
<!ATTLIST template
  %cardev;
  %coreattrs;
  >

<!ELEMENT access EMPTY>
<!ATTLIST access
  domain       CDATA       #IMPLIED
  path         CDATA       #IMPLIED
  %coreattrs;
  >

<!ELEMENT meta EMPTY>
<!ATTLIST meta
  http-equiv     CDATA      #IMPLIED
  name           CDATA      #IMPLIED
  forua                 %boolean;   "false"
  content        CDATA      #REQUIRED
  scheme         CDATA      #IMPLIED
  %coreattrs;
  >

<!--================ Tasks and Task-related ================-->

<!ENTITY % cache-control "(no-cache)" >

<!ELEMENT go (setvar | postfield | reset)*>
<!ATTLIST go
  href            %HREF;          #REQUIRED
  sendreferer     %boolean;       "false"
  method          (post|get)      "get"
  accept-charset  CDATA           #IMPLIED
  enctype         %ContentType;   "application/x-www-form-urlencoded"
  cache-control   %cache-control; #IMPLIED
  %coreattrs;
  >

<!ELEMENT prev (setvar | reset)*>
<!ATTLIST prev
  %coreattrs;
  >

<!ELEMENT refresh (setvar | reset)*>
<!ATTLIST refresh
  %coreattrs;
  >

<!ELEMENT noop EMPTY>
<!ATTLIST noop
  %coreattrs;
  >

<!ELEMENT spawn (setvar | postfield | catch | onevent | receive)*>
<!ATTLIST spawn
  href            %HREF;          #REQUIRED
  onexit          %HREF;          #IMPLIED
  sendreferer     %boolean;       "false"
  method          (post|get)      "get"
  accept-charset  CDATA           #IMPLIED
  enctype         %ContentType;   "application/x-www-form-urlencoded"
  cache-control   %cache-control; #IMPLIED
  %coreattrs;
  >

<!ELEMENT exit (send)*>
<!ATTLIST exit
  %coreattrs;
  >

<!ELEMENT throw (send)*>
<!ATTLIST throw
  name    CDATA   #REQUIRED
  %coreattrs;
  >

<!ELEMENT catch (receive | onevent | reset)*>
<!ATTLIST catch
  name    CDATA    #IMPLIED
  onthrow %HREF;   #IMPLIED
  %coreattrs;
  >

<!ELEMENT async (postfield | onevent)*>
<!ATTLIST async
  href             %HREF;          #REQUIRED
  sendreferer      %boolean;       "false"
  method          (post|get)       "get"
  accept-charset  CDATA            #IMPLIED
  enctype         %ContentType;    "application/x-www-form-urlencoded"
  cache-control   %cache-control;  #IMPLIED
  onexit          %HREF;           #IMPLIED
  priority        (high|low)       "low"
  %coreattrs;
  >

<!--================ Parameter Passing ================-->

<!ELEMENT send EMPTY>
<!ATTLIST send
  value             %vdata;             #IMPLIED
  %coreattrs;
  >

<!ELEMENT receive EMPTY>
<!ATTLIST receive
  name             NMTOKEN             #IMPLIED
  %coreattrs;
  >

<!--================ postfield ================-->

<!ELEMENT postfield EMPTY>
<!ATTLIST postfield
  name         %vdata;           #REQUIRED
  value        %vdata;           #REQUIRED
  %coreattrs;
  >

<!--================ Variable Manipulation ================-->

<!ELEMENT setvar EMPTY>
<!ATTLIST setvar
  name         %vdata;           #REQUIRED
  value        %vdata;           #REQUIRED
  %coreattrs;
  >

<!ELEMENT reset EMPTY>
<!ATTLIST reset
  %coreattrs;
  >

<!--================ Card Fields ================-->

<!ENTITY % selecttypes    "(list|spin|popup|radio)">

<!ELEMENT select (optgroup|option)*>
<!ATTLIST select
  type         %selecttypes;     #IMPLIED
  title        %vdata;           #IMPLIED
  name         NMTOKEN           #IMPLIED
  value        %vdata;           #IMPLIED
  iname        NMTOKEN           #IMPLIED
  ivalue       %vdata;           #IMPLIED
  multiple     %boolean;         "false"
  tabindex     %number;          #IMPLIED
  xml:lang     NMTOKEN           #IMPLIED
  %coreattrs;
  >

<!ELEMENT optgroup (optgroup|option)* >
<!ATTLIST optgroup
  title        %vdata;           #IMPLIED
  xml:lang     NMTOKEN           #IMPLIED
  %coreattrs;
  >

<!ELEMENT option (#PCDATA | img | onevent)*>
<!ATTLIST option
  value        %vdata;           #IMPLIED
  title        %vdata;           #IMPLIED
  onpick       %HREF;            #IMPLIED
  xml:lang     NMTOKEN           #IMPLIED
  %coreattrs;
  >

<!ELEMENT input EMPTY>
<!ATTLIST input
  name       NMTOKEN                    #REQUIRED
  type       (text|password|phonenum)   "text"
  value      %vdata;                    #IMPLIED
  format     CDATA                      #IMPLIED
  emptyok    %boolean;                  #IMPLIED
  size       %number;                   #IMPLIED
  maxlength  %number;                   #IMPLIED
  tabindex   %number;                   #IMPLIED
  title      %vdata;                    #IMPLIED
  accesskey  %vdata;                    #IMPLIED
  xml:lang   NMTOKEN                    #IMPLIED
  mode             (word)                                    #IMPLIED
  %coreattrs;
  >

<!ELEMENT fieldset (%fields;)* >
<!ATTLIST fieldset
  title           %vdata;      #IMPLIED
  xml:lang        NMTOKEN      #IMPLIED
  %coreattrs;
  >

<!ELEMENT timer EMPTY>
<!ATTLIST timer
  name        NMTOKEN           #IMPLIED
  value       %vdata;           #REQUIRED
  %coreattrs;
  >

<!--================ Images ================-->

<!ENTITY % IAlign "(top|middle|bottom)" >

<!ELEMENT img EMPTY>
<!ATTLIST img
  alt        %vdata;      #REQUIRED
  src        %HREF;       #REQUIRED
  localsrc   %vdata;      #IMPLIED
  vspace     %length;     "0"
  hspace     %length;     "0"
  align      %IAlign;     "bottom"
  height     %length;     #IMPLIED
  width      %length;     #IMPLIED
  xml:lang   NMTOKEN      #IMPLIED
  %coreattrs;
  >

<!--================ Anchor and Link ================-->

<!ELEMENT anchor ( #PCDATA | br | img | go | prev | refresh | spawn | exit | throw | async )*>
<!ATTLIST anchor
  title        %vdata;      #IMPLIED
  accesskey    %vdata;      #IMPLIED
  xml:lang     NMTOKEN      #IMPLIED
  %coreattrs;
  >

<!ELEMENT a ( #PCDATA | br | img)*>
<!ATTLIST a
  href         %HREF;       #REQUIRED
  title        %vdata;      #IMPLIED
  accesskey    %vdata;      #IMPLIED
  xml:lang     NMTOKEN      #IMPLIED
  %coreattrs;
  >

<!ELEMENT link EMPTY>
<!ATTLIST link
  href         %HREF;       #REQUIRED
  rel          %linktypes;  #REQUIRED
  sendreferer  %boolean;    "false"
  >

<!--================ Tables ================-->

<!ELEMENT table (tr)+>
<!ATTLIST table
  title       %vdata;       #IMPLIED
  align       CDATA         #IMPLIED
  columns     %number;       #REQUIRED
  xml:lang    NMTOKEN       #IMPLIED
  %coreattrs;
>

<!ELEMENT tr (td)+>
<!ATTLIST tr
  %coreattrs;
>

<!ELEMENT td ( %text; | %layout; | img | anchor | a )*>
<!ATTLIST td
  xml:lang NMTOKEN #IMPLIED
  %coreattrs;
>

<!--=================== Horizontal Rule ==================================-->

<!ELEMENT hr EMPTY>
<!ATTLIST hr
  %coreattrs;
  xml:lang    NMTOKEN       #IMPLIED
  size        %number;  #IMPLIED
  width       %length;  #IMPLIED
  >

<!--================ Text layout and line breaks ================-->
<!ELEMENT em (%flow;)*>
<!ATTLIST em
  xml:lang NMTOKEN #IMPLIED
  %coreattrs;
>

<!ELEMENT strong (%flow;)*>
<!ATTLIST strong
  xml:lang NMTOKEN #IMPLIED
  %coreattrs;
>

<!ELEMENT b (%flow;)*>
<!ATTLIST b
  xml:lang NMTOKEN #IMPLIED
  %coreattrs;
>

<!ELEMENT i (%flow;)*>
<!ATTLIST i
  xml:lang NMTOKEN #IMPLIED
  %coreattrs;
>

<!ELEMENT u (%flow;)*>
<!ATTLIST u
  xml:lang NMTOKEN #IMPLIED
  %coreattrs;
>

<!ELEMENT big (%flow;)*>
<!ATTLIST big
  xml:lang NMTOKEN #IMPLIED
  %coreattrs;
>

<!ELEMENT small (%flow;)*>
<!ATTLIST small
  xml:lang NMTOKEN #IMPLIED
  %coreattrs;
>

<!ENTITY % TAlign "(left|right|center)">
<!ENTITY % WrapMode "(wrap|nowrap)" >
<!ELEMENT p (%fields;)*>
<!ATTLIST p
  align       %TAlign;    "left"
  mode        %WrapMode;  #IMPLIED
  xml:lang    NMTOKEN     #IMPLIED
  %coreattrs;
>

<!ELEMENT br EMPTY>
<!ATTLIST br
  %coreattrs;
>

<!ELEMENT pre (#PCDATA | a | anchor | do | u | br | i | b | em | strong |
               input | select )*>
<!ATTLIST pre
  xml:space        CDATA       #FIXED    "preserve"
  %coreattrs;
>

<!ENTITY quot "&#34;">     <!-- quotation mark -->
<!ENTITY amp  "&#38;#38;"> <!-- ampersand -->
<!ENTITY apos "&#39;">     <!-- apostrophe -->
<!ENTITY lt   "&#38;#60;"> <!-- less than -->
<!ENTITY gt   "&#62;">     <!-- greater than -->
<!ENTITY nbsp "&#160;">    <!-- non-breaking space -->
<!ENTITY shy  "&#173;">    <!-- soft hyphen (discretionary hyphen) -->


--------------------------------

Does this help? Thanks for your comments.

I didn't create these two files by the way. wml13.dtd, I just downloaded from BBC website (using http instead of accessing it through WAP). Same as indx.wml, which I've changed a little to suit my needs (a simple resume was what I was planning to do). I wonder if the "little changes" I've made is the reason why it's giving out that error message on my mobile phone.

 

by: jimmackPosted on 2003-12-11 at 01:25:11ID: 9919022

;-)  I think I've got it.

WML is very picky about it's tags (like HTML should be, but isn't ;-))

For every <p> tag you need to have a </p>

My Nokia produces the same error message if I miss any </p>'s.

 

by: jimmackPosted on 2003-12-11 at 01:26:00ID: 9919025

Also, you probably don't need the DTD on your local system/server unless you edit that.

 

by: st_stevePosted on 2003-12-11 at 11:43:49ID: 9922705

Ok, thanks for that comment. I'll put </p> where I see a <p> and see if that works. Give me a few days to test. Thanks

 

by: st_stevePosted on 2003-12-12 at 20:37:37ID: 9932936

<?xml version="1.0"?>

<!-- OPENWAVE SECTION -->

<!DOCTYPE wml PUBLIC "-//SITHU.COM//DTD WML 1.3//EN" "http://home.iprimus.com.au/sithu/mobile/wml13.dtd">
<wml>

<template>

<do type="prev" name="back" label="Back"><prev/></do>

<do type="options" name="1" label="CV" optional="false">
<go href="/mobile/index.wml"/></do>

</template>

<card id="SiThu" title="CV">

<p><b>SiThu's Resume</b></p>
<p></p>
<p><b>Name: Si Thu</b></p>
<p><b>Sex: Male</b></p>
<p><b>DOB: 10/01/1978</b></p>
<p><b>Phone: 0413725469</b></p>
<p><b>Email: admin@sithu.com</b></p>

<p></p>

<p><b>Qualifications</b></p>
<p></p>
<p><b>BSc (Hons) Computer Science</b></p>
<p><b>Novell CNA</b></p>
<p><b>Microsoft MCP (NT4)</b></p>
<p><b>Microsoft MCSA (Win2k)</b></p>
<p><b>Cisco CCNA</b></p>

<p></p>

<p><b>Visit http://sithu.com/CV.htm</b></p>

</card>

</wml>

<!-- NOKIA SECTION -->

------------------

Same error!

This statement:
<do type="options" name="1" label="CV" optional="false">
<go href="/mobile/index.wml"/></do>

Do I need it? and also, do I need a </go>?

Thanks for your comments

 

by: jimmackPosted on 2003-12-13 at 16:24:46ID: 9935846

Well that last post seems to work OK.  Are you sure that your server is returning this as WML?  An easy way to check this is to try to open the file using your web browser.  If the server is working correctly, the browser should report that it doesn't recognise the content type of "text/wap.vnd.wml" and ask you where to save it.

Even if it does this (implying that the server is functioning correctly), it would be worth saving the file and checking the content.

 

by: st_stevePosted on 2003-12-13 at 17:59:08ID: 9936127

My browser "displays" the contents on screen (didn't ask me whether I want to open or save the file). So I can see the source code on the screen of Internet Explorer. Does this mean something's wrong?


---------------

everything is displayed is the same, except <P> was replaced by <P align=left>
this is what it displayed:

  <?xml version="1.0" ?>
- <!--  OPENWAVE SECTION
  -->
  <!DOCTYPE wml (View Source for full doctype...)>
- <wml>
- <template>
- <do type="prev" name="back" label="Back" optional="false">
  <prev />
  </do>
- <do type="options" name="1" label="CV" optional="false">
  <go href="/mobile/index.wml" sendreferer="false" method="get" enctype="application/x-www-form-urlencoded" />
  </do>
  </template>
- <card id="SiThu" title="CV" newcontext="false" ordered="true">
- <p align="left">
  <b>SiThu's Resume</b>
  </p>
  <p align="left" />
- <p align="left">
  <b>Name: Si Thu</b>
  </p>
- <p align="left">
  <b>Sex: Male</b>
  </p>
- <p align="left">
  <b>DOB: 10/01/1978</b>
  </p>
- <p align="left">
  <b>Phone: 0413725469</b>
  </p>
- <p align="left">
  <b>Email: admin@sithu.com</b>
  </p>
  <p align="left" />
- <p align="left">
  <b>Qualifications</b>
  </p>
  <p align="left" />
- <p align="left">
  <b>BSc (Hons) Computer Science</b>
  </p>
- <p align="left">
  <b>Novell CNA</b>
  </p>
- <p align="left">
  <b>Microsoft MCP (NT4)</b>
  </p>
- <p align="left">
  <b>Microsoft MCSA (Win2k)</b>
  </p>
- <p align="left">
  <b>Cisco CCNA</b>
  </p>
  <p align="left" />
- <p align="left">
  <b>Visit http://sithu.com/CV.htm</b>
  </p>
  </card>
  </wml>
- <!--  NOKIA SECTION
  -->

 

by: jimmackPosted on 2003-12-14 at 02:47:15ID: 9937104

I believe this means that IE is interpretting the document from it's content (the first line is <?xml ...) instead of the content type.  This would mean that the server is not returning the document as "text/vnd.wap.wml" and this would, in turn, explain why the phone isn't recognising the document.

See the second comment I posted about MIME types in the server.

Which server are you using?  Do you have administrative control of it?

 

by: st_stevePosted on 2003-12-14 at 10:59:05ID: 9938087

Maybe that's the problem, the server not returning the document as wml and returning as html or something. I don't have admin control over it. Anything I can do to make this work on the current server? or is there something (or a server) I can upload to, so that this document can be displayed on mobile phones?

 

by: jimmackPosted on 2003-12-14 at 14:52:10ID: 9938806

Well the MIME types I listed are included in most (if not all) modern server distributions.  If they're missing, you should probably have a word with the server adminstrator and request that they add these MIME types.  It is easy to do (should only take a couple of minutes for a competent admin).

I'd start by sending an e-mail to your ISP or system adminstrator asking them to include the WAP MIME types (include the list if you like) with a brief explanation that you need this facility.  If it's a problem with your ISP and they refuse to change it, I'd recommend either:  move to another ISP or (if possible) run your own server (Apache will do the trick nicely or Tomcat if you want to get into dynamic WML construction and Java ;-)).

Please post again when you get a reponse from the server admin and we'll figure out where to go from there.

 

by: st_stevePosted on 2003-12-14 at 15:55:12ID: 9939009

Ok, thanks, contact ISP sys admin and see what they can do for me. I'll also give them a link to this question so that they know what I'm on about.

Give me a few days

 

by: jimmackPosted on 2003-12-14 at 15:58:02ID: 9939019

;-)

 

by: st_stevePosted on 2003-12-16 at 16:19:56ID: 9953450

Wrote an email to ISP tech support, waiting for reply.

Do you know of any free servers that I can upload this file so that we can test this document? I just need to use the server as a trial for a few days, and once we know that it's the server-side problem, we can get the ISP to add in the MIME types

 

by: st_stevePosted on 2003-12-17 at 15:58:12ID: 9960754

still waiting for reply from ISP.....

 

by: jimmackPosted on 2003-12-17 at 16:02:44ID: 9960772

I'm not sure about 3rd party servers.  There may be some around, but you'd probably need to use google to find them.

 

by: st_stevePosted on 2003-12-18 at 14:22:28ID: 9967967

reply from my beloved ISP, so that's that then! Any free WAP servers?

------------------------

Thanks for the Email,
 
Our Personal web space does not support WAP for our Residential accounts, you may want to have a look at our Corporate accounts for this service.
 
Regards,
James Falcon
1300 85 11 85 - Option 1, Option 4

---

All email correspondence is provided under clause 8.5 of the "iPrimus Standard Agreement for Internet Services".

-----Original Message-----
Sent: Tuesday, 16 December 2003 18:44
To: iPrimus Technical Support
Subject: WAP MIME Types


FromName............Si Thu
User............
State............
Date............15/12/2003
Time............11:17:05 AM
Problem............Configuration Question
Summary............WAP

Message Below :
I have a current account with iPrimus and recently I have uploaded a
document written in WML (to be accessible from mobile phones using WAP).
Apparently, the webserver is not interpreting this document correctly and
it is returning as HTML documents and the mobile phones are
unable to view this _document_._

I would like you to add the following MIME types to the web server, if possible:

wbmp  image/vnd.wap.wbmp
wml  text/vnd.wap.wml
wmlc  application/vnd.wap.wmlc
wmls  text/vnd.wap.wmlscript
wmlscriptc  application/vnd.wap.wmlscriptc

Please refer to the following web-link:
http://www.experts-exchange.com/Programming/Wireless_Programming/WAP/Q_20802224.html


Thanks

 

by: jimmackPosted on 2003-12-18 at 14:55:54ID: 9968212

There are some "free" ones listed on:

http://www.2thumbswap.com/developer/index3.htm

Another possibility:

http://tagtag.com/site/index.php3

I've put "free" in inverted commas because I haven't looked into any of them in any detail, but I suspect there may be some catches (eg. advertising or limited service or something).  Make sure to read the small print ;-)

 

by: st_stevePosted on 2003-12-18 at 21:42:00ID: 9970132

Been looking at those free servers, I'll let you know. I haven't been able to sign up for a free account just yet. Will do so over the weekend.

 

by: st_stevePosted on 2003-12-23 at 19:43:07ID: 9995042

I haven't been able to sign up for a free account with a WAP server, and also I haven't got a chance to test the new index.wml file. I don't want to leave this question open for too long, but if you can possibly keep monitoring this question, that'd be good. Thanks for your help and comments.

 

by: st_stevePosted on 2003-12-23 at 19:44:07ID: 9995046

Consider those 200 points, my Christmas gift to you :) Have a good one. See you next year.

 

by: jimmackPosted on 2003-12-24 at 02:23:20ID: 9995930

;-)  Have a good Christmas :-)

 

by: pagelinkPosted on 2004-02-02 at 00:56:10ID: 10251093

Hi All:

Try geocities.com  and it's free.
They support wml and midi MIME.
Just make a simple wml file and test it. It works for me anyway.

Good Luck !

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...