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