domxml loses node attributes now?

From: Date: Wed, 14 Jun 2000 21:15:43 +0000
Subject: domxml loses node attributes now?
Groups: php.dev 
Request: Send a blank email to php-dev+get-21344@lists.php.net to get a copy of this message
I have just noticed that the attributes() method in the domxml support appears no longer to be working for me. Below I've included a diff of the output from running the CGI version of PHP 4 on tests/testdom, for the 4.0b5 and 4.0.0 versions. It worked under 4.0b5, but attributes are getting lost in 4.0.0. Does anyone else see this? I'd try it with the current CVS, but I'm having trouble getting it built. --- junk Wed Jun 14 16:03:19 2000 +++ junk2 Wed Jun 14 16:03:31 2000 @@ -1,35 +1,41 @@ -X-Powered-By: PHP/4.0b5-dev -Content-type: text/html; charset=iso-8859-1 - +X-Powered-By: PHP/4.0.0 +Content-type: text/html + Test 1: accessing single nodes from php XML Version: 1.0 -Standalone: +Standalone: 1 <!-- lsfj --> -<chapter language=en> - <title language=en> +<chapter> + <title>
     Title  </title>
- <para language=ge> + + <para> spanish
     <!-- comment -->
-    <informaltable language=spanishkkk>
-      <tgroup cols=3>
+    <informaltable>
+
+      <tgroup>
+
         <tbody>
+
           <row>
             <entry>
               a1            </entry>
-            <entry morerows=1>
+            <entry>
-- Paul DuBois, paul@snake.net

« previous php.dev (#21344) next »