|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16716 WDDX's <dateTime> is ignored.
Submitted: 2002-04-20 17:11 UTC Modified: 2002-05-26 14:08 UTC
From: bs_php at infeer dot com Assigned:
Status: Closed Package: WDDX related
PHP Version: 4.1.2 OS: Win 2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bs_php at infeer dot com
New email:
PHP Version: OS:


 [2002-04-20 17:11 UTC] bs_php at infeer dot com
WDDX seams to be an unpopular standard and kind of dead. I had trouble finding 
usable docs about it. Is there a substitute? If so, is there PHP function for it?
I don't think that following has a high priority but it would be good if you at 
least could have a look at following <dataTime> problem. 

It's not mentioned which version of WDDX PHP is using, but the current implementation 
ignores some tags that have been in WDDX since V0.9 (1998). 
- PHP just ignore(!) the <dataTime>-tag. 
  Couldn't you at least transform it to a string instead of just dumping it?

- Also <recordset> is not supported. I get a funny result.

For a WDDX DTD V=0.9 (1998) See:

The PHP sample:

$wddx =<<<EOD
<wddxPacket version='0.9'>
      <var name='dateTime'>
      <var name='recSet'>
        <recordset rowCount='2' fieldNames='NAME,AGE'>
          <field name='NAME'>
           <string>John Doe</string>
           <string>Jane Doe</string>
          <field name='AGE'>

$des = wddx_deserialize($wddx);
echo "<pre>";
echo "</pre>";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-24 03:05 UTC] bs_php at infeer dot com
According to the change list of PHP 4.2 is sais:
"Added support for parsing recordsets contained in WDDX packets. (Andrei)"
 [2002-05-26 14:08 UTC]
Considered closed then. Please reopen if it does not work in PHp 4.2.1.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 22:01:32 2024 UTC