Commit Graph
113 Commits
Author SHA1 Message Date
Atsushi Eno c6ed142f1b 2008-01-19 Atsushi Enomoto <[email protected]>
* 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
2008-01-19 11:55:07 +00:00
Atsushi Eno ea6e3df631 2008-01-08 Atsushi Enomoto <[email protected]>
* 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
2008-01-08 05:02:44 +00:00
Atsushi Eno 894dae4fcc 2007-12-27 Atsushi Enomoto <[email protected]>
* 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
2007-12-27 14:40:40 +00:00
Atsushi Eno a7e430277e 2007-12-17 Atsushi Enomoto <[email protected]>
* 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
2007-12-17 08:25:12 +00:00
Atsushi Eno e6024b90d2 2007-12-17 Atsushi Enomoto <[email protected]>
* 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
2007-12-17 07:28:33 +00:00
Atsushi Eno 0ce63640a1 2007-12-17 Atsushi Enomoto <[email protected]>
* XslValueOf.cs : allow external elements in xsl:value-of.
	  Fixed bug #348786.

	* XslTransformTests.cs : added test for bug #348786.


svn path=/trunk/mcs/; revision=91401
2007-12-17 06:31:49 +00:00
Atsushi Eno f465465b95 2007-10-30 Atsushi Enomoto <[email protected]>
* 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
2007-10-30 14:45:07 +00:00
Atsushi Eno f34e30d372 2007-09-21 Atsushi Enomoto <[email protected]>
* GenericOutputter.cs : fixed possible conflict for auto-filled
	  attribute prefixes. Fixed bug #325482.

	* XslTransformTests.cs : added test for bug #325482.

	* 325482.xml, 325482.xsl : new test files.

	* Makefile : extra distfiles (325482.xml / 325482.xsl).


svn path=/trunk/mcs/; revision=86132
2007-09-21 09:58:53 +00:00
Atsushi Eno ecd315b204 2007-08-21 Atsushi Enomoto <[email protected]>
* XslFunctions.cs : fix wrong unboxing in extension functions.
	  Fixed bug #82493.

	* XslTransformTests.cs : added test for bug #82493.

	* 82394.xml, 82493.xsl : new test files.

	* Makefile : extra distfiles (82493.xml/.xsl).


svn path=/trunk/mcs/; revision=84526
2007-08-21 06:56:09 +00:00
Atsushi Eno 30e916409c 2007-08-08 Atsushi Enomoto <[email protected]>
* 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
2007-08-08 06:27:38 +00:00
Noam Lampert 04f4ba1068 Convert jgac to java_refs, and jre6 to jre
svn path=/trunk/mcs/; revision=74776
2007-03-21 21:50:47 +00:00
Noam Lampert 49a408d55a rename jgac/vmw4j2ee_110 to jcag/framework
svn path=/trunk/mcs/; revision=74287
2007-03-14 17:38:59 +00:00
Konstantin Triger 5147da7b64 TARGET_JVM: Ignore failing tests
svn path=/trunk/mcs/; revision=73607
2007-03-01 16:39:21 +00:00
Noam Lampert 9161a2b3a7 Grasshopper project system now uses csproj extension
svn path=/trunk/mcs/; revision=72711
2007-02-12 21:57:08 +00:00
Konstantin Triger 1d81aa9185 change GHROOT to VMW_HOME
svn path=/trunk/mcs/; revision=67988
2006-11-16 12:24:32 +00:00
Raja R Harinath 9bdec12456 Kill all executable flags on *.cs and ChangeLog files.
AKA: fun with find(1)+xargs(1)
AKA: find . -name \*.cs -and -perm /a+x | xargs svk propdel svn:executable

svn path=/trunk/mcs/; revision=66131
2006-09-30 18:29:13 +00:00
Andrew Skiba 087a7b202c add false alarm to knownFailures.jvm.lst
svn path=/trunk/mcs/; revision=65152
2006-09-10 09:29:29 +00:00
Andrew Skiba 4d5a8ec003 run xml standalone tests on GH 2.0
svn path=/trunk/mcs/; revision=63811
2006-08-16 13:20:41 +00:00
Andrew Skiba f3e12e648f support profile net_2_0
svn path=/trunk/mcs/; revision=63747
2006-08-15 07:50:20 +00:00
Andrew Skiba 0ca4c0c5ef merge -r 60814:60815
svn path=/trunk/mcs/; revision=61296
2006-05-31 08:07:52 +00:00
Andrew Skiba 28e2e4955e add jvm specific known failures
svn path=/branches/mainsoft/gh1.7/mcs/; revision=60815
2006-05-18 12:29:06 +00:00
Atsushi Eno f7ec99dca7 2006-04-07 Atsushi Enomoto <[email protected]>
* XslTransformProcessor.cs : push current node context after iterating
	  template target node. Added another NodesetMoveNext() which takes
	  explicit XPathNodeIterator to iterate and filter whitespaces out.

	* XslForEach.cs : push current node context after iterating "selected"
	  node-set.

	* XslTransformTests.cs : added CurrentInSelect().

	* current-in-select.xml current-in-select.xsl current-in-select.ref :
	  new files for XslTransformTests.CurrentInSelect().


svn path=/trunk/mcs/; revision=59172
2006-04-07 09:16:27 +00:00
Atsushi Eno 2253f74608 2006-04-07 Atsushi Enomoto <[email protected]>
* XslTransformProcessor.cs : in NodesetMoveNext() take
	  XPathContext.PreserveWhitespace() into consideration.

	* XslTransformTests.cs : added StripSpace().

	* stripspace.xml, stripspace.xsl : added strip-space testcases.


svn path=/trunk/mcs/; revision=59160
2006-04-06 23:41:36 +00:00
Andrew Skiba b83c49167b merge java tests stuff from mainsoft.1.7 branch
svn path=/trunk/mcs/; revision=58951
2006-04-03 13:47:42 +00:00
Andrew Skiba 6c66c82efc fixes for tests for java
svn path=/branches/mainsoft/gh1.7/mcs/; revision=58950
2006-04-03 13:43:22 +00:00
Andrew Skiba b585d00928 merge from trunk revisions 58933, 58935, 58936
svn path=/branches/mainsoft/gh1.7/mcs/; revision=58946
2006-04-03 12:28:02 +00:00
Andrew Skiba f9a42084a6 TARGET_JVM: refer nunit from mono tree
svn path=/trunk/mcs/; revision=58933
2006-04-03 11:59:04 +00:00
Atsushi Eno a40a00bcde 2006-03-15 Atsushi Enomoto <[email protected]>
* 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
2006-03-15 14:43:45 +00:00
Atsushi Eno 8fc3204c99 2006-01-13 Atsushi Enomoto <[email protected]>
* 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
2006-01-13 06:38:10 +00:00
Atsushi Eno 5d8f9644c4 2006-01-13 Atsushi Enomoto <[email protected]>
* 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
2006-01-13 05:03:39 +00:00
Atsushi Eno 6b7a7509df 2006-01-06 Atsushi Enomoto <[email protected]>
* XsltTestUtils.cs,
	  catalog.sed,
	  xslttest.cs,
	  Makefile : To run under Linux, strip \r. Fixed mcs -r arguments
	  (case sensitive).


svn path=/trunk/mcs/; revision=55128
2006-01-06 04:33:14 +00:00
Gert Driesen d32b9cad5a * XslTransformTests.cs: Extended html indentation test (and marked it
NotWorking). Added tests for MS bugs (that have been fixed since).

svn path=/trunk/mcs/; revision=54881
2005-12-27 18:20:07 +00:00
Gert Driesen 21a98ddcff * XslTransformTests.cs: Enabled forwards compatible tests.
* 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
2005-12-25 15:38:08 +00:00
Gert Driesen 844cf8e425 * XslTransformTests.cs: Added forwards compatible tests.
svn path=/trunk/mcs/; revision=54832
2005-12-24 14:58:10 +00:00
Gert Driesen 357e2fccaa * XslTransformTests.cs: Added working XML/HTML indentation tests.
svn path=/trunk/mcs/; revision=54803
2005-12-23 20:42:46 +00:00
Gert Driesen bd257c9000 * XslTransformTests.cs: Added bug numbers to test cases.
svn path=/trunk/mcs/; revision=54782
2005-12-23 16:28:51 +00:00
Gert Driesen f42513507a * XmlTextWriterTests.cs: Improved coverage of xml prefix tests.
* 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
2005-12-23 15:32:55 +00:00
Atsushi Eno ce5d03a514 2005-12-12 Atsushi Enomoto <[email protected]>
* XslTransformTests.cs : (LocalParameter) [NotDotNet] should not have
	  been undone.


svn path=/trunk/mcs/; revision=54228
2005-12-12 11:21:43 +00:00
Gert Driesen a516d4cd9a * XslTransformTests.cs: Explicitly omit XML declaration, allowing test to
pass on both MS.NET and Mono.

svn path=/trunk/mcs/; revision=53906
2005-12-04 20:00:35 +00:00
Gert Driesen c63855e471 * XslTransformTests.cs: Undo formatting change.
svn path=/trunk/mcs/; revision=53903
2005-12-04 19:17:02 +00:00
Gert Driesen 5b445204af * XslTransformTest.cs: Added test for MS bug, described in KB834667.
svn path=/trunk/mcs/; revision=53902
2005-12-04 19:04:40 +00:00
Gert Driesen aabdd4efbb * XslTransformTest.cs: Added test for sorting an empty node set, which
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
2005-12-04 18:37:55 +00:00
Vladimir Krasnov bca3ad42bf merge -r 53396:53397
svn path=/branches/mainsoft/gh1.7/mcs/; revision=53448
2005-11-24 10:04:13 +00:00
Vladimir Krasnov 402db49c48 * XslKey.cs: fixed KeyIndexTable.Evaluate method, changed XPathNavigator given to GetNodesByValue()
* ignore.lst: adeed Keys__91835, idkey_idkey18, idkey_idkey50 because failed in .NET

svn path=/trunk/mcs/; revision=53397
2005-11-23 16:56:16 +00:00
Atsushi Eno 8aa27a73cc 2005-11-17 Atsushi Enomoto <[email protected]>
* XslTransformTests.cs : added WhitespaceHandling ().

	* 91834.xml, 91834a.xml, 91834.xsl : I ended up to add new files here.


svn path=/trunk/mcs/; revision=53192
2005-11-17 16:09:59 +00:00
Atsushi Eno 75de05ddfc 2005-10-24 Atsushi Enomoto <[email protected]>
* 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
2005-10-24 06:25:18 +00:00
Andrew Skiba 89935d4094 Remove fixed testcases from known failures list.
svn path=/trunk/mcs/; revision=52090
2005-10-23 17:37:22 +00:00
Andrew Skiba b00f990430 * XsltTestUtils.cs, xslt.vmwcsproj, xslt.sln, xslttest.cs, XmlCompare.cs,
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
2005-10-23 17:25:11 +00:00
Andrew Skiba 81d4f51c19 * xslt.sln, xslt.vmwcsproj, README.j2ee, run-test.j2ee.bat: add files that help to run tests on Grasshopper
svn path=/trunk/mcs/; revision=52082
2005-10-23 14:09:49 +00:00
Zoltan Varga f099d9b9f1 2005-10-08 Zoltan Varga <[email protected]>
* XslTransformTests.cs: Remove test which depends on random GC
	behaviour.

svn path=/trunk/mcs/; revision=51473
2005-10-08 17:44:32 +00:00