* XslCopyOf.cs : when the evaluated argument was RTF (it could happen
when variable or extensions are used), copy the node itself, not
only its children. Fixed bug #322551.
* XslTransformTests.cs : added test for bug #322551.
svn path=/trunk/mcs/; revision=93314
* XslKey.cs, XslStylesheet.cs, Compiler.cs : XSLT 1.0 does not
prohibit more than one xsl:key with the same QName, so do not use
the name as a 'key' in the table for xsl:key. Fixed bug #351939,
patch by Tor Lillqvist.
* XslTransformTests.cs : added test from bug #351939.
(by Tor Lillqvist)
svn path=/trunk/mcs/; revision=92426
* XslTransformTests.cs : added test for bug #349375. (Actually the
previous checkin fixed bug #349375.)
Added another notworking one inspired by the same bug.
svn path=/trunk/mcs/; revision=91940
* Iterator.cs : be more strict to detect the end of
PredicateIterator. Fixed bug #349111.
* XslTransformTests.cs : added test for bug #349111.
svn path=/trunk/mcs/; revision=91405
* Expression.cs : In any comparison expr, treat RTF as equivalent to
string type (as specified in XSLT 1.0 section 11.1: "An operation
is permitted on a result tree fragment only if that operation would
be permitted on a string." ...). Fixed bug #349035.
* XslTransformTests.cs : added test for bug #349035.
svn path=/trunk/mcs/; revision=91402
* Compiler.cs : added CheckExtraAttributes() to check invalid
attributes on stylesheet component elements.
Use it in xsl:sort too.
* XslMessage.cs, XslText.cs, XslVariable.cs, XslNumber.cs,
XslElement.cs, XslIf.cs, XslFallback.cs, XslCopyOf.cs,
XslValueOf.cs, XslComment.cs, XslAttribute.cs, XslApplyImports.cs,
XslApplyTemplates.cs, XslForEach.cs, XslCallTemplate.cs,
XslCopy.cs, XslProcessingInstruction.cs, XslChoose.cs:
refactory on checking invalid attributes. Fixed bug #333806.
in Test/System.Xml.Xsl/standalone:
* Makefile: it somehow does not work fine unless nunit-console.exe is
here. So just copy it here when building the test.
svn path=/trunk/mcs/; revision=88459
* XslCallTemplate.cs : significant whitespace should be allowed
as its content. Fixed bug #82357.
* XslTransformTests.cs : added test for bug #82357.
svn path=/trunk/mcs/; revision=83634
* XslTransformProcessor.cs,
Compiler.cs : eliminate ExpressionStore. Now sorting is done
inside XslSortEvaluator.
* XslSortEvaluator.cs : new file. It handles current node in XSLT
context. Fixed bug #77781.
* Expression.cs : extracted XPathSortElement, XPathSorters
and XPathSorter from CompiledExpression, and split
XPathSorters.Sort() into some methods. Those changes are to make
them reusable in XslSortEvaluator.
* System.Xml.dll.sources : added XslSortEvaluator.cs.
* knownFailures.txt : removed two xsl:sort+current() tests.
svn path=/trunk/mcs/; revision=58015
* GenericOutputter.cs : When writing string, use WriteWhitespace()
instead of WhiteString() when its state is not Content. This fixes
BVTs_bvt066 case (broken after implementing strict state check in
XmlTextWriter).
* XslTransformTests.cs : added DocTypeAfterText().
svn path=/trunk/mcs/; revision=55493
* XmlTextWriter.cs : Fixed bug #77082.
When the state was Start, after WriteProcessingInstruction() and
WriteWhitespace() change it to Prolog.
After WriteDocType() set state to WriteState.Element.
* XmlTextWriterTests.cs : added some tests for XMLdecl state check.
* XslTransformTests.cs : Output_Indent_Xml_DocType() is working now.
svn path=/trunk/mcs/; revision=55487
* XslOutput.cs: Do not report error for unknown value for "standalone"
and "omit-xml-declaration" attributes, and extranous attributes if
stylesheet version is not "1.0".
svn path=/trunk/mcs/; revision=54836
* XsltCompileExceptionTests.cs: Added tests for ctors.
* XsltExceptionTests.cs: Added tests for ctors.
* XslTransformTests.cs: Added tests for validation of <xsl:output>
attributes.
* System.Xml_test.dll.sources: Added XsltCompilerExceptionTests.cs and
XsltExceptionTests.cs.
* IXsltContextFunction.cs: Fixed line endings (all CRLF).
* IXsltContextVariable.cs: Fixed line endings (all CRLF).
* XsltContext.cs: Fixed line endings (all CRLF).
* XsltCompileException.cs: Fixed line endings (all CRLF).
Fixed message to correspond with both MS.NET 1.x and 2.0.
* XslTransform.cs: Fixed line endings (all CRLF).
* XsltArgumentList.cs: Fixed line endings (all CRLF).
* XsltException.cs: Fixed line endings (all CRLF). Fixed message to
correspond with MS.NET 1.x and 2.0.
* XslVariable.cs: Beautify error messages.
* XslElement.cs: Same.
* XslAvt.cs: Same.
* XslAttribute.cs: Same.
* XslApplyTemplates.cs: Same.
* XslTemplateContent.cs: Same.
* XslCallTemplate.cs: Same.
* XslCopy.cs: Same.
* XslChoose.cs: Same.
* ScriptCompilerInfo.cs: Fixed line endings.
* XslStylesheet.cs: Beautify error messages.
* Debug.cs: Fixed line endings.
* XslOutput.cs: Indent is now bool instead of string, use
MoveToAttribute to navigate through attributes instead of using
GetAttribute, as we also need to distinguish attributes with
zero-length value from attributes that are not specified for
correct implementation of DOCTYPE. Implemented validation for
value of "omit-xml-declaration", "standalone" and "indent".
We now throw a XsltCompileException for unknown attribute.
* XmlWriterEmitter.cs: only skip WriteDocType is systemId is null.
* HtmlEmitter.cs: XslOutput.Indent is now bool. Fixed WriteDocType
to match MS.NET.
* XmlDecimalFormat.cs: Beautify error messages.
* XslTemplate.cs: Beautify error messages.
* GenericOutputter.cs: XslOutput.Indent is now bool.
* Compiler.cs: Beautify error messages.
svn path=/trunk/mcs/; revision=54780
is also a test for omitting XML declaration if no XML is output.
No longer derive from deprecated Assertion class, formatting updates.
svn path=/trunk/mcs/; revision=53901
* Compiler.cs : (FromString(s, hashtable)) pull default namespace
from the table for LRE (don't consider it as ""; spec. 7.1.2)
Fixed bug #76530.
* XslTransformTests.cs : added test for bug #76530.
svn path=/trunk/mcs/; revision=52116
Makefile: make XML compare to reduce the noise from attribute order and
namespace names (not URIs)
--This ine, and those below, will be ignored--
M standalone_tests/XsltTestUtils.cs
M standalone_tests/xslt.vmwcsproj
M standalone_tests/xslt.sln
M standalone_tests/ChangeLog
M standalone_tests/xslttest.cs
AM standalone_tests/XmlCompare.cs
M standalone_tests/Makefile
svn path=/trunk/mcs/; revision=52088