2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / Mono.Xml.Xsl / ChangeLog
index 47e8a6f2c5b500dcfcfe756b2b91631d7ed258e0..dc92dbca1cb73057a7e78d69018f64cbdc1f5fc3 100644 (file)
@@ -1,3 +1,223 @@
+2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
+
+       * Compiler.cs,
+         XslStylesheet.cs : Reject xsl element other than stylesheet and
+         transform. Check mandatory version attribute (only for existence).
+
+2004-03-07 Atsushi Enomoto <atsushi@ximian.com>
+
+       * MSXslScriptManager.cs : if extension namespace was not found in
+         the script, just return null. Patch by Joshua Tauberer.
+
+2004-03-01 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslLiteralElement.cs : quick fix for ArgumentNullException which
+         was because of the combination of non-namespaced instances and
+         exclude-result-prefixes.
+
+2004-02-17 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsltCompiledContext.cs : Extracted XslFunctions and changed namespace
+         from Mono.Xml.Xsl.Functions to Mono.Xml.Xsl.
+       * XslFunctions.cs : hereby Added.
+       * Compiler.cs : Removed deleted usingdecl.
+
+2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslTransformProcessor.cs : Bugfix. Stored keys should be cleared.
+       * XslKey.cs : Added ExprKeyContainer expression type, which is 
+         designed to be matched at any level.
+       * Compiler.cs : support for ExprKeyContainer.
+
+2004-02-16 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslKey.cs : Now it collects key and matching nodes at the first
+         evaluation time. After that, we can just get them from the table.
+       * Compiler.cs : Added KeyCompilationMode. It is used to prevent
+         prohibited key() usage in "match" and "use" attributes in xsl:key.
+         Modified accessibility of some classes.
+       * GenericOutputter.cs,
+         HtmlEmitter.cs,
+         TextEmitter.cs,
+         TextOutputter.cs,
+         XmlWriterEmitter.cs : made classes internal.
+       * XslOutput.cs : support line info for exception.
+       * XsltCompiledContext.cs : implemented CompareDocument() - so easily.
+
+2004-02-13 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsltCompiledContext.cs : fixed the length of context info array.
+
+2004-02-10 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsltCompiledContext.cs :
+         replaced EnumeratorIterator with ListIterator
+
+2004-02-08 Atsushi Enomoto <atsushi@ximian.com>
+
+       * GenericOutputter.cs,
+         XslAttributeSet.cs,
+         XslStylesheet.cs,
+         XslTemplate.cs : tiny foreach elimination.
+
+2004-01-16 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslOutput.cs : Reverted. default encoding should be utf-8.
+
+2004-01-14  Jackson Harper <jackson@ximian.com>
+
+       * GenericOutputter.cs: Add constructors that do not take an
+       encoding to fix build.
+       
+2004-01-14 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XmlWriterEmitter.cs : It now uses WriteProcessingInstruction() to
+         write XML declaration. It means that output supports non document
+         entity. This fixes bug #52729.
+       * Emitter.cs, TextEmitter.cs, HtmlEmitter.cs, XmlWriterEmitter.cs :
+         modified WriteStartDocument() signature to receive Encoding.
+       * GenericOutputter.cs : 
+         - Added .ctor() which receives Encoding. (It is used for TextWriter 
+           output to get actual encoding.)
+         - Added .ctor() to take an boolean argument which indicates it is
+           variable content or not. (When variable, it does not call 
+           WriteStartDocument().)
+       * XslKey.cs,
+         XsltCompiledContext.cs : comment out WriteLine().
+       * XslOutput.cs : set default encoding utf-16.
+
+2004-01-08  Nick Drochak <ndrochak@ieee.org>
+
+       * XsltCompiledContext.cs: Remove unused variable and unreachable code.
+
+2003-12-26 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslDecimalFormat.cs : implemented format-number() other than number
+         grouping.
+       * XsltCompiledContext.cs : Modified XsltFormatNumber.Evaluate() to
+         catch ArgumentException which will be thrown by formatting process.
+
+2003-12-23 Atsushi Enomoto <atsushi@ximian.com>
+
+       * ScriptCompilerInfo.cs : Use "mjs" as JScript compiler.
+
+2003-12-20 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * XsltCompiledContext.cs: Remove workaround now that monodoc
+       is fixed.
+
+2003-12-20 Atsushi Enomoto <atsushi@ximian.com>
+
+       * XslStylesheet.cs : considering xsl:imports, we can't handle namespace
+         aliases at compilation time, so evaluate at the first run-time.
+
+2003-12-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * GenericOutputter.cs : support for runtime-determined output type.
+       * HtmlEmitter.cs : Fixed invalid doctype output.
+         Fixed incorrect double attribute output on non-HTML elements.
+         Improved indentation. Fixed "selected" attribute output.
+         Don't have to convert "'" to "&apos;".
+       * XmlWriterEmitter.cs : Now don't output incorrect doctype.
+         Escapes CDATA section text "]]>" to "...]]]]><![CDATA[>..." .
+       * XslStylesheet.cs, XsltCompiledContext.cs :
+         space resolution consideration for import and wildcard.
+
+2003-12-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * Compiler.cs, XslTransformProcessor.cs :
+         Use XmlValidatingReader to support id() for external stylesheets.
+       * XslKey.cs, XsltCompiledContext.cs :
+         to evaluate MatchPattern and UsePattern, SetContext() is required.
+       * XslTemplate.cs : Forgot to commit. Change is below(12/16).
+
+2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * Emitter.cs, HtmlEmitter.cs, XmlWriterEmitter.cs :
+         Added WriteWhitespace().
+       * GenericOutputter.cs, XslTemplate.cs : Call above.
+       * XslTransformProcessor.cs : Changed NodesetStack to ArrayList since
+         CurrentNode in for-each context have to be pulled at evaluation.
+
+2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * XsltCompiledContext.cs : Temporarily allow incorrectly resolved
+         function for bugzilla #52144. It should be reverted soon.
+
+2003-12-12 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * ScriptCompilerInfo.cs : SecurityManager.ResolvePolicy() was not 
+         implemented yet.
+       * MSMslScriptManager.cs : modified generated assembly class to be unique
+         through running AppDomain.
+       * XsltCompiledContext.cs : XsltExtensionFunction.Invoke() has to cast
+         arguments to actual argument types. Bugzilla #51450 should be fixed.
+
+2003-12-12 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * HtmlEmitter.cs : Fixed incorrect character entity output.
+
+2003-12-11 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * Added ScriptCompilerInfo.cs.
+       * MSXslScriptManager.cs : Fixed *true* author's name.
+         Implemented basic msxsl:script support.
+       * Compiler.cs : Added Evidence member.
+
+2003-12-07 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * Compiler.cs : Check stylesheet recursion. Check decimal-format name.
+       * GenericOutputter.cs, Outputter.cs, TextOutputter.cs :
+         Added WriteWhitespace() to assure not writing whitespaces as cdata.
+       * XslAttributeSet.cs : Error check if attribute-set contains other than
+         xsl:attribute.  Error should be XsltException.
+       * XslDecimalFormat.cs : Complete equality check.  Allow just one
+         character value for some attributes.
+       * XslStylesheet.cs : Made whitespace control setting overridable.
+         Added Version property (for the future compatibility mode).
+         Check unrecongnized top level element.
+       * XslTemplate.cs : Check priority as a number.
+       * XslTransformProcessor.cs : PushCDataState is now PushElementState, 
+         for xsl:preserve-space and xsl:strip-space support.
+       * XsltCompiledContext.cs : Implemented PreserveWhitespace() (far from
+         incomplete), PushScope and Pop
+
+2003-12-03 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * HtmlEmitter.cs : CloseStartElement is needed almost everywhere.
+
+2003-12-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * Compiler.cs : In FromListString(), it should use default ns,
+         not unqualified one.
+       * GenericOutputter.cs : CheckState() - attribute's Prefix should take
+         precedence.  Doctype should be written even if SYSTEM id is absent.
+         Fixed possible multiple xmlns output.
+       * HtmlEmitter.cs :
+         - Encoding output using META element.
+         - Doctype name is fixed (html).
+         - Double quotation on PUBLIC and SYSTEM missing.
+         - Fixed incorrect tag name check for IMG.
+         - '>' should not be escaped.
+       * XmlWriterEmitter.cs :
+         Added newline before doctype.  In WriteComment(), "--" and tail
+         '-' are not allowed (it escapes, while XmlWriter simply rejects).
+       * XslTransformProcessor.cs : cdata-section-elements should enclose
+         direct child tests only.   Added PreserveWhitespace() (incomplete).
+       * XsltCompiledContext.cs : Implemented PreserveWhitespace() (incomplete).
+
+2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * IdPattern.cs : This should work against multiple ids.
+
+2003-11-27 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * Compiler.cs
+       * MSXslScriptManager.cs
+       * XslStylesheet.cs
+       * XslTransformProcessor.cs
+       * XsltCompiledContext.cs: Some work on msxsl script.
+
 2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
 
        (in general: cdata-section-elements support, correct document()