* BuildEngine.cs (BuildProjectFile): Use AddProperty method to specify
[mono.git] / mcs / class / System.XML / System.Xml.Xsl / ChangeLog
1 2008-12-09  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * XslCompiledTransform.cs : Fixed bug #450797, patch by Jonathan
4           Anderson. Preserve whitespace-only text in xsl:text.
5
6 2008-06-03  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * XslTransform.cs : add pretty simple printing debugger.
9
10 2008-05-22  Atsushi Enomoto  <atsushi@ximian.com>
11
12         * XslCompiledTransform.cs : in XmlWriterSettings, use
13           ConformanceLevel.Fragment to allow fragment output.
14           In Transform(string,string), use TextWriter output instead of
15           XmlWriter to control xml declaration output.
16           Fixed bug #391424.
17
18 2007-12-27  Atsushi Enomoto  <atsushi@ximian.com>
19
20         * XslCompiledTransform.cs : when loading XmlReader as an input to
21           Transform(), preserve whitespaces in the input document. Based on
22           the patch by Tor Lillqvist (part of #349375 fix).
23
24 2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>
25
26         * XslCompiledTransform.cs : actually previous change was not enough.
27           Added a commented-out example of debugger method usage.
28
29 2007-10-10  Atsushi Enomoto  <atsushi@ximian.com>
30
31         * XslCompiledTransform.cs : a bit more of debugging help. Now it
32           stores stylesheet elements when "enableDebug" is true.
33
34 2007-06-28  Atsushi Enomoto  <atsushi@ximian.com>
35
36         * XslCompiledTransform.cs XslTransform.cs : initial attempt to
37           support external debugger.
38
39 2006-11-30  Atsushi Enomoto  <atsushi@ximian.com>
40
41         * XslTransform.cs, XsltException.cs : added XSLT stack frame debug
42           support, based on the patch by Michael Meeks.
43
44 2006-10-27  Atsushi Enomoto  <atsushi@ximian.com>
45
46         * XsltContext.cs : finally created a non-copyright-infringing test
47           for bug #46751 and fixed it.
48
49 2006-07-06  Atsushi Enomoto  <atsushi@ximian.com>
50
51         * XslCompiledTransform.cs : making stub more complete :|
52
53 2006-05-29  Gert Driesen  <drieseng@users.sourceforge.net>
54
55         * XsltContext.cs: Ctors are public in .NET 1.1. Fixes warnings in 
56         class status page. Set eol-style to CRLF.
57
58 2006-05-08  Atsushi Enomoto  <atsushi@ximian.com>
59
60         * XslTransform.cs : fixed ObsoleteAttributes. It won't be harmful
61           as we have working XslCompiledTransform stubs.
62
63 2006-02-22  Atsushi Enomoto  <atsushi@ximian.com>
64
65         * XsltContext.cs : don't expect that it is always XsltCompiledContext
66           which is being evaluated in XPathExpression. Dispatch overriden
67           methods. Fixed bug #46751.
68
69 2006-01-25  Atsushi Enomoto  <atsushi@ximian.com>
70
71         * XsltContext.cs : fixed method signatures found by updated
72           corcompare.
73
74 2005-12-23  Gert Driesen  <drieseng@users.sourceforge.net>
75
76         * IXsltContextFunction.cs: Fixed line endings (all CRLF).
77         * IXsltContextVariable.cs: Fixed line endings (all CRLF).
78         * XsltContext.cs: Fixed line endings (all CRLF).
79         * XsltCompileException.cs: Fixed line endings (all CRLF).
80         Fixed message to correspond with both MS.NET 1.x and 2.0.
81         * XslTransform.cs: Fixed line endings (all CRLF).
82         * XsltArgumentList.cs: Fixed line endings (all CRLF).
83         * XsltException.cs: Fixed line endings (all CRLF). Fixed message to
84         correspond with MS.NET 1.x and 2.0.
85
86 2005-11-22  Atsushi Enomoto  <atsushi@ximian.com>
87
88         * XslCompiledTransform.cs : added non-compiler transformer (aka. stub).
89
90 2005-11-07  Atsushi Enomoto  <atsushi@ximian.com>
91
92         * XsltException.cs : under 2.0, some properties are virtual.
93
94 2005-11-07  Andrew Skiba  <andrews@mainsoft.com>
95
96         * XslTransform.cs: throw meaningful exception when Transform is
97         called before Load
98
99 2005-10-08  Gert Driesen  <drieseng@users.sourceforge.net>
100
101         * XsltSettings.cs: Marked sealed.
102
103 2005-09-16  Atsushi Enomoto  <atsushi@ximian.com>
104
105         * XslTransform.cs : When Transform() returns XmlReader, allow empty
106           results. Fixed bug #76115.
107
108 2005-08-31  Sebastien Pouliot  <sebastien@ximian.com>
109
110         * XsltArgumentList.cs: Added a LinkDemand for Unrestricted on 
111         AddExtensionObject method.
112         * XsltCompileException.cs: Added a Demand for SerializationFormatter 
113         on GetObjectData method.
114         * XsltException.cs: Added a Demand for SerializationFormatter on
115         GetObjectData method.
116
117 2005-08-01  Gert Driesen  <drieseng@users.sourceforge.net>
118
119         * XsltArgumentList.cs: No longer sealed in .NET 2.0.
120         * XsltException.cs: Message override is back in .NET 2.0 Beta 2.
121
122 2005-06-27  Atsushi Enomoto  <atsushi@ximian.com>
123
124         * XsltMessageEncounteredEventArgs.cs : it seems abstract.
125         * XsltSettings.cs : There is another .ctor().
126
127 2005-06-27  Atsushi Enomoto  <atsushi@ximian.com>
128
129         * XsltSettings.cs,
130           XsltMessageEncounteredEventArgs.cs,
131           XsltMessageEncounteredEventHandler.cs : new files for net_2_0.
132         * XsltArgumentList.cs : added 2.0 message event.
133
134 2005-04-03  Ben Maurer  <bmaurer@ximian.com>
135
136         * *.cs: Kill unmanaged xslt and the multiplexing hack.
137
138 2005-03-22  Atsushi Enomoto  <atsushi@ximian.com>
139
140         * XslTransform.cs : commented out warned code.
141
142 2005-03-09  Atsushi Enomoto  <atsushi@ximian.com>
143
144         * XsltContext.cs : removed GetNsm() from IStaticXsltContext and added
145           LookupNamespace() instead.
146         * BUGS-MS.txt : more bug info.
147
148 2005-03-04  Atsushi Enomoto  <atsushi@ximian.com>
149
150         * BUGS-MS.txt : more bug info.
151
152 2005-02-25  Atsushi Enomoto  <atsushi@ximian.com>
153
154         * BUGS-MS.txt : still more bug info.
155
156 2005-02-25  Atsushi Enomoto  <atsushi@ximian.com>
157
158         * BUGS-MS.txt : more bug info.
159
160 2005-02-24  Atsushi Enomoto  <atsushi@ximian.com>
161
162         * XslTransformImpl.cs : Load() should use argument XmlResolver to
163           get file stream. This fixes bug #72942.
164         * BUGS-MS.txt : more bug info.
165
166 2005-02-23  Atsushi Enomoto  <atsushi@ximian.com>
167
168         * BUGS-MS.txt : all output_outputXXX comparison does not make sense.
169
170 2005-02-22  Atsushi Enomoto  <atsushi@ximian.com>
171
172         * BUGS-MS.txt : explaination on the last standalone test revert.
173
174 2005-02-21  Atsushi Enomoto  <atsushi@ximian.com>
175
176         * BUGS-MS.txt : more bug records.
177
178 2005-02-18  Atsushi Enomoto  <atsushi@ximian.com>
179
180         * BUGS-MS.txt : more bug records.
181
182 2005-02-17  Atsushi Enomoto  <atsushi@ximian.com>
183
184         * BUGS-MS.txt : added MS bug information.
185
186 2005-02-17  Atsushi Enomoto  <atsushi@ximian.com>
187
188         * ManagedXslTransform.cs : no need to write XML declaration here.
189
190 2004-12-08  Atsushi Enomoto  <atsushi@ximian.com>
191
192         * XsltException.cs, XsltCompileException.cs :
193           added SecurityPermissionAttributes.
194
195 2004-10-09  Atsushi Enomoto  <atsushi@ximian.com>
196
197         * XsltException.cs : Message is incorrectly regarded only after 2.0
198           (while it *disappeared* in 2.0).
199
200 2004-08-30  Atsushi Enomoto  <atsushi@ximian.com>
201
202         * XsltException.cs : Message property is not overriden in NET_2_0.
203
204 2004-08-30  Atsushi Enomoto  <atsushi@ximian.com>
205
206         * XsltException.cs : added NET_2_0 constructors too.
207
208 2004-08-30  Atsushi Enomoto  <atsushi@ximian.com>
209
210         * XsltCompileException.cs : added NET_2_0 constructors.
211           Hide property Message under NET_2_0.
212
213 2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>
214
215         * ManagedXslTransform.cs : For Stream input, use StreamWriter for 
216           input to GenericOutputter. Passing XmlWriter causes unexpected
217           xml declaration output.
218
219 2004-03-27  Atsushi Enomoto  <atsushi@ximian.com>
220
221         * XsltContext.cs : Supply NameTable to base ctor().
222
223 2004-03-22  Atsushi Enomoto  <atsushi@ximian.com>
224
225         * XsltException.cs, XsltCompileException.cs : They had used 
226           message field which were never set.
227
228 2004-01-16  Atsushi Enomoto  <atsushi@ximian.com>
229
230         * Multiplexer.cs : Pass stream parameters as is (to handle
231           encoding correctly). Patch by Dariusz Olszewski. Bug #52913 fixed.
232         * ManagedXslTransform.cs : In ctor() with stream, pass encoding 
233           parameter also for managed transformer.
234
235 2004-01-15  Atsushi Enomoto  <atsushi@ximian.com>
236
237         * ManagedXslTransform.cs : Pass TextReader's encoding for outputter.
238           don't write start and end document.
239
240 2003-12-25  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
241
242         * Multiplexer.cs : Now we use managed XSLT engine by default.
243           Added obsolete attribute to Transform()s without xmlresolver.
244
245 2003-12-07  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
246
247         * XsltException.cs, XsltCompileException.cs : Added locatable .ctor().
248
249 2003-12-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
250
251         * Multiplexer.cs : set_XmlResolver is marked as obsolete.
252           Added new Transform() methods introduced in .NET 1.1.
253           CRLF and LF are desparately mixed, so adjusted to LF.
254         * XslTransform.cs :
255           CRLF and LF are desparately mixed, so adjusted to CRLF.
256
257 2003-12-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
258
259         * XslTransformImpl.cs : Load(XmlReader) should pass XmlSpace.Preserve
260           to XPathDocument.ctor().
261
262 2003-11-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
263
264         * ManagedXslTransform.cs : Now WriteStartDocument() is moved internal to
265           GenericOutputter.
266
267 2003-11-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
268
269         * ManagedXslTransform.cs : Transform() should raise an error if no 
270           stylesheet was loaded.
271
272 2003-10-04  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
273
274         * XslTransformImpl.cs : Load(url, resolver) now uses XPathDocument
275           .ctor(url, xmlSpace).
276
277 2003-08-30 Oleg Tkachenko <oleg@tkachenko.com>
278         * ManagedXslTransform.cs: Outputter/Emitter selection logic is moved 
279         to GenericOutputter.
280
281 2003-08-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
282
283         * XslTransform.cs: commented out Cleanup () because of bug #47776.
284
285 2003-08-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
286
287         * Multiplexer.cs: fixed infinite recursion bug.
288
289 2003-08-20 Ben Maurer  <bmaurer@users.sourceforge.net>
290
291         * ManagedXslTransform.cs: sync API (Oleg).
292
293 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
294
295         * ManagedXslTransform.cs: sync to API changes.
296
297 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
298
299         * ManagedXslTransform.cs, XslTransformImpl.cs: Add support for
300         encoding.
301
302 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
303
304         * *.cs: Support for xsl:output. (Oleg)
305
306 2003-08-17 Ben Maurer  <bmaurer@users.sourceforge.net>
307
308         * XslTransformImpl.cs: close XmlTextWriter when we create it.
309
310 2003-08-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
311
312         * XslTransformImpl.cs, XslTransform.cs, Multiplexer.cs,
313           ManagedXslTransform.cs : Added Evidence args introduced in .NET 1.1.
314
315 2003-08-11  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
316
317         * XsltCompileException.cs: Fixed/ Implemented rest
318         * XsltException.cs: Added internal constructor
319
320 2003-08-04 Ben Maurer  <bmaurer@users.sourceforge.net>
321
322         * ManagedXslTransform.cs: use the resolver given.
323
324 2003-07-30 Ben Maurer  <bmaurer@users.sourceforge.net>
325
326         * ManagedXslTransform.cs: Hold reference to CompiledStyle, not the
327         XslTransformProcessor. Will help with thread safty.
328
329 2003-07-30 Ben Maurer  <bmaurer@users.sourceforge.net>
330
331         * ManagedXslTransform.cs: remove verbose debugging messages
332
333 2003-07-28 Ben Maurer  <bmaurer@users.sourceforge.net>
334
335         * XslTransform.cs: Use the new XslTransformImpl class
336         * XslTransformImpl.cs: An abstract class for Xsl transforms
337         * UnmanagedXslTransform.cs: Contains the code that was in
338         XslTransform.cs
339
340 2003-07-27  Piers Haken <piersh@friskit.com>
341
342         * XsltArgumentList.cs:
343                 fix type conversions in ValidateParam
344                 allow creating params with null namespaceUri
345
346 2003-07-05  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
347
348         * XslTransform.cs : fixed WriteTree() and WriteCurrentNode() to follow
349           the recent changes of XPathNavigator implementations.
350
351 2003-07-02  Zoltan Varga  <vargaz@freemail.hu>
352
353         * XslTransform.cs (Transform): Call xsltSaveResultToFilename instead
354         of first reading the result into a string to conserve memory.
355
356 2003-06-30  Zoltan Varga  <vargaz@freemail.hu>
357
358         * XslTransform.cs (GetStringFromDocument): Read the result using
359         xsltSaveResultToString, since the XML document returned by
360         applyStylesheet is missing the output processing done due to the
361         usage of the xsl:output directive.
362
363 2003-06-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
364
365         * XslTransform.cs : Fixed Transform (string, string) not to call
366           File.OpenWrite() that *appends* (not truncates) existing files.
367
368 2003-06-01  Joshua Tauberer <tauberer@for.net>
369
370         * XslTransform.cs: Cache extension object delegates
371         between calls to Transform.
372
373 2003-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
374
375         * XslTransform.cs: fixed NullReferenceExceptions after the last
376         change (which, btw, should have included a ChangeLog entry).
377
378 2003-05-27  Joshua Tauberer <tauberer@for.net>
379
380         * XslTransform.cs: Initial support for extension objects.
381         Known issues:
382                 -Extension method signatures must match exactly to the
383                 types of parameters that the method is called with from 
384                 the stylesheet.
385
386                 -Node set parameters are converted to an ArrayList of
387                 strings.
388
389 2003-05-27  Ben Maurer <bmaurer@users.sourceforge.net>
390
391         * XslTransform.cs: unsafe classes need unsafe!
392
393 2003-05-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
394
395         * XslTransform.cs: fixed bug #42739.
396
397 2003-05-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
398
399         * XslTransform.cs: fixed bug #42747.
400
401 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
402
403         * XslTransform.cs: flush the writers when done. Fixes bug #42040.
404
405 2003-03-10  Alan Tam <Tam@SiuLung.com>
406
407         * XslTransform.cs: Fixed a bug when no args is passed
408
409 2003-03-10  Alan Tam <Tam@SiuLung.com>
410
411         * XslTransform.cs: Implemented boolean, number and string parameters.
412         (Node Set and Node Iterator parameters and Extension Objects are left.)
413         * XsltAttributeList.cs: Loosened access modifiers.
414
415 2003-02-20  Nick Drochak <ndrochak@gol.com>
416
417         * XslTransform.cs: Remove confusing and unused parameter.
418
419 2003-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
420
421         * XslTransform.cs: don't free the xml document used for the style sheet.
422         xmlFreeStylesheet already does it. Correctly close the element tag for
423         elements that don't have children. Added a couple of checks more.
424
425 2003-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
426
427         * XslTransform.cs: fixed a couple of Transform overloads and changed the
428         library name in DllImport to make it work on windows too.
429
430 2003-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
431
432         * XslTransform.cs: implemented all Load and Transform methods. It uses
433         libxml2 and libxslt. No more temp files. It's slow and memory consuming,
434         but, well, that's XSLT... ;-). Idea from Zdravko Tashev.
435
436         Now the Xsl web control works.
437
438 2002-09-23  Duncan Mak  <duncan@ximian.com>
439
440         * XslTransform.cs (Laod): Implemented the simple version that
441         takes one XPathNavigator as argument.
442         (Save): New private method for recreating the XML in text from a
443         XPathNavigator
444         (WriteCurrentNode):
445         (WriteTree): private methods for generating the text XML from the
446         XPathNavigator tree.
447
448 2002-09-20  Duncan Mak  <duncan@ximian.com>
449
450         * XslTransform.cs (Load): Implemented the methods, not
451         including the ones that deal with XPathNavigator (hopefully those
452         will come later).
453         (Transform): Implemented the version that saves directly to a file.
454         (Save): New private method for recreating the XML in text from
455         from an XmlReader
456
457         We're now P/Invoking libxslt for doing XSLT work.
458
459 2002-06-23  Piers Haken <piersh@friskit.com>
460         
461         * XsltContext.cs: added 'PreserveWhitespace' abstract method
462