2005-02-09 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / Mono.Xml.Xsl.Operations / ChangeLog
1 2005-02-09  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * XslForEach.cs : Don't bork at <xsl:for-each/>. Patch by Andrew Skiba.
4
5 2005-02-08  Atsushi Enomoto  <atsushi@ximian.com>
6
7         * XslProcessingInstruction.cs : MS.NET recovers from invalid PI name
8           (it must be both NCName and PITarget, or must be ignored). Patch by
9           Andrew Skiba.
10
11 2005-02-08  Atsushi Enomoto  <atsushi@ximian.com>
12
13         * XslTemplateContent.cs : MS.NET recovers from incorrect non-text
14           children in attribute, PI and comments. Patch by Andrew Skiba.
15
16 2004-01-17  Atsushi Enomoto  <atsushi@ximian.com>
17
18         * XslVariable.cs : use DTMXPathDocumentWriter2.
19
20 2004-11-28  Atsushi Enomoto  <atsushi@ximian.com>
21
22         * XslVariable.cs : Local param might be overriden by XsltArgumentList.
23
24 2004-11-26  Atsushi Enomoto  <atsushi@ximian.com>
25
26         * XslElement.cs : warning removal.
27
28 2004-11-24  Atsushi Enomoto  <atsushi@ximian.com>
29
30         * XslVariable.cs,
31           XslComment.cs 
32           XslApplyImports.cs,
33           XslCompiledElement.cs : removed unused field.
34
35 2004-06-18  Atsushi Enomoto  <atsushi@ximian.com>
36
37         * XslNumber.cs : Globalization. Removed unused code.
38
39 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
40
41         * XslCopyOf.cs : When evaluation result was result tree fragment (i.e.
42           XPathNavigator) output its content (children).
43         * XslNumber.cs : Reflected CompilePattern() change.
44         * XslTemplateContent.cs : Don't throw System.Exception.
45         * XslVariable.cs : XslVariableInformation.Evaluate() now returns
46           XPathNavigator, not NodeSet (it should not return "children", since
47           the node pointed by XPathNavigator should be referenced as Root).
48
49 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
50
51         * XslNumber.cs : made enum internal
52
53 2004-04-24 Atsushi Enomoto <atsushi@ximian.com>
54
55         * XslApplyImport.cs, XslApplyTemplates.cs, XslAttribute.cs,
56           XslAvt.cs, XslCallTemplate.cs, XslComment.cs, XslCompiledElement.cs,
57           XslCopy.cs, XslCopyOf.cs, XslElement.cs, XslFallback.cs,
58           XslForeach.cs, XslIf.cs, XslLiteralElement.cs, XslMessage.cs,
59           XslNumber.cs, XslOperation.cs, XslProcessingInstruction.cs,
60           XslTemplateContent.cs, XslText.cs, XslValueOf.cs, XslVariable.cs :
61           make extra classes internal.
62
63 2004-04-24 Atsushi Enomoto <atsushi@ximian.com>
64
65         * XslProcessingInstruction.cs : Culture independency fix.
66
67 2004-04-01 Atsushi Enomoto <atsushi@ximian.com>
68
69         * XslVariable.cs : When evaluated variable was BaseIterator, its
70           iterated nodes must be collected in prior. Otherwise, it might be
71           evaluated later with inconsistent level of variable stack in
72           XslTransformProcessor. This fixes bug #55876.
73
74 2004-03-22 Atsushi Enomoto <atsushi@ximian.com>
75
76         * XslApplyTemplates.cs,
77           XslAvt.cs,
78           XslCallTemplate.cs,
79           XslChoose.cs,
80           XslIf.cs,
81           XslMessage.cs,
82           XslNumber.cs,
83           XslVariable.cs :
84           Throw XsltCompileException instead of Exception.
85         * XslVariable.cs : Reject invalid attributes.
86
87 2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
88
89         * XslVariable.cs : Replaced XmlNodeWriter with DTMXPathDocumentWriter.
90
91 2004-01-27 Atsushi Enomoto <atsushi@ximian.com>
92
93         * XslIf.cs : When content is empty, skip content evaluation.
94
95 2004-01-14 Atsushi Enomoto <atsushi@ximian.com>
96
97         * XslVariable.cs : Use new GenericOutputter.ctor() to indicate it is
98           created for variable. (It is required not to output "PI for xmldecl"
99           incorrectly.)
100         * XslNumber.cs : trivial code refactoring.
101         * XslCopy.cs : comment out WriteLine().
102
103 2004-01-08  Nick Drochak <ndrochak@ieee.org>
104
105         * XslAttribute.cs: Removed unused variable
106
107 2003-12-20 Atsushi Enomoto <atsushi@ximian.com>
108
109         * XslLiteralElement.cs : considering xsl:imports, we have to evaluate
110           namespace aliases at the first evaluation.
111         * XslNumber.cs : Fixed incorrect "any" level numbering (and 
112           optimization), format string handling, grouping-separator.
113
114 2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
115
116         * XslLiteralElement.cs : Pretty fix for prefix.
117         * XslNumber.cs : Fix for rounding value and decimal digits hack.
118
119 2003-12-05 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
120
121         * XslAttribute.cs, XslElement.cs, XslVariable.cs : Check name.
122         * XslChoose.cs : Check content validity (xsl:when or xsl:otherwise).
123         * XslComment.cs, XslCopy.cs, XslProcessingInstruction.cs, 
124           XslValueOf.cs : Check content and attributes.
125         * XslCompiledElement.cs : Added ParentType to check content validity.
126         * XslCopy.cs : Check attribute set existence.
127         * XslCopy.cs, XslCopyOf.cs  Don't output whitspace as cdata.
128         * XslLiteralElement.cs : Added extension element prefixes as 
129           namespace exclusion target. Consider namespace-aliases.
130         * XslNumber.cs : level="any" should also be emptiable. MatchesCount()
131           should also consider node type. Reverted a little formatting stuff.
132         * XslTemplateContent.cs : Check if content nodes are containable.
133         * XslText.cs : New .ctor() argument, specifying if it is whitespace.
134           Never output whitespace as cdata.
135
136 2003-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
137
138         * XslNumber.cs : Fixed GetFormatNumber() not to emit number (0) in
139           case of count 0.  Improved format-string, but still wondering.
140
141 2003-12-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
142
143         * XslElement.cs, XslCopy.cs, XslCopyOf.cs, XslLiteralElement.cs :
144           Modified cdata-section-elements handling.
145         * XslAttribute.cs, XslElement.cs : Fixed incorrect prefix handling.
146         * XslComment.cs : In case of empty value, don't call value.Evaluate().
147         * XslCopyOf.cs : Element node should consider cdata-section elements.
148
149 2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
150
151         * XslCopy.cs, XslCopyOf.cs : namespace nodes should be written.
152
153 2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
154
155         * XslAttribute.cs, XslElement.cs, XslLiteralElement.cs :
156           More precise namespace handling.
157         * XslCopy.cs, XslElement.cs, XslLiteralElement.cs :
158           Added cdata-section-elements support.
159         * XslNumber.cs :
160           Cases when value is NodeSet should be allowed.
161           Default output should be 1,2,3... not exception. see XSLT spec 7.7.1
162
163 2003-11-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
164
165         * XslAttribute.cs : Name verification.
166         * XslElement.cs : Name verification. Consider IsEmptyElement.
167         * XslCopy.cs : copy namespace nodes too.
168
169 2003-11-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
170
171         * XslAttribute.cs : namespace should be String.Empty if no specification
172           exists.
173         * XslNumber.cs : default format string is "1". See XSLT spec. 7.7.1.
174
175 2003-11-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
176
177         * XslCompiledElement.cs, XslAttribute.cs, XslElement.cs :
178           Removed Clone() everywhere. Limited only to required places.
179
180 2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
181
182         * XslCompiledElement.cs : Added InputNode for namespace-prefix support.
183         * XslAttribute.cs, XslElement.cs, XslLiteralElement.cs :
184           Correct Prefix support.
185         * XslLiteralElement.cs : Moved xmlns output after attribute sets.
186         * XslCopy.cs : Added use-attribute-sets support for Root XPath type.
187         * XslCopy.cs, XslCopyOf.cs, XslLiteralElement.cs : Support for
188           IsEmptyElement (XslElement not yet. confirm what OASIS tests expect).
189         * XslCopy.cs, XslElement.cs, XslLiteralElement.cs : 
190           Support for stylesheet xmlns decls emission.
191
192 2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>
193
194         * XslAttribute.cs, XslElement.cs: Allow dynamically parsed names.
195
196 2003-09-19 Ben Maurer  <bmaurer@users.sourceforge.net>
197
198         * XslCopyOf.cs: handle attributes.
199
200 2003-09-15 Ben Maurer  <bmaurer@users.sourceforge.net>
201
202         * XslLiteralElement.cs: must evaluate used attr sets *BEFORE*
203         children (so that they get overriden).
204
205 2003-09-14 Oleg Tkachenko <oleg@tkachenko.com>
206         
207         * XslCopyOf.cs - WriteAttributeString instead of 
208         WriteStartAttribute/WriteString/WriteEndAttribute.
209
210 2003-09-13 Ben Maurer  <bmaurer@users.sourceforge.net>
211
212         * XslLiteralElement.cs: reduce enumerator allocation.
213
214 2003-08-30 Oleg Tkachenko <oleg@tkachenko.com>
215
216         * XslAttribute.cs: output is now done to TextOutputter, which outputs 
217         to a StringWriter.
218         * XslVariable.cs: output is done to GenericOutputter.
219
220 2003-08-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
221
222         * XslVariable.cs : use newly introduced XmlNodeWriter.ctor(false) to
223           support for tree fragment, not only for single element.
224
225 2003-08-20 Ben Maurer  <bmaurer@users.sourceforge.net>
226
227         * XslComment.cs, XslMessage.cs, XslProcessingInsturction.cs:
228         Ignore element contnet, per spec. (Oleg)
229
230 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
231
232         * XslNumber.cs: Better support for formatting.
233
234 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
235
236         * XslNumber.cs: Support for multiple level numbering
237
238 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
239
240         * XslNumber.cs: Initial support.
241
242 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
243
244         * XslCopyOf.cs, XslLiteralElement: Use namespace support in Outputter.
245
246 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
247
248         * XslVariable.cs: sync to API changes.
249
250 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
251
252         * *.cs: Support for xsl:output. (Oleg)
253
254 2003-08-17 Ben Maurer  <bmaurer@users.sourceforge.net>
255
256         * XslCopyOf.cs: handle default ns
257         * XslFallback.cs: implement
258         * XslLiteralElement.cs: copy namespaces that were declared.
259         * XslTemplateContent.cs: handle ext elements
260         
261 2003-08-17 Ben Maurer  <bmaurer@users.sourceforge.net>
262
263         * XslComment.cs, XslTemplateContent.cs: remove dead variables.
264
265 2003-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
266
267         * XslComment.cs: patch by BenM that implements Evaluate.
268
269 2003-08-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
270
271         * XslCallTemplates.cs : Forgot to commit ;-)
272
273 2003-08-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
274
275         * XslApplyTemplates.cs,
276           XslCallTemplate.cs : Should accept other than element content such
277           as comment and PI.
278         * XslNumber.cs : In Compile(), 'value' might not exist. (Think about 
279           it later if how it should be.)
280         * XslTemplateContent.cs : "comment" and "number" support. (I know they
281           are still incomplete.)
282
283 2003-08-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
284
285         * Added XslComment.cs.
286
287 2003-08-05 Ben Maurer  <bmaurer@users.sourceforge.net>
288
289         * XslVariable.cs: Fix up how variables are evaluated.
290
291 2003-08-04 Ben Maurer  <bmaurer@users.sourceforge.net>
292
293         * XslMessage.cs: Implement.
294
295 2003-08-04 Ben Maurer  <bmaurer@users.sourceforge.net>
296
297         * XslText.cs: I can make that parsing simpler!
298         * XslText.cs, XslValueof.cs: support for disable-output-escaping.
299
300 2003-08-04 Ben Maurer  <bmaurer@users.sourceforge.net>
301
302         * XslElement.cs, XslAttribute.cs: Better support for namespaces.
303         * XslAvt.cs: When precalculating, if the AVT is null (ie, the
304         attribute was not specified), just return null, that will be the
305         result.
306
307 2003-08-01 Ben Maurer  <bmaurer@users.sourceforge.net>
308
309         * XslNumber.cs: More stubbing.
310
311 2003-07-31 Ben Maurer  <bmaurer@users.sourceforge.net>
312
313         * XslNumber.cs: Stub for parsing xsl:number.
314
315 2003-07-31 Ben Maurer  <bmaurer@users.sourceforge.net>
316
317         * XslVariable.cs: Add IsEvaluated.
318
319 2003-07-30 Ben Maurer  <bmaurer@users.sourceforge.net>
320
321         * XslApplyTemplates.cs, XslCallTemplate.cs, XslCompiledElement.cs,
322         XslTemplateContent.cs, XslVariable.cs:
323         Store variable values in the XslTransformProcessor
324
325
326 2003-07-30 Ben Maurer  <bmaurer@users.sourceforge.net>
327
328         * XslAvt.cs, XslCopyOf.cs, XslIf.cs, XslText.cs, XslValueOf.cs,
329         XslVariable.cs:
330         Use new strong typed methods, remove verbose debugging messages.
331
332
333 2003-07-29 Ben Maurer  <bmaurer@users.sourceforge.net>
334
335         * Initial Checkin
336