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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
18 - 6 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 16:01:27 2024 UTC