Commit Graph

308 Commits

Author SHA1 Message Date
Daniel Veillard
399ff26ba4 fixed exclude-result-prefixes handling and how namespaces propagate from
* 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
2001-07-09 13:59:13 +00:00
Daniel Veillard
451c656c3b Norm pointed out that element-available() didn't work, implemented it
* libxslt/extra.c libxslt/functions.c libxslt/transform.[ch]
  libxslt/variables.h: Norm pointed out that element-available()
  didn't work, implemented it
* tests/extensions/Makefile.am tests/extensions/list.*: added
  a test for all registered xslt element, function and default
  extensions.
Daniel
2001-07-08 20:21:05 +00:00
Daniel Veillard
ed83d63ecc added a test for URI-escaping on document() input Daniel
* tests/documents/Makefile.am 'tests/documents/doc file.xml'
  tests/documents/docfile.xml tests/documents/test.result
  tests/documents/test.xml tests/documents/test.xsl:
  added a test for URI-escaping on document() input
Daniel
2001-07-08 18:45:45 +00:00
Daniel Veillard
c2dc2ac6eb added a couple of regression tests for bugs posted on the list Daniel
* tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-49-* tests/docs/bug-49-*
  tests/general/bug-50-* tests/docs/bug-50-*: added a
  couple of regression tests for bugs posted on the list
Daniel
2001-07-08 14:35:46 +00:00
Daniel Veillard
eaf4a6610a avoid generating CDATA node in document tree when parsed, force generation
* libxslt/xsltproc.c: avoid generating CDATA node in document
  tree when parsed, force generation of text nodes instead.
Daniel
2001-07-08 13:42:21 +00:00
Daniel Veillard
47e3ce6e65 fixed a number of typo found by Dan York improved the profiling ouput,
* doc/extensions.html: fixed a number of typo found by Dan York
* libxslt/xsltutils.c: improved the profiling ouput, added the
  average value too.
Daniel
2001-07-08 12:40:43 +00:00
Daniel Veillard
efd1c03b77 tryingt to fix a problem raised by Norm Daniel
* libxslt/variables.c: tryingt to fix a problem raised by Norm
Daniel
2001-07-07 22:12:33 +00:00
Daniel Veillard
a48ce8ba9d added gettimeofday() check profiling works option --profile (or --norman
* config.h.in configure.in: added gettimeofday() check
* libxslt/transform.c libxslt/xsltInternals.h libxslt/xsltutils.[ch]:
  profiling works option --profile (or --norman ;)
Daniel
2001-07-07 21:24:06 +00:00
Daniel Veillard
6744bd096b - libxslt/templates.c libxslt/transform.c libxslt/transform.h
libxslt/variables.c: big cleanup on the way templates or
  template fragments are processed, cleanup of stack building
- tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-4[1-8]-* tests/docs/bug-4[1-8]-*: added a
  series of regression test for the variable/params lookups
- libxslt/transform.c libxslt/xsltutils.[ch] libxslt/xsltproc.c:
  started working on profiling code, there is just invocation counting
  yet but the framework is in place.
Daniel
2001-07-07 17:05:02 +00:00
Daniel Veillard
78e30d87ad added a specific regression test for the variable scope within templates
* tests/docs/Makefile.am tests/general/Makefile.am
  tests/general/bug-40-* tests/docs/bug-40-*: added a specific
  regression test for the variable scope within templates problem
Daniel
2001-07-07 09:21:53 +00:00
William M. Brack
22de9c0838 Fixed variable scope problem 2001-07-07 09:11:11 +00:00
Daniel Veillard
d237fa7915 updated the top page, Daniel 2001-07-07 00:14:50 +00:00
Daniel Veillard
ce69a281a6 Cleanup and added a entry for the shutdown function.
Daniel
2001-07-06 16:33:55 +00:00
Daniel Veillard
bdffe03d8d Writing documentation blows but is really needed <grin/>
* doc/extensions.html doc/internals.html doc/xslt.html:
  added a documentation on writing libxslt extensions, and
  added links to the main page
* libxslt/functions.c libxslt/xsltInternals.h
Daniel
2001-07-06 15:44:44 +00:00
William M. Brack
95387c3033 *** empty log message *** 2001-07-06 06:49:11 +00:00
William M. Brack
96d595ac1e Cleanup messages and comments 2001-07-06 06:36:32 +00:00
Daniel Veillard
b82c1f12e8 added 0.14.0 release Daniel
* doc/xslt.html: added 0.14.0 release
Daniel
2001-07-06 00:00:14 +00:00
Daniel Veillard
5fa04b1a52 released 0.14.0 Daniel
* configure.in libxslt/xsltwin32config.h: released 0.14.0
Daniel
2001-07-05 23:44:43 +00:00
Daniel Veillard
fbe4abe1b2 rebuilt docs before release fixed a function doc header Daniel
* doc/html/*: rebuilt docs before release
* libxslt/extensions.c: fixed a function doc header
Daniel
2001-07-05 23:02:43 +00:00
Daniel Veillard
5686af1088 - FEATURES: updated - libxslt/xslt.c libxslt/xsltInternals.h: added
- 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
2001-07-05 22:43:40 +00:00
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
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