yuck. I think there should be a register_ns function available. That
way you do not need to reregister every xpath call.
Shane
Adam Maccabee Trachtenberg wrote:
On Sat, 17 Jan 2004, Sterling Hughes wrote:
How about we provide an array of aliases to the xpath() function? This
will avoid nasty
On Sat, 17 Jan 2004, Sterling Hughes wrote:
> How about we provide an array of aliases to the xpath() function? This
> will avoid nasty refcounting as well.
xpath('/foo:bar', array('foo' => 'http://www.example.org/foo'));
Sounds good.
-adam
--
[EMAIL PROTECTED]
author of o'reilly's php cookb
> On Sat, 17 Jan 2004, Sterling Hughes wrote:
>
> > namespace accesses are now soley URI based as opposed to prefix based.
>
> Sterling --
>
> This patch breaks xpath() because you can no longer access nodes in a
> default namespace. You *need* to register a prefix for them or XPath
> thinks y
On Sat, 17 Jan 2004, Sterling Hughes wrote:
> namespace accesses are now soley URI based as opposed to prefix based.
Sterling --
This patch breaks xpath() because you can no longer access nodes in a
default namespace. You *need* to register a prefix for them or XPath
thinks you're searching fo
sterlingSat Jan 17 16:47:44 2004 EDT
Modified files:
/php-src/ext/simplexml/testsprofile08.phpt profile11.phpt
Log:
update the tests proper-like
Index: php-src/ext/simplexml/tests/profile08.phpt
diff -u php-src/ext/simplexml/tests/profile08.ph
sterlingSat Jan 17 16:44:23 2004 EDT
Modified files:
/php-src/ext/simplexml/examples security.php xpath.php
Log:
update the examples
Index: php-src/ext/simplexml/examples/security.php
diff -u php-src/ext/simplexml/examples/security.php:1.4
php-sr
sterlingSat Jan 17 16:22:27 2004 EDT
Modified files:
/php-src/ext/simplexml php_simplexml.h simplexml.c
/php-src/ext/simplexml/testsprofile04.phpt profile05.phpt
profile06.phpt profile07.phpt
jon Sat Jan 17 16:03:26 2004 EDT
Modified files:
/php-src/ext/sqlite Makefile.frag
Log:
Make the compilation of vdbeaux.c dependent on the generation of sqlite.h.
An incremental 'make -j' build will now complete successfully.
Index: php-src/ext/sqlite/M
andrey Sat Jan 17 15:28:09 2004 EDT
Modified files:
/php-srcREADME.PHP4-TO-PHP5-THIN-CHANGES
Log:
use Rasmus' words
Index: php-src/README.PHP4-TO-PHP5-THIN-CHANGES
diff -u php-src/README.PHP4-TO-PHP5-THIN-CHANGES:1.10
php-src/README.PHP4-TO-PHP5-THIN-CH
derick Sat Jan 17 15:20:19 2004 EDT
Modified files:
/php-src/ext/simplexml README
Log:
- Fix typoes
Index: php-src/ext/simplexml/README
diff -u php-src/ext/simplexml/README:1.3 php-src/ext/simplexml/README:1.4
--- php-src/ext/simplexml/README:1.3Sat
jon Sat Jan 17 15:02:02 2004 EDT
Modified files:
/php-src/ext/simplexml README
Log:
Spell 'element' correctly.
Index: php-src/ext/simplexml/README
diff -u php-src/ext/simplexml/README:1.2 php-src/ext/simplexml/README:1.3
--- php-src/ext/simplexml/REA
andrey Sat Jan 17 14:45:26 2004 EDT
Modified files:
/php-srcREADME.PHP4-TO-PHP5-THIN-CHANGES
Log:
adding info about $argc and $argv in CLI mode
Index: php-src/README.PHP4-TO-PHP5-THIN-CHANGES
diff -u php-src/README.PHP4-TO-PHP5-THIN-CHANGES:1.9
php-src/
helly Sat Jan 17 14:41:33 2004 EDT
Added files:
/php-src/ext/simplexml/tests019.phpt
Removed files:
/php-src/ext/simplexml/testsbug25756.phpt
Modified files:
/php-src/ext/simplexml CREDITS README php
andrey Sat Jan 17 14:14:47 2004 EDT
Modified files:
/php-srcREADME.PHP4-TO-PHP5-THIN-CHANGES
Log:
Clarification about phpDoc comments. Spotted by Greag Beaver.
Index: php-src/README.PHP4-TO-PHP5-THIN-CHANGES
diff -u php-src/README.PHP4-TO-PHP5-THIN-CHANG
helly Sat Jan 17 13:04:06 2004 EDT
Modified files:
/php-src/ext/sqlite sqlite.c
Log:
No longer needed
# Found by Andrey
Index: php-src/ext/sqlite/sqlite.c
diff -u php-src/ext/sqlite/sqlite.c:1.114 php-src/ext/sqlite/sqlite.c:1.115
--- php-src/ext/sqlite/s
andrey Sat Jan 17 12:44:28 2004 EDT
Modified files:
/php-src/ext/xmlxml.c
/php-src/ext/tokenizer tokenizer.c
Log:
HEAD is bundled with ZE2
Index: php-src/ext/xml/xml.c
diff -u php-src/ext/xml/xml.c:1.146 php-src/ext/xml/xml.c:1.147
--- php-src/
helly Sat Jan 17 12:34:22 2004 EDT
Removed files:
/php-src/ext/simplexml/tests005.xml 006.xml 009.xml
Log:
Drop the external xml files no longer needed
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
helly Sat Jan 17 12:33:12 2004 EDT
Modified files:
/php-src/ext/simplexml/tests006.phpt 005.phpt 009.phpt
Log:
No external xml files
Index: php-src/ext/simplexml/tests/006.phpt
diff -u php-src/ext/simplexml/tests/006.phpt:1.2
php-src/ext/simplexml/
andrey Sat Jan 17 12:33:12 2004 EDT
Modified files:
/php-src/ext/standard array.c user_filters.c
Log:
HEAD is now bundled only with ZE2
Index: php-src/ext/standard/array.c
diff -u php-src/ext/standard/array.c:1.255 php-src/ext/standard/array.c:1.256
--
helly Sat Jan 17 12:24:58 2004 EDT
Removed files:
/php-src/ext/simplexml/tests004.xml
Modified files:
/php-src/ext/simplexml/tests004.phpt
Log:
Don't use external xml files
Index: php-src/ext/simplexml/tests/004.phpt
d
sterlingSat Jan 17 11:39:52 2004 EDT
Modified files:
/php-src/ext/simplexml/testsprofile06.phpt profile07.phpt
profile10.phpt
Log:
remove the parser errors here, so they accurately reflect what should happen.
helly Sat Jan 17 11:36:05 2004 EDT
Modified files:
/php-src/ext/simplexml simplexml.c
Log:
Fix parameter list and protos
Index: php-src/ext/simplexml/simplexml.c
diff -u php-src/ext/simplexml/simplexml.c:1.108 php-src/ext/simplexml/simplexml.c:1.109
--- p
helly Sat Jan 17 10:57:06 2004 EDT
Modified files:
/php-src/ext/simplexml/tests010.phpt
Log:
Add test for inherited simplexml classes
Index: php-src/ext/simplexml/tests/010.phpt
diff -u /dev/null php-src/ext/simplexml/tests/010.phpt:1.3
--- /dev/null
helly Sat Jan 17 10:56:30 2004 EDT
Modified files:
/php-src/ext/simplexml simplexml.c
Log:
Make inherited sxe classes work
Index: php-src/ext/simplexml/simplexml.c
diff -u php-src/ext/simplexml/simplexml.c:1.107 php-src/ext/simplexml/simplexml.c:1.108
---
derick Sat Jan 17 05:50:05 2004 EDT
Modified files:
/CVSROOTloginfo
Log:
- Switch order back due to "first match wins"
Index: CVSROOT/loginfo
diff -u CVSROOT/loginfo:1.103 CVSROOT/loginfo:1.104
--- CVSROOT/loginfo:1.103 Sun Jan 11 05:21:06 2004
+++
ttoohey Sat Jan 17 04:19:16 2004 EDT
Modified files:
/php-src/ext/gd/libgd gd.c
Log:
(gdImageSetPixel) Tidied 'normal' blending effect
# libgd-2.0.12 fixed the problem with alpha-blending on semi-transparent backgrounds
so
# gdFullAlphaBlend() and friend
26 matches
Mail list logo