From: Andris S. <li...@ap...> - 2001-08-21 20:12:20
|
Hello, Currently the logic to handle no-name keys is the following: the tree parser keeps a list (array) of keys in the current level of tree, if it founds that there are keys with the same name, it simply enables no-name mode, that is, it does not include array name (key) in the PHP array definition. It might not be the best idea, but at least it works and we don't have to change anything nor in page nor in bcp.xml definitions. I'm not the biggest makefile specialist as I have had only an about week to learn about them, but... have you tried to remove the first line of xml2php.php? I guess I sent the windows version of it, together with "#!c:/php/php.exe -q" at the beginning of the file... If you still want to blame the makefiles, check only the one in /user because the one in /user/htdocs needs to be changed only to remove index.php (there is the new index.xml.php) from the list of copied files. I'm including the latest version of xmlutils library, if there are people who would like to test it, the results would be warmly welcomed (:>). Note that Unix users should remove the first line of xml2php.php ! Andris Spruds Offtopic: I'm having problems with CVS server, whats the password of anonymous user? Or (even better) can I have write access to it once the xml2php is tested and working? |