1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-07 10:42:55 +03:00
Commit Graph

888 Commits

Author SHA1 Message Date
Daniel Veillard
4f1f2c504d - tests/docbook/result/: the change in libxml affected the
output of the Docbook tests (of course it was detected on
  a DocBook example)
Daniel
2001-07-05 20:51:51 +00:00
Daniel Veillard
0bf2872d79 updated added cdata-section-elements added 2 tests from the REC 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
2001-07-05 13:15:16 +00:00
Daniel Veillard
f6683cbf70 Updated the bug reporting section,
Daniel
2001-07-05 09:55:06 +00:00
Daniel Veillard
15ea351154 updated do not dump document for which there have been no generated
* 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
2001-07-05 08:59:37 +00:00
Daniel Veillard
ffc52efd1d - libxslt/extension.[ch] libxslt/extra.[ch] libxslt/xsltInternals.h
libxslt/transform.c libxslt/functions.c: Added the extension API
  suggested by Thomas Broyer, this should allow implementation of
  EXSLT for example.
- libxslt/extra.[ch]: added a fake xsltFunctionLocalTime() in Norm's
  CVS extension namespace to avoid complaints, some cleanup
- configure.in tests/Makefile.am tests/extensions/*: added a test
  for new modules testing both elements and functions registration
Daniel
2001-07-04 13:22:40 +00:00
Daniel Veillard
1e4297d54d added xsltGetQNameURI() and cleaned up the way URI for QNames were
* libxslt/pattern.c libxslt/preproc.c libxslt/transform.c
  libxslt/xslt.c libxslt/xsltutils.[ch]: added xsltGetQNameURI()
  and cleaned up the way URI for QNames were computed through
  the code, serious cleanup.
* libxslt/xsltInternals.h libxslt/xslt.c: moved cdata-sections
  in their own hash table, implementation not yet finished.
Daniel
2001-06-29 21:36:22 +00:00
Daniel Veillard
fe44f369c0 - libxslt/keys.c libxslt/templates.c libxslt/transform.c
libxslt/variables.c libxslt/xsltutils.c: hum seems I forgot
  to save/restore some XPath context, bug raised by
  Steve Cheng
Daniel
2001-06-28 21:03:31 +00:00
Daniel Veillard
4a9934a5b4 Oops forgot to add libxslt.h, Daniel 2001-06-28 14:24:41 +00:00
Daniel Veillard
241bfda06e added configuration/version informations for Windows/MSC internal header
* libxslt/xsltwin32config.h[.in]: added configuration/version
  informations for Windows/MSC
* libxslt/libxslt.h libxslt/*.c: internal header to centralize
  includes switches
* libxslt/Makefile.am: added libxslt.h and xsltwin32config.h[.in]
* libxslt/*.[ch] libxslt/*.in: quite a bit of cleanup, especially
  the email addresses
* AUTHORS: added William
Daniel
2001-06-28 14:23:39 +00:00
Daniel Veillard
ca7b104205 releasing 0.13.0 don't index the win32 include rebuilt the docs Daniel
* configure.in doc/xslt.html: releasing 0.13.0
* doc/Makefile.am: don't index the win32 include
* doc/html/*: rebuilt the docs
Daniel
LIBXSLT_0_13_0
2001-06-26 16:48:50 +00:00
Daniel Veillard
3e19b449a6 Cleanup and workaround a docbook XSL error:
* libxslt/xsltproc.c: John Fleck found a typo in usage()
* libxslt/xslt.c: avoid warning if version="1.1" is used
* libxslt/transform.c: forgot to initialize cur->outputFile
* libxslt/functions.c: DOCBOOK_XSL_HACK some versions of DocBook XSL
  use the vendor string to detect supporting chunking, this
  is a workaround to be considered in the list of decent XSLT
  processors <grin/>
Daniel
2001-06-25 13:35:30 +00:00
Daniel Veillard
599b6b9743 Lots of cleanup work toward betted multiple document output handling:
* libxslt/transform.[ch] libxslt/xslt.c libxslt/xsltInternals.h:
  added a new interface xsltRunStylesheet() for a more flexible
  handling of the output and trying to adhere to xsl:document
  filename generation semantic if one knows the URL of the output,
  also add IObuf capacity and SAX for output but is currently not
  implemented.
* libxslt/xsltproc.c: added a -o or --output filename argument
  to test xsltRunStylesheet() or provide a base when generating
  multiple outputs
* tests/docbook/Makefile.am tests/docbook/result/xtchunk/html/*:
  updated tests to add DocBook xt:document based chunking
* tests/multiple/Makefile.am: cleaned up the makefile a bit
* tests/multiple/out/*.html: the new xt:document now generate
  the DOCTYPE if available as is the case for HTML
Daniel
2001-06-25 10:58:40 +00:00
William M. Brack
cf6a4a2322 Revised default template processing for attribute node 2001-06-25 01:01:47 +00:00
William M. Brack
ccdda5f038 updated 2001-06-24 06:45:18 +00:00
William M. Brack
23a0430859 enhanced ApplyTemplates and ForEach to allow multiple documents
within a single nodelist. Repaired small bug in document function.
2001-06-24 06:41:16 +00:00
MDT 2001 John Fleck
687a0b3295 doc/tutorial/libxslttutorial.xml, libxslttutorial.html updating tutorial
Sat Jun 23 15:44:00 MDT 2001 John Fleck <jfleck@inkstain.net>

	* doc/tutorial/libxslttutorial.xml, libxslttutorial.html
	updating tutorial with explanation of xsltSave vs. xmlSave
	functions
2001-06-23 21:49:27 +00:00
Daniel Veillard
1872dd7884 updated to docbook-xsl-1.4, regenerated results Daniel
* test/docbook: updated to docbook-xsl-1.4, regenerated results
Daniel
2001-06-23 17:06:54 +00:00
Daniel Veillard
06dd93086f - Makefile.am libxslt/Makefile.am libxslt/numbers.c
libxslt/win32config.h libxslt/xsltconfig.h.in libxslt/xsltproc.c:
  Patches for Windows mostly contributed by Yon Derek
- win32/libxslt/libxslt.def win32/libxslt/libxslt.dsw
  win32/libxslt/libxslt_so.dsp win32/libxslt/xsltproc.dsp:
  Project file for Mircrosoft C provided by Yon Derek
Daniel
2001-06-23 15:41:55 +00:00
Daniel Veillard
9c25652524 closing bug #56517, fixed a number of problems in the patterns
* libxslt/pattern.c: closing bug #56517, fixed a number of
  problems in the patterns compilations, priorities and debug
* libxslt/transform.c: improved the template debug message
* tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-39-* tests/docs/bug-39-*: added a specific
  regression test for #56517
Daniel
2001-06-23 12:24:49 +00:00
Daniel Veillard
bf7c97febe Don't bother me with generated files, Daniel 2001-06-22 14:36:47 +00:00
Daniel Veillard
134706d5da Removed the result of the multiple tests, it's generated stuff, Daniel 2001-06-22 14:35:03 +00:00
Daniel Veillard
0a89a432be - libxslt/xslt.c: avoid a stupid bug when compiling with
libxml < 2.3.11 and without LIBXML_DEBUG_ENABLED
Daniel
2001-06-22 14:18:43 +00:00
Daniel Veillard
33ad1c6878 - libxslt/numbers.c: fix of a small bug
- libxslt/transform.c libxslt/variables.c libxslt/xslt.c: cleanups
  while bug-hunting
Daniel
2001-06-21 22:13:02 +00:00
ÉRDI Gergo
d6b54355e2 More .cvsignore entries 2001-06-20 22:40:03 +00:00
Daniel Veillard
5cb133256f added XHTML and XSL FO to the regression tests added XHTML stylesheets
* tests/docbook/Makefile.am: added XHTML and XSL FO to the
  regression tests
* tests/docbook/xhtml/*: added XHTML stylesheets
* tests/docbook/fo/*: added XSL FO stylesheets
* tests/docbook/result/xhtml/*: added XHTML results
* tests/docbook/result/fo/*: added XSL FO results
Daniel
2001-06-19 14:16:56 +00:00
Daniel Veillard
fde3fa2f32 - HACKING: fixed, added William
Daniel
2001-06-18 22:21:10 +00:00
ÉRDI Gergo
b58357db78 Adding generated files to .cvsignore -- Hope you don't mind, Daniel 2001-06-18 21:02:58 +00:00
Daniel Veillard
31f699731b - libxslt/xsltutils.c: forgot to flush in xsltSaveTo() in html and
xml cases, and fixed text output to be recursive in text nodes
  lookups
Daniel
2001-06-18 16:38:35 +00:00
Daniel Veillard
18c736b0ca - configure.in: patch from Tony Graham to cleanup libxml2 detection
Daniel
2001-06-18 13:45:59 +00:00
Daniel Veillard
e5c1ef8f4c - libxslt/xsltutils.[ch]: fixed xsltGetNsProp, i always forget
'namespace' is a reserved C++ identifier
Daniel
2001-06-17 15:43:53 +00:00
Daniel Veillard
7b28dd1ed9 adding 0.12.0 release Daniel
* doc/xslt.html: adding 0.12.0 release
Daniel
2001-06-17 15:09:33 +00:00
Daniel Veillard
9083db0340 - configure.in: preparing 0.12.0 release
- libxslt/transform.c: a bit of cleanup on the XInclude defaults
- libxslt/xsltconfig.h.in: added doc inline comment
- libxslt/xslt.[ch] libxslt/xsltproc.c: added more version informations
  and enriched xsltproc --version to show them
- doc/html/*.html: rebuilt the docs
- doc/Makefile.am libxslt.spec.in: try to make sure John Fleck
  tutorial ends up in the tars and RPMs
Daniel
LIBXSLT_0_12_0
2001-06-17 11:25:09 +00:00
Daniel Veillard
d7cfe763a9 updated the descriptions Daniel
* libxslt.spec.in: updated the descriptions
Daniel
2001-06-16 21:59:54 +00:00
Daniel Veillard
419f712f18 fixed the title, Daniel
fixed the title,
Daniel
2001-06-16 21:54:20 +00:00
Daniel Veillard
59d1ddb347 - libxslt/namespaces.[ch]: added a single namespace def copy
operation xsltCopyNamespace(). cleaned up xsltCopyNamespaceList()
- libxslt/transform.c: cleaned up xsltCopyNode to cope with
  any kind of input nodes.
- libxslt/variables.c: checked and closed the last TODO about
  namespace propagation
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-38-* tests/docs/bug-38-*: added a specific
  regression test for #56115
Daniel
2001-06-16 21:33:05 +00:00
MDT 2001 John Fleck
7cec9740f1 adding discussion of freeing memory, image files for callouts, link to
Sat Jun 16 09:27:27 MDT 2001 John Fleck <jfleck@inkstain.net>

	* updating tutorial: adding discussion of freeing memory, image
	files for callouts, link to xsltproc.c code
2001-06-16 15:46:24 +00:00
Daniel Veillard
4f38e9519c - libxslt/variables.c: bug #56267 was still not fixed, forgot
to remove the old code
- tests/general/bug-37-.xsl: wrong reference to 36 fixed, this does
  the test for good
Daniel
2001-06-16 13:25:56 +00:00
Daniel Veillard
4bfa9d3e81 - libxslt/variables.c: fixed bug #56267, namespaces must
be propagated when evaluating local variables.
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-37-* tests/docs/bug-37-*: added a specific
  regression test for #56267
Daniel
2001-06-15 22:33:52 +00:00
Daniel Veillard
e5cbfa7c12 - libxslt/keys.c: avoid a possibility of an uninitialized variable
- libxslt/documents.c libxslt/transform.[ch] libxslt/transform.h
  libxslt/xsltInternals.h libxslt/xsltproc.c: Implement Raphael Hertzog
  request to have xinclude processing done on document() if requested
Daniel
2001-06-15 16:32:33 +00:00
Daniel Veillard
ca5c158bd2 - libxslt/Makefile.am: applied patch from Sander Vesik for -j2
Daniel
2001-06-14 18:53:57 +00:00
Daniel Veillard
2e5b47750a - libxslt/preproc.c: removed a warning on xsl:transform
- tests/docs/Makefile.am tests/docs/array.xml tests/general/Makefile.am
  tests/general/array.out tests/general/array.xsl: added a new
  test fround in xsl-dev
Daniel
2001-06-14 08:09:43 +00:00
Daniel Veillard
bb3b8786f9 - tests/docbook/result/html/*.html tests/XSLTMark/xslbench[12].out
tests/xmlspec/REC-xml-20001006*.html: the changes to the HTML
  serializer of libxml impacted the result of some tests. Checked
  that the XML REC renders identically.
Daniel
2001-06-13 21:15:25 +00:00
MDT 2001 John Fleck
f05089a880 fixing embarassing typos in doc/tutorial/libxslttutorial.xml and generated
Mon Jun 11 07:19:06 MDT 2001 John Fleck <jfleck@inkstain.net>

	* fixing embarassing typos in doc/tutorial/libxslttutorial.xml and
	generated html
2001-06-11 13:21:06 +00:00
Daniel Veillard
8e0fa46829 - libxslt/variables.c: fixed bug #55670, namespaces must
be propagated when evaluating global variables.
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-36-* tests/docs/bug-36-*: added a specific
  regression test for #55670
Daniel
2001-06-11 11:44:36 +00:00
Daniel Veillard
92f7b148da linked to the tutorial Daniel
* doc/xslt.html: linked to the tutorial
Daniel
2001-06-11 07:36:43 +00:00
MDT 2001 John Fleck
33589bf73c doc/tutorial/libxslt_tutorial.c, libxslttutorial.html, libxslttutorial.xml
Sun Jun 10 19:36:31 MDT 2001 John Fleck <jfleck@inkstain.net>

	* doc/tutorial/libxslt_tutorial.c,  libxslttutorial.html,
	libxslttutorial.xml
	adding tutorial
2001-06-11 01:38:57 +00:00
Daniel Veillard
cf61bf60f1 - libxslt/transform.c: closed bug #55723, problem was due to
a limitation of xsltGetNamespace() when the insertion point
  is the document.
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-35-* tests/docs/bug-35-*: added a specific
  regression test for #55723
Daniel
2001-06-10 19:54:50 +00:00
William M. Brack
9ecd5f55df posted changes commited earlier 2001-06-10 06:58:28 +00:00
William M. Brack
2a9d67d6c3 documents.[hc] : added new procedure xsltFindDocument, needed when
documents.[hc] : added new procedure xsltFindDocument, needed when document changed within xsltApplyTemplates and xsltForEach
keys.c : saved and restored ctxt->document within xsltInitKey
transform.c : fixed several problems with document() within xsltApplyTemplates and xsltForEach.  Also cleaned up misc. messages
2001-06-10 06:30:59 +00:00
Daniel Veillard
522fda6c51 Fixed a few URLs, Daniel 2001-06-09 21:58:35 +00:00