Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I7d894ba27f8f8e886dbcece3bb3df8e69059cae9
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
|
|
This reverts commit c159f4e6f19ffb32d89e4b3e094fd27a2f82b9ac.
As make check was exhibiting various added failures as a result.
|
|
When I configure/build libxslt outside of sources and then run libxslt
tests there are some false positives related to using absolute path
instead of relative.
|
|
* Added missing $(srcdir)/ qualification to some "[ -s ... ]"
stderr-output reference file checks
* When printing log output for failed tests, quote the log variable, so
that diff output is formatted the way it should be (with newlines!)
and
is not all collapsed into one line
* Updated tests/REC/test-7.1.1-3.out with current output to get rid of a
spurious test failure
|
|
A prefix of 'xmlns' is actually allowed. It should simply be ignored
if a namespace is given. Without a namespace the lookup by prefix will
fail anyway.
What the spec doesn't allow is an attribute name of 'xmlns' which will
now be rejected.
|
|
|
|
Makefile.am:
* Use $(VAR), not @VAR@, as the former is the correct form for AC_SUBST'ed
variables in Makefile.am files
* Touch these *.xml/*.syms files in the "dist-hook" target to prevent them
from being regenerated, because the "make dist" process in itself
updates the timestamps of the source files when it copies them into
$(distdir)
* Add EXTRA_LIBS (-lrt on my system) to xsltConf.sh, as this is a required
dependency when client applications link against -lxslt
(note that the definition of EXTRA_LIBS has been changed; see below)
* Removed MAKEFLAGS+=--silent bits, as this is not compatible with non-GNU
Make programs
autogen.sh:
* Add --warnings=all options to automake and autoconf invocations, to
better catch potential problems (most of which I've fixed in this patch)
configure.in:
* Replaced obsolete macros with their current equivalents; for reference,
see
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
(I removed AC_ISC_POSIX outright because the doc states it is no longer
useful)
* test(1) uses "=" as an operator, not "=="
* Fixed quoting on an AC_LINK_IFELSE() invocation to quell Autoconf errors
* Don't add redundant libraries to EXTRA_LIBS, because (1) this variable
already contains LibXSLT's own additional system-library deps, and is
useful in that form, and (2) the LibXML2 deps are already handled by
Libtool
* Don't delete files in srcdir, and don't create the symlink to
"Copyright" there either
(I don't understand why this is being symlinked in the first place...)
doc/Makefile.am:
* Can't use wildcards in EXTRA_DIST, because this breaks dependencies
(e.g. you can't "make EXSLT/\*.html"), and they only work properly when
building inside the source tree; these have been replaced with their
expansions. Other entries have been added here in lieu of the wildcards
in the dist-hook target, as well as opportunistic use of the $(*PAGES)
variables.
* Don't define an "all" target, because this steps on Automake's toes; use
"all-local" instead
* Define and use an "xsltproc" variable to reference an in-tree-built
version of xsltproc, instead of e.g. $(bindir)/xsltproc
NOTE: The makefile also uses $(XSLTPROC), which names an external
instance of the program found at configure time. Some instances of this
could probably be changed to $(xsltproc) to remove the dependency on an
existing installed program.
* Qualified various filenames as appropriate with $(srcdir)
* Use $(XMLLINT) consistently instead of $(bindir)/xmllint
* In the "libxslt-api.xml ..." rule, cd into $(srcdir) before invoking
apibuild.py as this script has to run in srcdir anyway
* In the "clean-local" rule, clear out some additional files to allow
"make distcheck" to pass
* Eliminated the redundant "maintainer-clean-local" rule
* Added a "distclean-local" rule to clear out the build directory in an
out-of-source build to allow "make distcheck" to pass
* Added a "check-extra-dist" target to make it easier to check that
EXTRA_DIST isn't missing anything
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
* Use $(VAR) instead of @VAR@
* The "dist-hook" target didn't work (if any generated files were in
builddir and not in srcdir), and is no longer needed thanks to the
comprehensive EXTRA_DIST variable
* Added an "uninstall-local" rule to allow "make distcheck" to pass
* Updated the .PHONY target list, removed non-existent targets
doc/symbols.xml:
* Needed to add this bit to make the generation scripts shut up
libexslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
(Note that $(CFLAGS) need not be added to AM_CFLAGS, because Automake
already references both in the build rules)
* Use $(VAR) instead of @VAR@
libxslt.pc.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
libxslt/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
* Use $(MKDIR_P), not $(mkinstalldirs), as the latter name is obsolete
libxslt/xsltutils.c:
* Some systems don't know about CLOCK_MONOTONIC; older Solaris knows about
CLOCK_HIGHRES. Some systems, alas, have no usable alternative to
CLOCK_REALTIME.
python/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) to AM_CFLAGS, to segregate CFLAGS from CPPFLAGS
* Because libxslt-py.c is (presumably) supposed to be generated every time
at build time, don't bundle it in the dist tarball
* Use $(VAR) instead of @VAR@
* libxsltclass.py is a generated file, so it doesn't get qualified with
$(srcdir)
* Use $(MKDIR_P) instead of (mkinstalldirs)
* Added an uninstall-local rule so that "make distcheck" passes
* Removed the $(srcdir) qualifications in the GENERATED file list, as
these files may exist in builddir
* In the gen_prog rule, qualify the script invocation with $(srcdir), and
set the SRCDIR environment variable so that the script can find the
files it needs when builddir != srcdir
* Don't define an "all" target, as this steps on Automake's toes
python/generator.py:
* Get the source directory from the SRCDIR environment variable, and use
it appropriately
python/tests/Makefile.am:
* Set CLEANFILES instead of defining a "clean" rule
* Use $(VAR) instead of @VAR@, $(MKDIR_P) instead of $(mkinstalldirs)
tests/*/Makefile.am, tests/exslt/*/Makefile.am:
* Need to clean up .memdump files for "make distcheck" to pass
* Don't define an "all" target, as this steps on Automake's toes
tests/REC/Makefile.am:
* Added two missing *.stand.out files to EXTRA_DIST
tests/XSLTMark/Makefile.am:
* Replaced the GNU-Make-specific %.out bit with a more broadly compatible
rule
(the "dummy" bit shuts up Automake)
* Use "$(xsltproc)" instead of "$(top_builddir)/xsltproc/xsltproc"
* Use a less $(MAKE)-heavy invocation in the "tests" target
* Replaced a conflicting "clean" target with CLEANFILES
* Added a dependency on $(xsltproc) to all the test targets
* Added a .PHONY target list
tests/docbook/Makefile.am:
* Ditched the "echo -n" bit, because it wasn't working as advertised
* Create output directories for out-of-source builds
* "$(basename $$i)" is a typo in a makefile
* Don't embed $(srcdir) in $out/$html/$fo/$msg/$xhtml, so that we can
refer to these files in builddir or srcdir
* Add a trailing "echo" to complete the "echo -n"
* Don't output files unconditionally to srcdir (it may be read-only, for
starters)
tests/plugins/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
(Note that the "$(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS)" bit that was here
can be dropped entirely, because these already appear in
xmlsoft_org_xslt_testplugin_la_CFLAGS)
* Use noinst_LTLIBRARIES inside the WITH_MODULES conditional instead of
EXTRA_LTLIBRARIES, as this is cleaner (and disallows building the plugin
if module support is disabled)
* Need to clean up *.res files for "make distcheck" to pass
* Use the abs_builddir variable conveniently provided to us by Automake
instead of a GNU Make $(shell ...) construct
xslt-config.in:
* Add EXTRA_LIBS (-lrt on my system), as this is a required dependency
when client applications link against -lxslt
xsltproc/Makefile.am:
* AM_CPPFLAGS should be used instead of INCLUDES, as the latter is an
obsolete name
* Moved $(LIBXML_CFLAGS) into AM_CFLAGS
* Use $(VAR) instead of @VAR@
* Need to clean .memdump for "make distcheck" to pass
* Added rules to build lib[e]xslt.la if needed, which allows test
makefiles to build xsltproc on the fly even if nothing else has been
built already
* Create .memdump file in the "tests" target, as it's being grepped
afterward
|
|
|
|
The problem is that "@node()", "attribute::node()", "child::node()" and
"node()" are all handled in different code paths and only the latter
works.
Then, I noticed that the handling of match="child::name" is wrong. It
matches the parents of <name> elements although it should be treated
exactly like match="name". So the whole XSLT_OP_CHILD stuff is
unneeded.
I also found that xsltScanName behaves a bit strange with regard to
':' characters. It doesn't parse an XML Name like the documentation
says. It's better to use xsltScanNCName instead.
Another minor issue is that the parser currently allows invalid
expressions like match="element*" because of lines 1745-1747 in
pattern.c in trunk.
* libxslt/pattern.c: fix all those problems
* tests/REC/Makefile.am tests/REC/test-5.2-19* tests/REC/test-5.2-20*
tests/REC/test-5.2-21*: add test cases to the regression suite
|
|
* libxslt/xslt.c: copy the embedded stylesheet instead of cutting it
out of the source tree and make sure to copy namespaces in scope too
* tests/REC/Makefile.am tests/REC/stand-2.7-[23]*: add the 2 tests
case to the regression suite
|
|
* libxslt/imports.c: xsl:strip-space didn't work if there is a NameTest
with a namespace and a wildcard
* tests/REC/Makefile.am tests/REC/test-3.4-*: add some test to the
regression suite
|
|
* tests/docs/bug-54.xml tests/general/bug-54.out
tests/general/bug-99.out tests/general/bug-136.out
tests/REC/test-7.1.3.xsl tests/REC/test-7.1.4.xsl
tests/REC/test-7.3.xsl tests/REC/test-7.4.xsl:
Fixed incorrect regression tests/results.
|
|
* tests/general/bug-36-inc.xsl tests/general/bug-37-inc.xsl
tests/general/bug-65-inc.xsl tests/general/bug-100.xsl
tests/REC/test-15-1.xsl tests/REC/test-7.1.1-3.xsl
tests/namespaces/extra2.xsl tests/extensions/module.xsl
tests/plugins/plugin.xsl python/tests/extelem.py
python/tests/extfunc.py: Fixed regression tests wrt
usage of the attributes "exclude-result-prefixes"
and "extension-element-prefixes". test-7.1.1-3.xsl fails
now, since the code still does not exclude ns-decls
correctly.
|
|
* libxslt/transform.c: working around Mark Vakoc' reported bug related
to mode internaing
* xsltproc/xsltproc.c: adding a --nodict mode to check problems with
document without a dictionnary.
* tests/REC/Makefile.am tests/general/Makefile.am: testing without
dictionnary
Daniel
|
|
* Makefile.am, tests/Makefile.am, tests/REC/Makefile.am,
tests/REC1/Makefile.am, tests/REC2/Makefile.am,
tests/XSLTMark/Makefile.am, tests/docbook/Makefile.am,
tests/exslt/common/Makefile.am, tests/exslt/date/Makefile.am,
tests/exslt/functions/Makefile.am, tests/exslt/math/Makefile.am,
tests/exslt/sets/Makefile.am, tests/exslt/strings/Makefile.am,
tests/extensions/Makefile.am, tests/general/Makefile.am,
tests/keys/Makefile.am, tests/multiple/Makefile.am,
tests/namespaces/Makefile.am, tests/numbers/Makefile.am,
tests/reports/Makefile.am, test/xmlspec/Makefile.am,
tests/general/bug-60.err, tests/docbook/result/html/gdp-handbook.err,
tests/REC/test-2.5-1.err:
Major enhancement to "make tests". All but Python tests
cleaned up to produce minimum summary output if no problems.
* tests/general/bug-145.xsl, tests/general/bug-145.err,
tests/docs/Makefile.am, tests/docs/bug-145.xml:
Added test case for bugzilla bug 135938
|
|
* tests/REC/test-5.2-17.xsl tests/REC/test-5.2-18.xsl: fixing two
broken tests (revealed by #125502)
Daniel
|
|
* tests/REC/test-8-1.xsl tests/REC/test-9.1-2.xsl
tests/general/bug-83.xsl tests/multiple/dict.xsl: added some
exclude-result-prefixes to avoid extra namespace declaration being
dumped following the fix for #102920 in libxml2
Daniel
|
|
* libxslt/imports.c: apply patch from Daniel Stodden, a bug
in xsltFindElemSpaceHandling() missing imported informations
* tests/REC/stand-2.7-1.stand.out: this change slightly the result
of this test.
Daniel
|
|
* tests/* : the change in HTML meta encoding tag serialization
affected some of the results
Daniel
|
|
* Makefile.am tests/Makefile.am tests/*/Makefile.am
tests/*/*/Makefile.am : added "make valgrind" targets
to run the test suite under the debugger control
* transform.c: valgrind spotted 2 bugs, one related to
the ordering of the deallocation of the data associated to
a transofrmation, the second in xsltCopyTree when the new
node may have been coalesced with an adjacent text node.
The regression tests now pass cleanly under testgrind.
Daniel
|
|
* Makefile.am configure.in tests/Makefile.am tests/*/Makefile.am
tests/*/*/Makefile.am: refactored make tests, make all now don't
run the test suite
* python/Makefile.am: added tests
* python/tests/basic.py python/tests/Makefile.am: added the first
basic test, memory debug included
Daniel
|
|
* xsltproc/xsltproc.c: added the --stringparam option
* xsltproc/xsltproc.c: applied John Fleck's patch to correct
the --novalid behaviour.
Daniel
|
|
* libxslt/numbers.c: reworked internal representation of
tokenized number format and parsing/tokenization. This fixes
many bugs regarding separator and default tokens.
* tests/REC/test-7.7-3.out: the fix changes the output of this
test. It now complies to the XSLT spec (wow! ;o)
|
|
* libxslt/numbers.c tests/REC/test-7.7-4.out: implement initial
non-alphanumeric token handling in number formatting.
|
|
* tests/REC/test-7.7-4.out: fixed a typo
|
|
* //Makefile.am : fixed an error I propagated to nearly all
Makefiles.am on Saturday
Daniel
|
|
* //Makefile.am : fixed a number of small problems with
Makefiles spotted by Albert Chin
Daniel
|
|
* libxslt/xsltutils.c: well one need one \n after DOCTYPE
* test//*/*.out: the output of some tests changed, looks better
actually
Daniel
|
|
* libxslt/extra.c: fixed a serious proble is node-set was called
on a nodeset
* tests//*/Makefile.am: fixed the rule to rebuild xsltproc
Daniel
|
|
* Makefile.am configure.in libexslt/Makefile.am:
Integration of libexslt in the build system
* libxslt/Makefile.am libxslt/xsltproc.c libxslt/xsltutils.c
xsltproc/Makefile.am xsltproc/xsltproc.c:
Moved xsltproc to a separate directory, linked it to libexslt,
and added exslt version reports to -V
* tests/*/Makefile.am: updated the path to xsltproc
* libexslt/common.c libexslt/exslt.h libexslt/exsltconfig.h.in
libexslt/functions.c libexslt/math.c libexslt/sets.c: added
versionning informations, some cleanup, and added documentation
to a couple of exported functions
Daniel
|
|
* FEATURES libxslt/xsltproc.c libxslt/transform.c
libxslt/xsltInternals.h: added Embedding Stylesheets
* tests/REC/Makefile.am tests/REC/stand-2.7-1.*: added the test
from the REC about it
* libxslt/transform.c libxslt/extra.[ch] libxslt/preproc.c:
tried to accomodate the various (and changing) proprietary
ways of implementing chunking.
* tests/docbook/result/xtchunk/html: now output is generated in
ISO-8859-1
Daniel
|
|
* libxslt/transform.c libxslt/xslt.c libxslt/xsltInternals.h:
fixed exclude-result-prefixes handling and how namespaces
propagate from the stylesheet to the result in general, this
is a serious cleanup.
* tests/general/bug-3[67]-inc.xsl tests/general/bug-6-.xsl
tests/general/itemschoose.out tests/namespaces/extra.xsl
tests/REC/test-10-1.xsl tests/REC/test-10-2.xsl
tests/REC/test-11.2-1.xsl tests/REC/test-11.2-2.xsl
tests/REC/test-11.2-6.xsl tests/REC/test-15-1.xsl
tests/REC/test-16.1-1.xsl tests/REC/test-16.1-2.xsl
tests/REC/test-5.4-1.out tests/REC/test-5.4-2.out
tests/REC/test-5.4-3.out tests/REC/test-5.4-4.out
tests/REC/test-7.1.1-2.out tests/REC/test-7.1.1-2.xsl
tests/REC/test-7.1.1-3.out tests/REC/test-7.1.1-3.xsl
tests/REC/test-7.1.1.out tests/REC/test-7.1.3.xsl
tests/REC/test-7.3.xsl tests/REC/test-7.4.xsl
tests/REC/test-7.6.1-1.xsl tests/REC/test-7.6.1-2.xsl
tests/REC/test-7.6.1-3.xsl tests/REC/test-7.6.2-1.xsl:
fixed and rechecked all the tests where the namespace
propagation was wrong either taht the rules were not applied
correctly or that superfluous namespaces were declared in the
stylesheets
Daniel
|
|
- FEATURES: updated
- libxslt/xslt.c libxslt/xsltInternals.h: added exclude-result-prefix
support
- tests/REC/Makefile.am tests/REC/test-7.1.1-[23]*: added a couple
of specific tests
- tests/xmlspec/REC-xml-20001006-review.html: seems this changed
something there, not visually perceptible
Daniel
|
|
* FEATURES: updated
* libxslt/transform.c: added cdata-section-elements
* tests/REC/Makefile.am tests/REC/test-16.1-*: added 2 tests from the REC
Daniel
|
|
* FEATURES: updated
* libxslt/xsltutils.c: do not dump document for which there have
been no generated content
* tests/multiple/result.xml tests/namespaces/extra2.out: fixed
test output accordingly
* libxslt/transform.c libxslt/preproc.c: added xsl:fallback support
* tests/REC/Makefile.am tests/REC/test-15-1.*: xsl:fallback test
* tests/xmlspec/Makefile.am tests/docbook/Makefile.am: cleanups
Daniel
|
|
|
|
tests/multiple/Makefile.am tests/namespaces/Makefile.am
tests/numbers/Makefile.am tests/xmlspec/Makefile.am
tests/REC/Makefile.am tests/REC1/Makefile.am tests/REC2/Makefile.am
tests/XSLTMark/Makefile.am tests/docbook/Makefile.am
configure.in: Makefiles cleanup from Joe Orton
Daniel
|
|
of crashes on debug
- tests/REC/Makefile.am: be less verbose if things really go wrong
- tests/docs/Makefile.am tests/general/Makefile.am
tests/docs/bug-28-.xml tests/general/bug-28-.*: added bug-28 in
the regression tests
Daniel
|
|
detection method to generate HTML documents
- tests/REC/test-2.5-1.out tests/REC/test-8-1.out
tests/REC/test-9.1-2.out tests/REC2/html.xml tests/XSLTMark/game.out
tests/XSLTMark/html.out tests/XSLTMark/products.out
tests/XSLTMark/xslbench1.out tests/XSLTMark/xslbench2.out
tests/XSLTMark/xslbench3.out tests/general/bug-15-.out
tests/general/bug-5-.out: updated a number of tests output
accordingly
Daniel
|
|
about attribute being generated twice. Fixed a number of related
bugs on attributes handling.
- tests/REC/test-7.1.4.out: this changed an attribute generation
order
- tests/docs/bug-27-.xml tests/general/bug-27-.*: added test
Daniel
|
|
files from $(srcdir) and use echo > .memdump instead of the less
portable touch .memdump Daniel
|
|
sorting
- test/REC/test-10-2.*: added a really small test for it
Daniel
|
|
|
|
Daniel
|
|
- libxslt/pattern.[ch]: exported pattern matching interfaces
for numbers.c and future debug module
- libxslt/numbers.c: updated to new interface, should avoid
unnecessary recompilation of patterns.
- libxslt/xsltutils.[ch]: cleanup
- tests/REC/gmon.out: removed :-)
Daniel
|
|
corrected some default values
added tests
|
|
- libxslt/documents.[ch] libxslt/functions.c libxslt/imports.c
libxslt/xslt.c libxslt/xsltInternals.h: changed teh way to store
Includes, more document changes
- libxslt/xsltutils.c: fix the output of doctype and what is or
is not HTML
- tests/REC/*.out tests/REC2/html.xml : changed output accordingly
- tests/Makefile.am tests/documents/* : added a new test from Stric
exercising document() among other things
Daniel
|
|
- README configure.in libxslt.spec.in: bumped to 0.1.0, getting
ready for the release
- libxslt/keys.c libxslt/xslt.c: cleanup of uninitialized vars
- tests/REC1/Makefile.am tests/REC/Makefile.am: the EXTRA list
was not up to date
Daniel
|
|
|
|
- FEATURES libxslt/xsltInternals.h libxslt/pattern.c libxslt/keys.c:
added support for keys in patterns
- tests/REC/test-12.2-2.*: added a specific testcase
Daniel
|