Date: 04/27/99
- Next message: bug <email protected>: "[PHP-DEV] Bug #1355: Extra configuration options, that makes gcc fail"
- Previous message: Bug Database: "[PHP-DEV] Bug #1353 Updated: AIX already has a #define for hz"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: jesusmc <email protected>
Operating system: Solaris 2.5.1
PHP version: 3.0.7
PHP Bug Type: Other
Bug description: XML parser does not undersat attributes
The examples in the XML page do not work. The calls to startElement will give errors if there are attributes in the element tag. Also it does not understand the <?xml version="1.0" ?> declaration. I am using expat 1.0.2 (latest one), and the xmlwf program passes all the xml file in the examples, but once it is compiled in PHP, the XML parser breaks.
If I pass and XML file w/ tags devoid of attributes, it works. The XML files in the examples also display OK in the (Windows only) "XML Notepad" from MS.
I use the following commands during configuration:
% setenv CPPFLAGS -I/asd/metallo1/database/expat
% setenv LDFLAGS -L/asd/metallo1/database/expat
% ./configure --prefix=/home/jesusmc/devel/php3 --with-gd=/asd/metallo1/database/gd1.3 --with-xml --with-msql=/home/jesusmc/devel/msql --with-config-file-path=/homes/jesusmc/devel/php3 --enable-track-vars --enable-magic-quotes --with-apache=/home/jesusmc/sources/new-server/apache_1.3.6
Have not dig into the source to see what the problem could be. AFAIK this problem is not that the parser sends garbage in the attributes, it just stops and displays: (this is from running the second xml parsing example in the manual page, file xmltest.xml minus the xml, DOCTYPE declarations, and w/o entities)
<CHAPTER>
<TITLE>Title</TITLE>
<PARA>
<INFORMALTABLE>
XML error: not well-formed at line 2
which corresponds to the attribute in the element <tgroup>
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: bug <email protected>: "[PHP-DEV] Bug #1355: Extra configuration options, that makes gcc fail"
- Previous message: Bug Database: "[PHP-DEV] Bug #1353 Updated: AIX already has a #define for hz"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

