X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.XML%2FMono.Xml.Xsl%2FChangeLog;h=f4a5c23223027e4c665f43598dc728060449eba1;hb=6447b67d6f779522b4762574484bd4f3766f5292;hp=659ff126314bb3a87241705e0e0ea5c6c1d417fa;hpb=85d6d93e95c920212b6234c6ba04f2279d48cef3;p=mono.git diff --git a/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog b/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog index 659ff126314..f4a5c232230 100644 --- a/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog +++ b/mcs/class/System.XML/Mono.Xml.Xsl/ChangeLog @@ -1,3 +1,383 @@ +2004-05-12 Atsushi Enomoto + + * XmlOutputter.cs, + XslOutput.cs, + XslStylesheet.cs : made classes/enums internal. + +2004-04-24 Atsushi Enomoto + + * Attribute.cs, Compiler.cs, Debug.cs, Emitter.cs, + MSXslScriptCompiler.cs, Outputter.cs, XslAttributeSet.cs, + XslDecimalFormat.cs, XslKey.cs, XslStylesheet.cs, XslTemplate.cs, + XslTransformProcessor.cs : Make extra classes internal. + + * XslKey.cs : It should require sorting. + * Debug.cs : Just avoid debug output. Only who want to output should + turn it on. + +2004-04-24 Atsushi Enomoto + + * GenericOutputter.cs : Culture-independency fix. + Replaced StringCollection to ArrayList. + * XslOutput.cs : Culture-independency fix. + +2004-04-12 Atsushi Enomoto + + * Compiler.cs : When BaseURI is an empty string, it should not try to + create Uri instance. This will fix bug #56832, but not sure. + * XslFunctions.cs : for XsltDocument.Resolve(), did the same. + * HtmlEmitter.cs : Environment.NewLine was incorrectly used (it + should be the TextReader's NewLine). + * MSXslScriptManager.cs : Should raise an error when the prefix which + was specified by "implements-prefix" was not found. + +2004-03-27 Atsushi Enomoto + + * ScriptCompilerInfo.cs : #line directive now holds dummy filename + when BaseURI for msxsl:script node is not available. This fixes + bug #56070. + Don't output line number in the error message, when it is 0. + +2004-03-27 Atsushi Enomoto + + * Compiler.cs : Supply NameTable to base ctor() of XPathNavigatorNsm. + +2004-03-22 Atsushi Enomoto + + * Compiler.cs, + XslAttributeSet.cs, + XslFunctions, + XslTransformProcessor.cs : + Throw specific types of exceptions instead of Exception. + * XslFunctions.cs, XsltCompiledContext.cs : + added node argument for XsltExtensionFunction ctor() etc. + +2004-03-22 Atsushi Enomoto + + * ScriptCompilerInfo.cs : Modified compilation processing. Now it uses + CodeDom. Compilation error should be caught. This fixes bug #55875. + +2004-03-13 Atsushi Enomoto + + * XslStylesheet.cs : "version" attribute is also required for embedded + stylesheet. + +2004-03-13 Atsushi Enomoto + + * Compiler.cs, + XslStylesheet.cs : Reject xsl element other than stylesheet and + transform. Check mandatory version attribute (only for existence). + +2004-03-07 Atsushi Enomoto + + * MSXslScriptManager.cs : if extension namespace was not found in + the script, just return null. Patch by Joshua Tauberer. + +2004-03-01 Atsushi Enomoto + + * 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 + + * 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 + + * 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 + + * 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 + + * XsltCompiledContext.cs : fixed the length of context info array. + +2004-02-10 Atsushi Enomoto + + * XsltCompiledContext.cs : + replaced EnumeratorIterator with ListIterator + +2004-02-08 Atsushi Enomoto + + * GenericOutputter.cs, + XslAttributeSet.cs, + XslStylesheet.cs, + XslTemplate.cs : tiny foreach elimination. + +2004-01-16 Atsushi Enomoto + + * XslOutput.cs : Reverted. default encoding should be utf-8. + +2004-01-14 Jackson Harper + + * GenericOutputter.cs: Add constructors that do not take an + encoding to fix build. + +2004-01-14 Atsushi Enomoto + + * 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 + + * XsltCompiledContext.cs: Remove unused variable and unreachable code. + +2003-12-26 Atsushi Enomoto + + * 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 + + * ScriptCompilerInfo.cs : Use "mjs" as JScript compiler. + +2003-12-20 Ben Maurer + + * XsltCompiledContext.cs: Remove workaround now that monodoc + is fixed. + +2003-12-20 Atsushi Enomoto + + * 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 + + * 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 "'". + * XmlWriterEmitter.cs : Now don't output incorrect doctype. + Escapes CDATA section text "]]>" to "...]]]]>..." . + * XslStylesheet.cs, XsltCompiledContext.cs : + space resolution consideration for import and wildcard. + +2003-12-18 Atsushi Enomoto + + * 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 + + * 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 + + * XsltCompiledContext.cs : Temporarily allow incorrectly resolved + function for bugzilla #52144. It should be reverted soon. + +2003-12-12 Atsushi Enomoto + + * 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 + + * HtmlEmitter.cs : Fixed incorrect character entity output. + +2003-12-11 Atsushi Enomoto + + * 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 + + * 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 + + * HtmlEmitter.cs : CloseStartElement is needed almost everywhere. + +2003-12-02 Atsushi Enomoto + + * 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 + + * IdPattern.cs : This should work against multiple ids. + +2003-11-27 Ben Maurer + + * Compiler.cs + * MSXslScriptManager.cs + * XslStylesheet.cs + * XslTransformProcessor.cs + * XsltCompiledContext.cs: Some work on msxsl script. + +2003-11-24 Atsushi Enomoto + + (in general: cdata-section-elements support, correct document() + base uri handling, and so on) + * Compiler.cs : Use XmlSpace.Preserve to parse included stylesheet. + And move to document element. Added XslNameUtil.FromListString(). + * Emitter.cs, HtmlEmitter.cs, TextEmitter.cs XmlWriterEmitter.cs : + Added WriteCDataSection(). + * Outputter.cs, GenericOutputter.cs, TextOutputter.cs : + Added InsideCDataSection. + * GenericOutputter.cs : + In .ctor(), WriteState should be succeeded from output XmlWriter. + WriteNamespaceDecl() now drops declaration identical to existing one. + Removed obsolete htmlEmulation. + * XslOutput.cs : Added CDataSectionElements support. + * XslStylesheet.cs : Added BaseUri, StyleDocument and PrefixInEffect(). + * XslTransformProcessor.cs : + Added Output and CurrentOutputUri. TryStylesheetNamespaceOutput() + now considers xsl:exclude-element-prefixes on literal element. + Added PushCDataState() and PopCDataState(). + * XsltCompiledContext.cs : When base uri of document() target is empty, + then it should use stylesheet's BaseURI, not that of current document. + +2003-11-21 Atsushi Enomoto + + * Compiler.cs : Modified decimal-format comparison code. + * Outputter.cs, + TextOutputter.cs, + GenericOutputter.cs : Added WriteState. Now WriteStartDocument() will + be called only when required. + * HtmlEmitter.cs : Improved indentation stuff. + * XslDecimalFormat.cs : Added incomplete implementation of + CheckSameAs() and FormatNumber(). + * XslStylesheet.cs, + XslTransformProcessor.cs : Changed XslStylesheet.StylesheetNamespaces + from StringDictionary to ArrayList of QName (to keep order). + +2003-11-19 Atsushi Enomoto + + * XsltCompiledContext.cs : XsltGenerateId.Evaluate() should consider + node type (i.e. attribute and namespace). Removed extraneous Clone(). + Fixed XsltKey.Evaluate() to use MoveToNextAttribute to iterate attrs. + +2003-11-19 Atsushi Enomoto + + * Compiler.cs : Changed Keys from ArrayList to Hashtable. + XslStylesheet.cs : Added Keys support here. + * XslTransformProcessor.cs : Should call SetContext() to expressions + before evaluating current nodes. + * XsltCompiledContext.cs : 1) XsltDocument.GetDocument() should use + xsltContext. 2) XsltKey exposes KeyName, Field and NamespaceManager + for KeyPattern. It now uses CompiledStyle.FindKeys(). + +2003-11-13 Atsushi Enomoto + + * GenericOutputter.cs : Added HTML output support. Closer xmlns handling + to Xalan tests and MS.NET implementation (only for test convenience). + * XslOutput.cs : Indent holds string rathen than bool. Its default value + varies in the context. When method="html", then default is "yes". + * XslTransformProcessor.cs : Extension element prefixes should not + be written as stylesheet namespaces. + * XsltCompiledContext.cs : Return type of generate-id() is string. + Implemented unparsed-entity-uri(). + +2003-11-02 Atsushi Enomoto + + * Compiler.cs : More complete attribute set gathering. + GetNamespacesToCopy() should only return Local namespaces. + * GenericOutputter.cs : Added support for indentation. + Added easy hack for html output. + More correct Prefix handling (considers already defined ones). + Namespace emmission is moved to CheckState(). + * Emitter.cs, XmlWriterEmitter.cs, GenericOutputter.cs, Outputter.cs : + Added WriteFullEndElement(). (i.e. IsEmptyElement support) + * GenericOutputter.cs, Outputter.cs : + Added CanProcessAttributes property for + use-attribute-sets of xsl:copy. + * XslStylesheet.cs : Added support for stylesheet-defined xmlns decls. + Added support for exclude-result-prefixes. + * XslTransformProcessor.cs : Added support for stylesheet-defined xmlns. + +2003-10-30 Atsushi Enomoto + + * Compiler.cs : It is not important, but attribute order became closer + to MS.NET and Xalan (assuming from OASIS tests). + +2003-10-30 Atsushi Enomoto + + * GenericOutputter.cs : Attribute wasn't overwritten its properties + because Attribute is struct it was let to another local variable. + +2003-09-28 Ben Maurer + + * GenericOutputter.cs: make html output a warning, because doing + xml will be right most of the time. + 2003-09-28 Ben Maurer * Debug.cs: comment out {Enter, Exit}Navigator. Haven't had bugs