Commit Graph

382 Commits

Author SHA1 Message Date
Ilia Alshanetsky
aafa45d804 Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE and
E_WARN if no DTD)

# Will MFH to 5.3 after RC
2009-06-10 12:25:41 +00:00
Matt Wilmas
fa54a9d0f3 Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots
2009-06-06 02:40:14 +00:00
Eric Stewart
fee853764d Add tests:
DOMComment::__construct() with constructor called twice.
DOMDocumentFragment::appendXML() with unbound fragment.
DOMDocumentFragment::appendXML() with unbalanced chunks.
DOMDocumentFragment::__construct() called twice.
DOMDocumentType: basic access to all properties.
DOMDocumentType::name with invalid state.
DOMDocumentType::entities with invalid state.
DOMDocumentType::notations with invalid state.
DOMDocumentType::publicId with invalid state.
DOMDocumentType::publicId with empty value.
DOMDocumentType::systemId with invalid state.
DOMDocumentType::systemId with empty value.
DOMDocumentType::internalSubset with invalid state.
2009-05-26 06:11:26 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Eric Stewart
8a366753af Add the following new tests:
DOMCharacterData::appendData() with no arguments.
DOMCharacterData::deleteData() with count exceeding string size.
DOMCharacterData::deleteData() with no arguments.
DOMCharacterData::deleteData() with offset exceeding string size.
DOMCharacterData::insertData() with no arguments.
DOMCharacterData::replaceData() with no arguments.
DOMComment::__construct() with more arguments than acceptable.
DOMDocumentFragment::__construct().
DOMDocumentFragment::__construct() with too many errors.
DOMDocumentFragment::appendXML() with no arguments.
DOMDocumentFragment::appendXML() with children with properties.
2009-05-25 06:07:39 +00:00
Eric Stewart
a7fece4f7f New test: DOMAttr read $name property.
New test: DOMAttr read $ownerElement with null parent.
New test: DOMAttr write non-string $value property
New test: DOMCDATASection __construct() with no arguments.
New test: DOMCharacterData - Invalid State Error when getting data out of content.
2009-05-23 01:41:27 +00:00
Eric Stewart
41e97b6147 New test: DOMAttr __construct() with no arguments. 2009-05-23 01:32:57 +00:00
Rob Richards
408a1746a1 fix bug #47849 (Non-deep import loses the namespace)
add test
2009-04-07 15:31:15 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Rob Richards
635f8bf9ab MFB: fix bug #47430 (Errors after writing to nodeValue parameter of an absent previousSibling)
add test
2009-03-13 13:43:57 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Zoe Slattery
6b075c4f5f fixed bad section name 2009-02-13 18:02:03 +00:00
Rob Richards
aba50265bb fix bug #47220 (segfault in dom_document_parser in recovery mode) 2009-01-26 19:10:09 +00:00
Rob Richards
b879f6a8e5 Add method DomNode::getLineNo to return line number for a parsed node 2009-01-13 18:05:41 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Zoe Slattery
f9f5039988 refixing missing skipif 2008-12-30 15:56:44 +00:00
Antony Dovgal
1359b315fc fix build 2008-12-17 12:03:42 +00:00
Rob Richards
9dea98a842 fix bug #46849 (Cloning DOMDocument doesn't clone the properties)
fix some warnings
add test
2008-12-16 12:51:58 +00:00
Ant Phillips
0410026ac0 DOM tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-01 11:30:39 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
Etienne Kneuss
8251921307 Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 01:59:07 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Rob Richards
ab7e0ab7b3 fix bug #46406 (Unregistering nodeclass throws E_FATAL) 2008-10-29 21:21:06 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc
51f7cc3925 initialize optional vars 2008-10-21 23:36:17 +00:00
Rob Richards
9f51ed8d31 fix bug #46335 (DOMText::splitText doesn't handle multibyte characters)
add test
2008-10-20 12:44:28 +00:00
Rob Richards
00b84bb1fd fix bug #46185 (importNode changes the namespace of an XML element)
add test
2008-09-29 16:52:03 +00:00
Rob Richards
9a17844924 fix bug #46191 (BC break: DOMDocument saveXML() doesn't accept null) 2008-09-28 11:59:54 +00:00
Rob Richards
0f3597a2d2 fix hints causing phpdoc crash 2008-09-22 15:09:06 +00:00
Ilia Alshanetsky
815ac6539a MFB: Fixed bug #46087 (DOMXPath - segfault on destruction of a cloned
object).
2008-09-16 00:38:55 +00:00
Rob Richards
e362e66375 fix bug #46029 (Segfault in DOMText when using with Reflection) 2008-09-10 15:39:43 +00:00
Antony Dovgal
e67e446a73 fix ws, cs and folding 2008-08-14 08:38:37 +00:00
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00
Jani Taskinen
c9c53d7bcd - Nuketh C++ comments from C files. 2008-08-03 12:12:45 +00:00
Pierre Joye
0ccf442868 - MFB: do not enable libxml or dom when a dep/header/lib is missing 2008-07-15 16:47:40 +00:00
Felipe Pena
2f9cc0a8c2 - Fixed tests 2008-07-14 12:33:25 +00:00
Antony Dovgal
6521cf8c1a add missing SKIPIF 2008-07-13 21:22:41 +00:00
Felipe Pena
61a01e1c20 - MFB: Added arginfo 2008-06-27 19:17:29 +00:00
Rob Richards
8c284d9640 fixed bug #45251 (double free or corruption with setAttributeNode())
add test
2008-06-14 11:21:47 +00:00
Zoe Slattery
55d9f96ca4 Tests from London test fest 2008 2008-06-03 12:44:46 +00:00
Steph Fox
4be7f4aecd - killed off UEXPECT
- com_dotnet gets a .cvsignore
- Ulf will take care of mysql extensions, rest complete
2008-05-27 18:16:04 +00:00
Ant Phillips
6e19f956d9 DOM tests from TestFest 2008-05-27 12:44:51 +00:00
Scott MacVicar
6db10b2bf1 DOM Tests from London Testfest 2008-05-27 10:21:16 +00:00
Josie Messa
b895dc0f9b - Committing tests reviewed after London TestFest 08
- Credits to: Mike Sullivan and James Lewis
2008-05-21 15:04:13 +00:00
Steve Seear
6eec0905b0 Tests from PHP London TestFest 2008 2008-05-19 12:57:28 +00:00
Steve Seear
b18686bc63 Moving DOM tests to correct folder. 2008-05-19 12:49:54 +00:00
Steve Seear
363df894a9 Tests from PHP London TestFest 2008 2008-05-19 12:22:23 +00:00
Zoe Slattery
8ced03e026 Tests from London test fest 2008 2008-05-17 13:26:51 +00:00
Zoe Slattery
3d65cd0103 Tests from Testfest 2008 2008-05-16 17:14:57 +00:00