1 2003-12-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3 * Added ScriptCompilerInfo.cs.
4 * MSXslScriptManager.cs : Fixed *true* author's name.
5 Implemented basic msxsl:script support.
6 * Compiler.cs : Added Evidence member.
8 2003-12-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
10 * Compiler.cs : Check stylesheet recursion. Check decimal-format name.
11 * GenericOutputter.cs, Outputter.cs, TextOutputter.cs :
12 Added WriteWhitespace() to assure not writing whitespaces as cdata.
13 * XslAttributeSet.cs : Error check if attribute-set contains other than
14 xsl:attribute. Error should be XsltException.
15 * XslDecimalFormat.cs : Complete equality check. Allow just one
16 character value for some attributes.
17 * XslStylesheet.cs : Made whitespace control setting overridable.
18 Added Version property (for the future compatibility mode).
19 Check unrecongnized top level element.
20 * XslTemplate.cs : Check priority as a number.
21 * XslTransformProcessor.cs : PushCDataState is now PushElementState,
22 for xsl:preserve-space and xsl:strip-space support.
23 * XsltCompiledContext.cs : Implemented PreserveWhitespace() (far from
24 incomplete), PushScope and Pop
26 2003-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
28 * HtmlEmitter.cs : CloseStartElement is needed almost everywhere.
30 2003-12-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
32 * Compiler.cs : In FromListString(), it should use default ns,
34 * GenericOutputter.cs : CheckState() - attribute's Prefix should take
35 precedence. Doctype should be written even if SYSTEM id is absent.
36 Fixed possible multiple xmlns output.
38 - Encoding output using META element.
39 - Doctype name is fixed (html).
40 - Double quotation on PUBLIC and SYSTEM missing.
41 - Fixed incorrect tag name check for IMG.
42 - '>' should not be escaped.
43 * XmlWriterEmitter.cs :
44 Added newline before doctype. In WriteComment(), "--" and tail
45 '-' are not allowed (it escapes, while XmlWriter simply rejects).
46 * XslTransformProcessor.cs : cdata-section-elements should enclose
47 direct child tests only. Added PreserveWhitespace() (incomplete).
48 * XsltCompiledContext.cs : Implemented PreserveWhitespace() (incomplete).
50 2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
52 * IdPattern.cs : This should work against multiple ids.
54 2003-11-27 Ben Maurer <bmaurer@users.sourceforge.net>
57 * MSXslScriptManager.cs
59 * XslTransformProcessor.cs
60 * XsltCompiledContext.cs: Some work on msxsl script.
62 2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
64 (in general: cdata-section-elements support, correct document()
65 base uri handling, and so on)
66 * Compiler.cs : Use XmlSpace.Preserve to parse included stylesheet.
67 And move to document element. Added XslNameUtil.FromListString().
68 * Emitter.cs, HtmlEmitter.cs, TextEmitter.cs XmlWriterEmitter.cs :
69 Added WriteCDataSection().
70 * Outputter.cs, GenericOutputter.cs, TextOutputter.cs :
71 Added InsideCDataSection.
72 * GenericOutputter.cs :
73 In .ctor(), WriteState should be succeeded from output XmlWriter.
74 WriteNamespaceDecl() now drops declaration identical to existing one.
75 Removed obsolete htmlEmulation.
76 * XslOutput.cs : Added CDataSectionElements support.
77 * XslStylesheet.cs : Added BaseUri, StyleDocument and PrefixInEffect().
78 * XslTransformProcessor.cs :
79 Added Output and CurrentOutputUri. TryStylesheetNamespaceOutput()
80 now considers xsl:exclude-element-prefixes on literal element.
81 Added PushCDataState() and PopCDataState().
82 * XsltCompiledContext.cs : When base uri of document() target is empty,
83 then it should use stylesheet's BaseURI, not that of current document.
85 2003-11-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
87 * Compiler.cs : Modified decimal-format comparison code.
90 GenericOutputter.cs : Added WriteState. Now WriteStartDocument() will
91 be called only when required.
92 * HtmlEmitter.cs : Improved indentation stuff.
93 * XslDecimalFormat.cs : Added incomplete implementation of
94 CheckSameAs() and FormatNumber().
96 XslTransformProcessor.cs : Changed XslStylesheet.StylesheetNamespaces
97 from StringDictionary to ArrayList of QName (to keep order).
99 2003-11-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
101 * XsltCompiledContext.cs : XsltGenerateId.Evaluate() should consider
102 node type (i.e. attribute and namespace). Removed extraneous Clone().
103 Fixed XsltKey.Evaluate() to use MoveToNextAttribute to iterate attrs.
105 2003-11-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
107 * Compiler.cs : Changed Keys from ArrayList to Hashtable.
108 XslStylesheet.cs : Added Keys support here.
109 * XslTransformProcessor.cs : Should call SetContext() to expressions
110 before evaluating current nodes.
111 * XsltCompiledContext.cs : 1) XsltDocument.GetDocument() should use
112 xsltContext. 2) XsltKey exposes KeyName, Field and NamespaceManager
113 for KeyPattern. It now uses CompiledStyle.FindKeys().
115 2003-11-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
117 * GenericOutputter.cs : Added HTML output support. Closer xmlns handling
118 to Xalan tests and MS.NET implementation (only for test convenience).
119 * XslOutput.cs : Indent holds string rathen than bool. Its default value
120 varies in the context. When method="html", then default is "yes".
121 * XslTransformProcessor.cs : Extension element prefixes should not
122 be written as stylesheet namespaces.
123 * XsltCompiledContext.cs : Return type of generate-id() is string.
124 Implemented unparsed-entity-uri().
126 2003-11-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
128 * Compiler.cs : More complete attribute set gathering.
129 GetNamespacesToCopy() should only return Local namespaces.
130 * GenericOutputter.cs : Added support for indentation.
131 Added easy hack for html output.
132 More correct Prefix handling (considers already defined ones).
133 Namespace emmission is moved to CheckState().
134 * Emitter.cs, XmlWriterEmitter.cs, GenericOutputter.cs, Outputter.cs :
135 Added WriteFullEndElement(). (i.e. IsEmptyElement support)
136 * GenericOutputter.cs, Outputter.cs :
137 Added CanProcessAttributes property for
138 use-attribute-sets of xsl:copy.
139 * XslStylesheet.cs : Added support for stylesheet-defined xmlns decls.
140 Added support for exclude-result-prefixes.
141 * XslTransformProcessor.cs : Added support for stylesheet-defined xmlns.
143 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
145 * Compiler.cs : It is not important, but attribute order became closer
146 to MS.NET and Xalan (assuming from OASIS tests).
148 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
150 * GenericOutputter.cs : Attribute wasn't overwritten its properties
151 because Attribute is struct it was let to another local variable.
153 2003-09-28 Ben Maurer <bmaurer@users.sourceforge.net>
155 * GenericOutputter.cs: make html output a warning, because doing
156 xml will be right most of the time.
158 2003-09-28 Ben Maurer <bmaurer@users.sourceforge.net>
160 * Debug.cs: comment out {Enter, Exit}Navigator. Haven't had bugs
161 here for a long time and it hurts thread safty and memory
164 2003-09-21 Ben Maurer <bmaurer@users.sourceforge.net>
166 * Compiler.cs: save the parser (will reduce memory allocation when
167 Jackson's jay patch is committed).
169 2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
171 * Attribute.cs: Change to struct. Remove QName class.
172 * GenericOutputter.cs: use an Attribute [] rather than an
173 ArrayList. Allows us not to allocate Attributes, which is great
174 for speed. Roll our own allocation.
176 2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
178 * Compiler.cs: add GetNsm to main class as well.
180 2003-09-20 Ben Maurer <bmaurer@users.sourceforge.net>
182 * Compiler.cs (ParseAvtAttribute): Get the attribue using our
183 internal version so we get null if the attr doesnt exist.
185 2003-09-17 Ben Maurer <bmaurer@users.sourceforge.net>
187 * Compiler.cs (IStaticXsltContext.TryGetVariable): handle the case
188 where curVarScope == null
190 2003-09-16 Ben Maurer <bmaurer@users.sourceforge.net>
193 - Better handling of empty attributes (vs not being specified)
194 - Bug in handling #default
196 2003-09-15 Ben Maurer <bmaurer@users.sourceforge.net>
198 * Compiler.cs: Off by one when parsing localname of QName
199 * XslAttributeSet.cs: must evaluate used attr sets *BEFORE*
200 children (so that they get overriden)
202 2003-09-15 Ben Maurer <bmaurer@users.sourceforge.net>
204 * GenericOutputter.cs: Output attributes in order recieved; not
205 required by spec, but useful for running test cases.
207 2003-09-14 Oleg Tkachenko <oleg@tkachenko.com>
209 * GenericOutputter.cs - fix bug with outputting state.
210 * Emitter.cs, TextEmitter.cs, XmlWriterEmitter.cs, Outputter.cs,
211 * TextOutputter.cs - get rid of WriteStartAttribute/WriteEndAttribute.
213 2003-09-13 Ben Maurer <bmaurer@users.sourceforge.net>
215 * Compiler.cs, XslKey.cs, XslTransformProcessor.cs: dont clone
216 exprs on use, pass to nav.
218 2003-09-13 Ben Maurer <bmaurer@users.sourceforge.net>
220 * Compiler.cs: pass satic context to Pattern ctor.
222 2003-08-30 Oleg Tkachenko <oleg@tkachenko.com>
225 GenericOutputter.cs - generic Outputter implementation,
226 Attribute.cs - represents outputted attribute,
227 Emitter.cs - abstract output emitter,
228 TextEmitter.cs - text emitter,
229 XmlWriterEmitter.cs - emitter to XmlWriter.
230 * Checking of duplicating attributes is done in GenericOutputter.
231 * Namespace outputting logic is implemented in GenericOutputter.
232 * Outputter.cs: Writing namespace declarations is delegated to
233 derived classes (GenericOutputter).
234 * XslOutput.cs: standalone flag is now 3-value enum (NONE, YES, NO).
236 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
238 * XslTransformProcessor.cs: evaluate variables at beginning
239 when / is current node.
241 2003-08-21 Ben Maurer <bmaurer@users.sourceforge.net>
243 * Compiler.cs, XsltCompiledContext.cs, XslTransformProcessorcs:
244 Fix up namespace handeling
246 2003-08-20 Ben Maurer <bmaurer@users.sourceforge.net>
248 * Compiler.cs, XslStylesheet.cs, XsltCompiledContext.cs: Stubs for
250 * XslDecimalFormat.cs: Stub for decimal-format.
252 2003-08-20 Ben Maurer <bmaurer@users.sourceforge.net>
254 * TextOutputter.cs: Add option to ignore element content (Oleg).
256 2003-08-19 Ben Maurer <bmaurer@users.sourceforge.net>
258 * Compiler.cs: Really give null for blank avt's
260 2003-08-19 Ben Maurer <bmaurer@users.sourceforge.net>
262 * Compiler.cs: Fixed lre/lre04.
264 2003-08-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
266 * Compiler.cs : Fixed XslNameUtil.FromString() so that unprefixed name
267 won't have default namespace. See http://www.w3.org/TR/xslt#qname
269 2003-08-19 Ben Maurer <bmaurer@users.sourceforge.net>
271 * XslTransformProcessor.cs: add support for resolving documents.
272 * XsltCompiledContext: add support for document () function.
274 2003-08-19 Ben Maurer <bmaurer@users.sourceforge.net>
276 * Outputter.cs, TextOutputter.cs, XmlOutputter.cs: Implement some
277 of the abstract methods in Outputter, making them call other
278 functions with default values, remove impl's in derived classes.
280 2003-08-19 Ben Maurer <bmaurer@users.sourceforge.net>
282 * Outputter.cs: s/Close/Done
283 * TextOutputter.cs, XmlOutputter.cs: Flush, don't close the backing.
284 * XslTransformProcessor.cs: Flush output when popping, pop at end.
286 2003-08-19 Ben Maurer <bmaurer@users.sourceforge.net>
288 * Outputter.cs: Add support for namespaces.
290 2003-08-19 Ben Maurer <bmaurer@users.sourceforge.net>
292 * Compiler.cs, XslOutput.cs, XslStylesheet.cs,
293 XslTransformProcessor.cs: move output logic from XslStylesheet to
296 2003-08-18 Ben Maurer <bmaurer@users.sourceforge.net>
298 * XslOutput.cs: add support for encoding.
300 2003-08-18 Ben Maurer <bmaurer@users.sourceforge.net>
302 * *.cs: Support for xsl:output. (Oleg)
304 2003-08-17 Ben Maurer <bmaurer@users.sourceforge.net>
306 * Compiler.cs: handle extension and excluded namespaces.
308 2003-08-17 Ben Maurer <bmaurer@users.sourceforge.net>
310 * XsltCompiledContext.cs, Compiler.cs: copy the XPathNavigator
311 from the stylesheet for correct namespace resolution.
313 2003-08-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
315 * Compiler.cs : 1) Changed public .ctor() to receive Evidence argument
316 introduced in .NET 1.1. 2) XmlResolver object is required for 'res'.
318 2003-08-07 Ben Maurer <bmaurer@users.sourceforge.net>
320 * XslTransformProcessor.cs: Add a table to detect when an object
322 * XslAttributeSet.cs: Use the above table. Dont throw nullref
323 exception when no use-attribute-sets are specified.
325 2003-08-04 Ben Maurer <bmaurer@users.sourceforge.net>
327 * Compiler.cs: Add support for boolean attributes (yes/no).
329 2003-08-04 Ben Maurer <bmaurer@users.sourceforge.net>
331 * Compiler.cs: Add method LocalNameOf, to get the local name of a
333 * XslTransformProcessor.cs: Support for setting the XmlResolver.
335 2003-08-01 Ben Maurer <bmaurer@users.sourceforge.net>
337 * Compiler.cs, XslAttributeSet.cs: Handle attribute set merging
339 2003-08-01 Ben Maurer <bmaurer@users.sourceforge.net>
341 * XslTransformProcessor.cs: Add EvaluateNumber method.
343 2003-07-31 Ben Maurer <bmaurer@users.sourceforge.net>
345 * XsltCompiledContext.cs: Implement more functions.
347 2003-07-31 Ben Maurer <bmaurer@users.sourceforge.net>
349 * Compiler.cs: Add support for key, utility function to parse
350 QName's from the XsltContext. Store keys in the CompiledStyle, not
352 * XslKey.cs: Real implementation
353 * XslStylesheet.cs: Move the keys to CompiledStyle.
354 * XsltCompiledContext.cs: Implement the key function
356 2003-07-31 Ben Maurer <bmaurer@users.sourceforge.net>
358 * XsltCompiledContext.cs: Hmm, maybe I should actually *enable*
359 the functions ;-). Also wrote current ().
361 2003-07-31 Ben Maurer <bmaurer@users.sourceforge.net>
363 * XsltCompiledContext.cs: Remove excess conversion stuff. It is
364 done in XPath. Add stubs for XSLT functions.
366 2003-07-31 Ben Maurer <bmaurer@users.sourceforge.net>
368 * Compiler.cs: To resolve a variable you now need to pass the
369 processor, so that it can be passed to IsEvaluated. A local will
370 only be resolved if it has already been evaluated.
371 * XsltCompiledContext.cs: Pass along the processor.
373 2003-07-30 Ben Maurer <bmaurer@users.sourceforge.net>
375 * Compiler.cs, XslTemplate.cs, XslTransformProcessor.cs: Store
376 variable values in the XslTransformProcessor.
377 * XsltCompiledContext.cs: If the scope is null, don't look there!
378 * Debug.cs: New method Assert
380 2003-07-30 Ben Maurer <bmaurer@users.sourceforge.net>
382 * Compiler.cs, XsltCompiledContext.cs: Remove verbose messages
383 * XslTransformProcessor.cs: Use strongtyped evaluation, using new
384 internal methods in XPathNavigator. Remove verbose debugging messages.
386 2003-07-29 Ben Maurer <bmaurer@users.sourceforge.net>