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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jblack at ieee dot org
New email:
PHP Version: OS:

 

 [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: Tue Apr 23 07:01:29 2024 UTC