php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5785 problem with xml files
Submitted: 2000-07-25 21:44 UTC Modified: 2000-07-25 21:49 UTC
From: jblack at ieee dot org Assigned:
Status: Closed Package: Other
PHP Version: 4.0.1 OS: Solaris 8
Private report: No CVE-ID: None
 [2000-07-25 21:44 UTC] jblack at ieee dot org
  I am using Apache/1.3.12 and when I tried to view this file I got an error on line 1.  The file is overview.xml.  I made a modification so that all xml files would be parsed by the php engine, and that is when I got the error.
  I am trying to incorporate php in xml files that will be used on the web, as a replacement for html/xhtml, and ran into a problem.
  Thanx for any help.

<?xml version="1.0" ?>
<?xml-stylesheet type="text/css" href="http://alina.acomp.usf.edu/web/web.css"?>
<opinion xmlns:html="http://www.w3.org/TR/REC-html40" >
Some text goes here, and below is a little test php program.
<?php
  printf ("<P>For any comments just direct them to <A HREF=http://alina.acomp.usf.edu/work/do_feedback.php>jblack@ieee.org</A></P>\n");
?>
</opinion>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-25 21:49 UTC] rasmus@php.net
Turn off short_tags in your php.ini file.
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Feb 05 05:05:50 2023 UTC