2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
[mono.git] / mcs / class / System.XML / Mono.Xml.Xsl / ChangeLog
1 2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2
3         * Compiler.cs : More complete attribute set gathering.
4           GetNamespacesToCopy() should only return Local namespaces.
5         * GenericOutputter.cs : Added support for indentation.
6           Added easy hack for html output.
7           More correct Prefix handling (considers already defined ones).
8           Namespace emmission is moved to CheckState().
9         * Emitter.cs, XmlWriterEmitter.cs, GenericOutputter.cs, Outputter.cs :
10           Added WriteFullEndElement(). (i.e. IsEmptyElement support)
11         * GenericOutputter.cs, Outputter.cs :
12           Added CanProcessAttributes property for 
13           use-attribute-sets of xsl:copy.
14         * XslStylesheet.cs : Added support for stylesheet-defined xmlns decls.
15           Added support for exclude-result-prefixes.
16         * XslTransformProcessor.cs : Added support for stylesheet-defined xmlns.
17
18 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
19
20         * Compiler.cs : It is not important, but attribute order became closer
21           to MS.NET and Xalan (assuming from OASIS tests).
22
23 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
24
25         * GenericOutputter.cs : Attribute wasn't overwritten its properties
26           because Attribute is struct it was let to another local variable.
27
28 2003-09-28 Ben Maurer  <bmaurer@users.sourceforge.net>
29
30         * GenericOutputter.cs: make html output a warning, because doing
31         xml will be right most of the time.
32
33 2003-09-28 Ben Maurer  <bmaurer@users.sourceforge.net>
34
35         * Debug.cs: comment out {Enter, Exit}Navigator. Haven't had bugs
36         here for a long time and it hurts thread safty and memory
37         allocation.
38
39 2003-09-21 Ben Maurer  <bmaurer@users.sourceforge.net>
40
41         * Compiler.cs: save the parser (will reduce memory allocation when
42         Jackson's jay patch is committed).
43
44 2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>
45
46         * Attribute.cs: Change to struct. Remove QName class.
47         * GenericOutputter.cs: use an Attribute [] rather than an
48         ArrayList. Allows us not to allocate Attributes, which is great
49         for speed. Roll our own allocation.
50
51 2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>
52
53         * Compiler.cs: add GetNsm to main class as well.
54
55 2003-09-20 Ben Maurer  <bmaurer@users.sourceforge.net>
56
57         * Compiler.cs (ParseAvtAttribute): Get the attribue using our
58         internal version so we get null if the attr doesnt exist.
59
60 2003-09-17 Ben Maurer  <bmaurer@users.sourceforge.net>
61
62         * Compiler.cs (IStaticXsltContext.TryGetVariable): handle the case
63         where curVarScope == null
64
65 2003-09-16 Ben Maurer  <bmaurer@users.sourceforge.net>
66
67         * Compiler.cs: 
68         - Better handling of empty attributes (vs not being specified)
69         - Bug in handling #default
70         
71 2003-09-15 Ben Maurer  <bmaurer@users.sourceforge.net>
72
73         * Compiler.cs: Off by one when parsing localname of QName 
74         * XslAttributeSet.cs: must evaluate used attr sets *BEFORE*
75         children (so that they get overriden)
76
77 2003-09-15 Ben Maurer  <bmaurer@users.sourceforge.net>
78
79         * GenericOutputter.cs: Output attributes in order recieved; not
80         required by spec, but useful for running test cases.
81
82 2003-09-14 Oleg Tkachenko <oleg@tkachenko.com>
83
84         * GenericOutputter.cs - fix bug with outputting state.
85         * Emitter.cs, TextEmitter.cs, XmlWriterEmitter.cs, Outputter.cs, 
86         * TextOutputter.cs - get rid of WriteStartAttribute/WriteEndAttribute.  
87
88 2003-09-13 Ben Maurer  <bmaurer@users.sourceforge.net>
89
90         * Compiler.cs, XslKey.cs, XslTransformProcessor.cs: dont clone
91         exprs on use, pass to nav.
92
93 2003-09-13 Ben Maurer  <bmaurer@users.sourceforge.net>
94
95         * Compiler.cs: pass satic context to Pattern ctor.
96
97 2003-08-30 Oleg Tkachenko <oleg@tkachenko.com>
98
99         * New files: 
100         GenericOutputter.cs - generic Outputter implementation,
101         Attribute.cs - represents outputted attribute,
102         Emitter.cs - abstract output emitter,
103         TextEmitter.cs - text emitter,
104         XmlWriterEmitter.cs - emitter to XmlWriter.
105         * Checking of duplicating attributes is done in GenericOutputter.
106         * Namespace outputting logic is implemented in GenericOutputter.
107         * Outputter.cs: Writing namespace declarations is delegated to 
108         derived classes (GenericOutputter).
109         * XslOutput.cs: standalone flag is now 3-value enum (NONE, YES, NO).                    
110          
111 2003-08-21 Ben Maurer  <bmaurer@users.sourceforge.net>
112
113         * XslTransformProcessor.cs: evaluate variables at beginning
114         when / is current node.
115
116 2003-08-21 Ben Maurer  <bmaurer@users.sourceforge.net>
117
118         * Compiler.cs, XsltCompiledContext.cs, XslTransformProcessorcs:
119         Fix up namespace handeling
120
121 2003-08-20 Ben Maurer  <bmaurer@users.sourceforge.net>
122
123         * Compiler.cs, XslStylesheet.cs, XsltCompiledContext.cs: Stubs for
124         format-number.
125         * XslDecimalFormat.cs: Stub for decimal-format.
126
127 2003-08-20 Ben Maurer  <bmaurer@users.sourceforge.net>
128
129         * TextOutputter.cs: Add option to ignore element content (Oleg).
130
131 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
132
133         * Compiler.cs: Really give null for blank avt's
134
135 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
136
137         * Compiler.cs: Fixed lre/lre04.
138
139 2003-08-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
140
141         * Compiler.cs : Fixed XslNameUtil.FromString() so that unprefixed name
142           won't have default namespace. See http://www.w3.org/TR/xslt#qname
143
144 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
145
146         * XslTransformProcessor.cs: add support for resolving documents.
147         * XsltCompiledContext: add support for document () function.
148
149 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
150
151         * Outputter.cs, TextOutputter.cs, XmlOutputter.cs: Implement some
152         of the abstract methods in Outputter, making them call other
153         functions with default values, remove impl's in derived classes.
154
155 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
156
157         * Outputter.cs: s/Close/Done
158         * TextOutputter.cs, XmlOutputter.cs: Flush, don't close the backing.
159         * XslTransformProcessor.cs: Flush output when popping, pop at end.
160
161 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
162
163         * Outputter.cs: Add support for namespaces.
164
165 2003-08-19 Ben Maurer  <bmaurer@users.sourceforge.net>
166
167         * Compiler.cs, XslOutput.cs, XslStylesheet.cs,
168         XslTransformProcessor.cs: move output logic from XslStylesheet to
169         Compiler.
170
171 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
172
173         * XslOutput.cs: add support for encoding.
174
175 2003-08-18 Ben Maurer  <bmaurer@users.sourceforge.net>
176
177         * *.cs: Support for xsl:output. (Oleg)
178
179 2003-08-17 Ben Maurer  <bmaurer@users.sourceforge.net>
180
181         * Compiler.cs: handle extension and excluded namespaces.
182
183 2003-08-17 Ben Maurer  <bmaurer@users.sourceforge.net>
184
185         * XsltCompiledContext.cs, Compiler.cs: copy the XPathNavigator
186         from the stylesheet for correct namespace resolution.
187
188 2003-08-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
189
190         * Compiler.cs : 1) Changed public .ctor() to receive Evidence argument 
191           introduced in .NET 1.1. 2) XmlResolver object is required for 'res'.
192
193 2003-08-07 Ben Maurer  <bmaurer@users.sourceforge.net>
194
195         * XslTransformProcessor.cs: Add a table to detect when an object
196         is busy.
197         * XslAttributeSet.cs: Use the above table. Dont throw nullref
198         exception when no use-attribute-sets are specified.
199
200 2003-08-04 Ben Maurer  <bmaurer@users.sourceforge.net>
201
202         * Compiler.cs: Add support for boolean attributes (yes/no).
203
204 2003-08-04 Ben Maurer  <bmaurer@users.sourceforge.net>
205
206         * Compiler.cs: Add method LocalNameOf, to get the local name of a
207         string.
208         * XslTransformProcessor.cs: Support for setting the XmlResolver.
209
210 2003-08-01 Ben Maurer  <bmaurer@users.sourceforge.net>
211
212         * Compiler.cs, XslAttributeSet.cs: Handle attribute set merging
213
214 2003-08-01 Ben Maurer  <bmaurer@users.sourceforge.net>
215
216         * XslTransformProcessor.cs: Add EvaluateNumber method.
217
218 2003-07-31 Ben Maurer  <bmaurer@users.sourceforge.net>
219
220         * XsltCompiledContext.cs: Implement more functions.
221
222 2003-07-31 Ben Maurer  <bmaurer@users.sourceforge.net>
223
224         * Compiler.cs: Add support for key, utility function to parse
225         QName's from the XsltContext. Store keys in the CompiledStyle, not
226         in the Stylesheet.
227         * XslKey.cs: Real implementation
228         * XslStylesheet.cs: Move the keys to CompiledStyle.
229         * XsltCompiledContext.cs: Implement the key function
230
231 2003-07-31 Ben Maurer  <bmaurer@users.sourceforge.net>
232
233         * XsltCompiledContext.cs: Hmm, maybe I should actually *enable*
234         the functions ;-). Also wrote current ().
235
236 2003-07-31 Ben Maurer  <bmaurer@users.sourceforge.net>
237
238         * XsltCompiledContext.cs: Remove excess conversion stuff. It is
239         done in XPath. Add stubs for XSLT functions.
240
241 2003-07-31 Ben Maurer  <bmaurer@users.sourceforge.net>
242
243         * Compiler.cs: To resolve a variable you now need to pass the
244         processor, so that it can be passed to IsEvaluated. A local will
245         only be resolved if it has already been evaluated.
246         * XsltCompiledContext.cs: Pass along the processor.
247         
248 2003-07-30 Ben Maurer  <bmaurer@users.sourceforge.net>
249
250         * Compiler.cs, XslTemplate.cs, XslTransformProcessor.cs: Store
251         variable values in the XslTransformProcessor.
252         * XsltCompiledContext.cs: If the scope is null, don't look there!
253         * Debug.cs: New method Assert
254
255 2003-07-30 Ben Maurer  <bmaurer@users.sourceforge.net>
256
257         * Compiler.cs, XsltCompiledContext.cs: Remove verbose messages
258         * XslTransformProcessor.cs: Use strongtyped evaluation, using new
259         internal methods in XPathNavigator. Remove verbose debugging messages.
260
261 2003-07-29 Ben Maurer  <bmaurer@users.sourceforge.net>
262
263         * Initial Checkin
264