Thread: unknown error

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 1999
    Posts
    9
    Rep Power
    0

    unknown error


    Hi,

    what does this error message mean? - end of xml processing instruction not found -
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15
    zoordaan,
    Can we that XML document?Please post that XML out here.then only we will be able to help you out.
    SR -
    webshiju.com
    www.lizratechnologies.com

    "The fear of the LORD is the beginning of knowledge..."
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 1999
    Posts
    9
    Rep Power
    0
    Hi, this is what I was told:

    i am working on
    php4.0
    redhat7.0
    apache1.3.12-25
    mysql 3.23.38
    i 've added the following code in httpd.conf

    AddType application/x-httpd-php .wml
    AddType text/vnd.wap.wml .wml


    then i saved a file with code of first example in the the default document
    root /var/www/html as test.wml
    :

    <?php
    header("Content-type: text/vnd.wap.wml");
    echo "<?xml version=\"1.0\"?>";
    echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
    . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
    ?>

    <wml>
    <card id="card1" title="Example 1">
    <p>
    <?php
    $the_date = date("M d Y");
    print $the_date;
    print "<br/>Welcome to a PHP-enabled site!";
    ?>
    </p>
    </card>
    </wml>


    the result was an error:
    end of xml processing instruction not found

    As far as I can determine there should be no problem because I can get the code to work on my site but he can't get it to work on his.

IMN logo majestic logo threadwatch logo seochat tools logo