Commit Graph

132 Commits

Author SHA1 Message Date
Melvyn Sopacua
46faef79f6 Segfault test, currently unsolved 2002-11-01 02:27:43 +00:00
Melvyn Sopacua
80ee077307 Testcase for new Sablotron option 2002-11-01 02:21:58 +00:00
Melvyn Sopacua
12498fcec7 - Fix registration of XSLT_SABOPT_FILES_TO_HANDLER 2002-11-01 02:05:36 +00:00
Melvyn Sopacua
294b419d67 copy/waste error 2002-10-31 21:27:00 +00:00
Melvyn Sopacua
5062dbee4c - Add constant XSLT_SABOPT_FILES_TO_HANDLER overriding the default
behavior of Sablotron to handle files itself, even if a scheme-handler
  is registered.
- Implement xslt_getopt
- Modify behavior of xslt_setopt, so that it returns the previous value.

# All these need Sab CVS version > 2002/10/31
2002-10-31 21:21:01 +00:00
Melvyn Sopacua
45227ec40c Fix typo 2002-10-31 21:11:57 +00:00
Melvyn Sopacua
bcf61b073a Add test for xslt_getopt
# see next commit
2002-10-31 21:09:05 +00:00
Marcus Boerger
328396920b php_error -> php_error_docref 2002-10-30 14:15:16 +00:00
Marcus Boerger
8c95cefac6 -add reason to --SKIPIF--
-add magic_quotes_runtime to --INI--
--use var_dump()
2002-10-29 21:57:51 +00:00
Marcus Boerger
2ab1bd044f add reason 2002-10-29 12:18:23 +00:00
Melvyn Sopacua
7e4beef623 - Add XSLT_REG_ERRMSG macro to register an error on the handle
- Rename constants to a bit more appropreate format
- Add XSLT_ERR_UNSUPPORTED_SCHEME to be returned for scheme handlers.

# Docs on xslt_set_scheme_handlers are in progress.
2002-10-25 19:23:15 +00:00
Melvyn Sopacua
d2f81e2083 Tests renamed
Remove dl() from skipif, for potential problems accross platforms and
versions.
2002-10-25 19:17:16 +00:00
Melvyn Sopacua
dbc6c32152 test renaming 2002-10-25 19:13:34 +00:00
Ilia Alshanetsky
9d079e9b3e Various corrections aimed at making the test's results consistent across
all enviroments.
2002-10-24 02:40:03 +00:00
Melvyn Sopacua
703e360a35 suddenly, there was a newline 2002-10-23 22:21:40 +00:00
Melvyn Sopacua
d365b09ec3 Make it work without .php files 2002-10-23 19:52:26 +00:00
Ilia Alshanetsky
9f6a8748e1 Small corrections to the expected output. 2002-10-22 17:38:13 +00:00
Sterling Hughes
c2624f4269 Fix a problem relating to these structure symbols being redefined on LFS
systems.

Fix by Sascha Schumann <sascha@apache.org>
2002-10-15 16:41:39 +00:00
David Viner
0803ebfa3e adding test of xslt_set_object
--dviner
2002-10-07 16:59:08 +00:00
Melvyn Sopacua
2628482ee9 (xslt tests) Add test for memory leaks, caused by inapproreate use of
the struct. Memory leak is caused by at least 2 errors on
             handle.
2002-10-06 23:58:51 +00:00
Melvyn Sopacua
8e1da7dbda MFB 2002-10-06 16:32:24 +00:00
Melvyn Sopacua
a22ab3f8e3 missed this, needed by 007.phpt 2002-10-06 15:51:33 +00:00
Melvyn Sopacua
9bb526c283 (xslt tests) Add test for new backend API (005.phpt), new function
(006.phpt) and a crash test (007.phpt)
             006.phpt also tests handling of public entities, which is in
             essence new to the extension, since there was no way to turn
             it on.
# These new functions and backend will be added shortly.
# TODO: test for xslt_set_object
2002-10-05 19:44:26 +00:00
Melvyn Sopacua
b83d7bbf8a (xslt tests) Test for reference to a non-existing scheme handler. 2002-10-05 16:11:46 +00:00
Melvyn Sopacua
1fbef62ae9 (xslt: error_print) Fixes a leak when multiple error messages are issued
during a transformation.
# It's probably better to wrap this in an internal function, since it's
# easily forgotten.
2002-10-05 14:04:19 +00:00
David Viner
4f98cc5a55 adding the xslt_set_object function (as per discussion on php-dev and
the newly created sab-php@gingerall.cz)
--dviner
2002-10-04 23:06:10 +00:00
David Viner
1665272cee adding segfault detection as proposed by Lenar Lõhmus [lenar@vision.ee]
--dviner
2002-10-04 22:43:55 +00:00
Melvyn Sopacua
c4805ffeb1 Improve testkit for xslt.
002.phpt and 003.phpt are regression tests for reported bugs.
 004.phpt has been known to cause problems in some Sab/PHP combinations.
 No known reports in bug db for that one.
 Added skip mechanism
@- Added regression test for bugs #17791 and #17931 (Melvyn)
2002-10-04 11:41:34 +00:00
Melvyn Sopacua
7f1ad2395d (xslt_set_error_handler) Fixes array 'fields' argument to contain correct
information.
                         Patch by Lenar Lohmus.
@- Fixed fields argument to contain correct info. (Lenar Lohmus)
2002-10-04 09:22:03 +00:00
foobar
faf9934272 Version check for Sablotron. 2002-09-09 18:17:12 +00:00
foobar
3bf7519210 @- Added --disable-all configure option. (Jani) 2002-09-04 18:47:28 +00:00
foobar
06fe943795 Fix shared build 2002-08-30 03:52:41 +00:00
Christian Stocker
47d8e08b11 @ - Added xslt_backend_version() and xslt_backend_name() for getting
@   information about the processor backend. (chregu)
2002-08-22 09:54:06 +00:00
Sterling Hughes
2f0a47cd55 add sablotron version, patch by Christian Stocker... 2002-07-29 23:57:26 +00:00
Sterling Hughes
31d5c44ea5 eek 2002-07-08 21:12:07 +00:00
Sterling Hughes
c28f8fca08 commit petr's sax handler patch 2002-07-08 21:04:59 +00:00
foobar
158370464a This is not done anymore. (should fix win32 snapshot build too) 2002-06-29 01:55:36 +00:00
Marko Karppinen
ec88777f59 Revert to php_4_2_1 to get sablotron working again.
# Sterling, please fix the DOM stuff asap so we can enjoy
# the new functionality!
2002-06-24 19:31:31 +00:00
foobar
399914da92 Stop the search when the libs are found. 2002-05-02 10:22:26 +00:00
foobar
9f096d2578 Only support the new libexpat. 2002-04-25 01:47:35 +00:00
Sterling Hughes
5db5498f90 expletives deleted. 2002-04-21 00:41:38 +00:00
Sterling Hughes
dc3b3fa302 some more fixes towards making it work again 2002-04-21 00:27:05 +00:00
Sterling Hughes
c53003575a throw a warning if encoding support not available... 2002-04-19 23:46:09 +00:00
Sterling Hughes
8912735d86 make it work with dom processing, this allows DOM tree caching to avoid
re-parsing the same data.  Currently very beta -- DO NOT USE.  Will be cleaning
this up over the next few days...  Need this in here for version history, and
to show other people
2002-04-19 22:17:23 +00:00
Yasuo Ohgaki
ec11233183 Remove warning. 2002-04-19 07:54:52 +00:00
Sander Roobol
fd167a7d42 Removed redefinition of MIN() 2002-04-18 14:05:28 +00:00
Sterling Hughes
651c00718a move xslt_error and xslt_errno down to functions, in order to
make logical room for the xslt_dom_* functions

# (xslt_dom_* will be a basic api, allowing no dom manipulation,
#  however, one of these days I'll write a message/extension that
#  handles xslt/dom/sax in a coherent manner -- just you watch :)
2002-04-16 15:54:59 +00:00
Derick Rethans
561552cb4d - MFB: Remove version number 2002-04-16 10:14:08 +00:00
Sterling Hughes
e937ad5adf update these docs, phpdoc will lag a bit :) 2002-04-16 06:41:05 +00:00
Sterling Hughes
2b5a95b54b Prefix current functions with "sax" in order to make way for dom interface
backwards compatibility is maintained via function aliases
xslt_sax_set_sax_handlers is a bit wierd, i guess...
2002-04-16 06:37:19 +00:00