Marcus Boerger
b1154bd4f7
- Add new test
2006-05-23 21:56:36 +00:00
Marcus Boerger
c3b47f5aa4
- Fix properties access to children() result
...
- Allow access by namespace prefix
2006-04-14 15:15:21 +00:00
Marcus Boerger
d1b5f0deaa
- Do not provide ns info in first sxe creation
2006-04-14 14:11:54 +00:00
Marcus Boerger
311a7af62d
- Allow access to namespaced root by specifying prefix on creation
...
- Fix access to non namespaced root
2006-04-14 14:07:51 +00:00
Dmitry Stogov
daca456e1a
Fixed test
2006-03-27 13:53:19 +00:00
Antony Dovgal
d4cdad2c2e
add new tests
2006-03-24 12:08:19 +00:00
Rob Richards
032edbfb92
implement addChild() and addAttribute() methods
...
add test
2006-03-06 20:16:03 +00:00
Antony Dovgal
7df141811e
add test
2006-03-05 16:12:54 +00:00
Rob Richards
6c2c57e2bd
fix crash passing non-string member to sxe_prop_dim_exists
...
allow offsets to be used when calling isset/unset
fix tests
add test
2006-03-05 14:01:13 +00:00
Marcus Boerger
10a5901abf
- Fix count/foreach interaction
2006-02-27 13:32:25 +00:00
Marcus Boerger
3dd6bb16aa
- Fix test
2006-02-26 16:40:01 +00:00
Marcus Boerger
1dd351d649
- Use get_property_ptr_ptr handler to prevent SEGV as in bug #35785
...
# Issue not completley solved though
2006-02-26 15:48:28 +00:00
Marcus Boerger
24d83ebd0f
- Add another write case
2006-02-26 13:37:54 +00:00
Marcus Boerger
d1f3c48041
- Added ability to add elements by index if such elements already exist
...
- Added SimpleXMLElement::getName() to access the node name
# This allows to retrieve the name of the root element which is otherwise
# only available by converting the sxe object into a dom object.
2006-02-25 23:41:06 +00:00
Dmitry Stogov
227295a4f1
Unicode stuff is changed according to decision maden on PDM.
...
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Marcus Boerger
1edb0395ab
- Fixed Bug #35785 (SimpleXML memory read error)
2005-12-23 20:31:39 +00:00
Marcus Boerger
69ae0635f4
- Add new test
2005-12-23 20:26:22 +00:00
Antony Dovgal
632e571642
MFB: add missing skipif conditions, fix existing ones
...
add one missing test
2005-12-21 11:43:24 +00:00
Dmitry Stogov
8010c59c88
Unicode support
2005-12-07 16:52:13 +00:00
Marcus Boerger
a71b5970d5
- Fix tests
2005-11-30 08:14:49 +00:00
Marcus Boerger
2bb59717c7
- Allow test to be used w/o run-tests.php
2005-11-29 02:41:54 +00:00
Marcus Boerger
ba03c4fcc3
- Synch test name
2005-11-24 20:27:27 +00:00
Rob Richards
8de7ff8c91
optimize sxe_add_registered_namespaces
...
add only first encountered prefixes to namespace arrays
update test
2005-11-01 23:21:29 +00:00
Marcus Boerger
78456eb9a2
- Test no namespace case, too
2005-11-01 11:55:13 +00:00
Marcus Boerger
9956744821
- Handle default namespaces
...
# Another time it shows xml is far from being simple
2005-11-01 11:53:14 +00:00
Marcus Boerger
6b4a4afe8c
- Implement count interface
2005-10-31 20:06:28 +00:00
Marcus Boerger
2aadbbfca6
- Add functions to check for registered/in use namespaces
2005-10-31 19:09:13 +00:00
Marcus Boerger
a415bcc5d9
- Bugfix #35028 XML object fails FALSE test
2005-10-30 20:37:22 +00:00
Marcus Boerger
82aa412cf8
- Fix unicode expectations
2005-10-30 14:00:45 +00:00
Marcus Boerger
e1ce1262ce
- Add new test
2005-10-30 13:01:01 +00:00
Marcus Boerger
b4762f13f1
- Change var_dump to include all that is reachable, incl. @attributes
...
- Adapt tests and add new one
2005-10-29 16:12:57 +00:00
Marcus Boerger
f7459bad30
- Fix issue with entities in attributes
2005-10-23 23:41:20 +00:00
Marcus Boerger
d78da85370
- Add new test
2005-10-23 23:25:46 +00:00
Dmitry Stogov
9fc1de0181
Fixed test file
2005-09-19 06:11:12 +00:00
Derick Rethans
0f391bb0b3
- Add E_RECOVERABLE.
...
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
Dmitry Stogov
3509630024
trim() should accept objects with __toString() method
2005-08-17 11:36:32 +00:00
Dmitry Stogov
d0944d74f4
Unicode support
2005-08-16 15:09:51 +00:00
Dmitry Stogov
08fe0d1da3
Test engine is improved to support unicode mode
2005-08-15 14:37:55 +00:00
Marcus Boerger
8de753f09e
- Add tests
2005-02-27 23:15:52 +00:00
Marcus Boerger
b6321d4e8a
Fix class names
2004-03-29 19:58:01 +00:00
George Schlossnagle
8b2a760004
added test for property_exists checks.
2004-03-24 15:20:32 +00:00
Marcus Boerger
decc3fc6e6
Add new test
2004-03-14 15:33:15 +00:00
Rob Richards
5731108c55
Fix test
2004-02-11 13:00:19 +00:00
Rob Richards
6e4a4e8a9a
Fix compiler warnings
...
Update tests
2004-02-11 12:19:26 +00:00
Marcus Boerger
dfad2955ee
Update tests
2004-02-03 22:07:29 +00:00
Marcus Boerger
95c15b024a
Add new test
2004-01-22 21:55:09 +00:00
Marcus Boerger
66ed0a49fa
Update tests
2004-01-22 21:47:54 +00:00
Rob Richards
a4c2f31751
Fix namespace regression bug
...
Read attributes correctly
Update sxe_prop_dim_exists logic
Update profile
2004-01-21 14:04:47 +00:00
Rob Richards
500fa86c1b
Fix Bug #26976 (Can not access array elements using array indices)
...
return index 0 as non iterable object
update test
2004-01-21 11:32:30 +00:00
foobar
21d5052f70
typo fix
2004-01-21 03:18:13 +00:00
foobar
4716c724d2
test for bug #26976
2004-01-21 03:17:07 +00:00
Marcus Boerger
bb678c07b5
Use external files only in 001.phpt & tests for bugs
2004-01-18 15:14:03 +00:00
Sterling Hughes
6bd7c45f74
update the tests proper-like
2004-01-17 21:47:43 +00:00
Sterling Hughes
cb7e90119f
namespace accesses are now soley URI based as opposed to prefix based.
2004-01-17 21:22:26 +00:00
Marcus Boerger
9e29f17493
Major bugfix for consistency.
...
# After long discussions we came to a conclusion on how to make this
# extension consistent in itself.
# Thanks to Rob for all the work
2004-01-17 19:41:32 +00:00
Marcus Boerger
4ee7ba05bc
Drop the external xml files no longer needed
2004-01-17 17:34:22 +00:00
Marcus Boerger
c28af3a660
No external xml files
2004-01-17 17:33:10 +00:00
Marcus Boerger
253c97fbfe
Don't use external xml files
2004-01-17 17:24:58 +00:00
Sterling Hughes
d022278068
remove the parser errors here, so they accurately reflect what should happen.
2004-01-17 16:39:52 +00:00
Marcus Boerger
9c2e37e89a
Add test for inherited simplexml classes
2004-01-17 15:57:06 +00:00
Sterling Hughes
a895106606
update the profile of how namespaces should work after discussions with
...
shane and rob richards. there were a lot of race conditions with regards
to the way namespaces have been handled in XML documents so far, this new
method removes the race conditions, and gives me a real reason to add the
children() and attributes() methods.
2004-01-16 22:26:09 +00:00
Sterling Hughes
7f5b508f26
Add a "profile" of simplexml's expected behaviour in the form of tests.
...
This will be expanded as issues arise and will be a formal definition
(in code) of simplexml's behaviour.
2004-01-16 20:50:29 +00:00
Marcus Boerger
6915f5a2f5
This is no longer usefull in any way.
2004-01-14 22:07:28 +00:00
Rob Richards
ad47abf0f6
add support for $foo["a:bar"]
...
fix xsearch to only return values for text,element and attribute nodes
fix getChildren and return array
remove most methods
update test
2004-01-13 21:28:41 +00:00
Marcus Boerger
cc5773e775
Update attribute tests.
...
# There is a memory leak with += when accessing the attributes directly
# But yet ->elem[$n] is not fails in the engine
2004-01-10 13:45:10 +00:00
Marcus Boerger
b89ce361fc
Fix test
2003-12-22 23:15:34 +00:00
Marcus Boerger
b766beaac9
Update tests to see where they fail now exactly
2003-12-18 13:35:39 +00:00
Dmitry Stogov
eb973da1d3
two new methods were added
...
$node->count($subnode_name) - returns count of subnodes with specified name
$node->attributes() - returns array of attributes
2003-12-18 13:28:00 +00:00
Dmitry Stogov
4fd476ee43
accessing singular subnode as array
2003-12-17 15:06:40 +00:00
Dmitry Stogov
1292337356
*** empty log message ***
2003-12-17 14:49:10 +00:00
Marcus Boerger
9e29f2dfcf
Not needed here (copy'n'paste)
2003-12-16 21:02:54 +00:00
Marcus Boerger
5b712c890c
Add a test to check split text content collecting
2003-12-16 20:50:20 +00:00
Marcus Boerger
4dd4bcdbb5
Add error handling for element/attribute creation/changing
2003-12-16 20:34:19 +00:00
Marcus Boerger
7ef8b1226e
Add test for string conversion capabilities when used with echo/print.
2003-12-16 19:49:33 +00:00
Marcus Boerger
5ee54820de
Update test
2003-12-05 08:07:14 +00:00
Marcus Boerger
a7a9ec079a
Add new test
2003-11-23 16:22:11 +00:00
Marcus Boerger
fc117add30
Several improvements to the simplexml_element object:
...
- Allow to use it as an instance of Iterator
- Prepareto use it as a normal object, including spcialization
2003-11-23 16:20:58 +00:00
Marcus Boerger
3733cf409e
Fix testcase name
2003-11-13 21:16:57 +00:00
Marcus Boerger
2b35596d7f
Fix classname, CDATA handling (semantically identical to text) and
...
iterators (Return sub elements as objects, converted to string you get
the text).
2003-11-13 20:32:38 +00:00
Moriyoshi Koizumi
8572fc2af5
Add regression test for XPath support
2003-11-03 22:49:24 +00:00
Moriyoshi Koizumi
2a3e05e865
Fix test
2003-11-03 22:42:56 +00:00
Moriyoshi Koizumi
088acb6efb
Update test for an additional check to ensure the variable used for an
...
index would not be modified during deference.
2003-10-29 17:58:40 +00:00
Marcus Boerger
6b57bb1675
Add simplexml array handlers that allow to explicitly work with attributes.
2003-10-29 12:06:52 +00:00
Christian Stocker
11a63934d4
added interop test
2003-10-27 11:34:45 +00:00
Christian Stocker
70f75fff89
fix test (validation returns a warning, if xml is not valid)
2003-10-26 19:35:08 +00:00
Marcus Boerger
7e90647611
Add attribute test
2003-10-26 13:27:26 +00:00
Marcus Boerger
c7995af071
Add foreach test
2003-10-26 13:18:59 +00:00
Marcus Boerger
869ce07c96
And get the last thing working
2003-10-26 01:17:51 +00:00
Marcus Boerger
ad172161e0
Add test
2003-10-26 01:04:25 +00:00
Marcus Boerger
2318a83e81
Fix tests
2003-10-26 01:03:21 +00:00
Marcus Boerger
2befd022b1
Fix test
2003-10-26 00:35:56 +00:00
Marcus Boerger
07d94c2410
Fix test 4 with the help of Rob
2003-10-25 23:06:23 +00:00
Marcus Boerger
0197d5b916
More testing
2003-10-25 21:07:37 +00:00
Marcus Boerger
168f2ac787
Fix test
2003-10-25 20:27:48 +00:00
Marcus Boerger
f67510a0d8
Add some testing
2003-10-25 20:00:04 +00:00
Moriyoshi Koizumi
503d74aa29
Fixed bug #25756 (SimpleXML's validate_schema_file() broken)
2003-10-06 01:02:28 +00:00
Moriyoshi Koizumi
30d64ecc3e
Fix test to make sure it can find the external xml file relatively to
...
the script file.
2003-10-05 13:53:16 +00:00
Derick Rethans
7a4ed00603
- Rename test and update title
2003-06-30 19:16:41 +00:00
Sterling Hughes
00c83984a3
add a test for shane's bug #24392
2003-06-30 18:09:11 +00:00
Sterling Hughes
94925b1c33
add very basic code for the simplexml extension. The following works ::
...
person.xml
--
<person>
<name>
<first>Sterling</first>
<last>Hughes</last>
</name>
</person>
person.php
--
<?php
$p = simplexml_load_file('person.xml');
echo $p->name->last . ', ' . $p->name->first;
?>
Still needs lots of work.
2003-05-18 20:33:26 +00:00