Commit Graph
126 Commits
Author SHA1 Message Date
Atsushi Eno c838b12b2e Remove obsolete nunit syntax from tests except for Assertion usage. 2011-04-06 20:01:27 +09:00
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Atsushi Eno 8b5e57c908 2009-11-20 Atsushi Enomoto <[email protected]>
* DefaultContext.cs : do not use sloppy XmlConvert to parse xpath
	  number. Fixed bug #556619.

	* XslTransformTests.cs : added test for bug #556619 by
	  Tor Lillqvist.


svn path=/trunk/mcs/; revision=146613
2009-11-20 12:06:16 +00:00
Atsushi Eno b93975eaba oops, I happened to commit every pending ones and missed ChangeLog here :(
svn path=/trunk/mcs/; revision=131739
2009-04-15 08:56:38 +00:00
Atsushi Eno d54e48a2c1 2009-04-15 Atsushi Enomoto <[email protected]>
* Expression.cs : extensions could return null and it should be
	  regarded as empty node-set, not an error.


svn path=/trunk/mcs/; revision=131738
2009-04-15 08:54:10 +00:00
Atsushi Eno b505253fe7 2008-12-09 Atsushi Enomoto <[email protected]>
* XslCompiledTransform.cs : Fixed bug #450797, patch by Jonathan
	  Anderson. Preserve whitespace-only text in xsl:text.

	* XslTransformTests.cs : test for bug #450797 by Jonathan Anderson.


svn path=/trunk/mcs/; revision=121083
2008-12-09 08:20:24 +00:00
Atsushi Eno e30d02ad83 merge XPath optimization branch. About 15% faster/less memory use so
far.


svn path=/trunk/mcs/; revision=118710
2008-11-13 13:05:44 +00:00
Zoltan Varga f10ff05fc6 2008-10-08 Zoltan Varga <[email protected]>
* Makefile */Makefile build/profiles/*.make: Rename the 'default'
	profile to 'net_1_1'.

svn path=/trunk/mcs/; revision=115166
2008-10-08 05:58:51 +00:00
Atsushi Eno b4c814a17c 2008-06-04 Atsushi Enomoto <[email protected]>
* DTMXPathDocumentBuilder2.cs : fixed bug #378239.cs. Merge
	  sequential text nodes in correct way, say, whitespace entities
	  inside text should be merged (while they should be discarded around
	  CDATA).

	* XmlTextReader2.cs : added FIXME comment which won't fix, that
	  I have noticed during fixing bug #378239.

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


svn path=/trunk/mcs/; revision=104923
2008-06-04 20:06:44 +00:00
Atsushi Eno 7ddd5fb859 2008-06-04 Atsushi Enomoto <[email protected]>
* XsltTestUtils.cs : fixed incorrect use of EnvOptions.WhitespaceStyle
	  for instance, not stylesheet.


svn path=/trunk/mcs/; revision=104881
2008-06-04 16:24:30 +00:00
Atsushi Eno 0794c874f5 2008-06-03 Atsushi Enomoto <[email protected]>
* XslVariable.cs : In XslGeneralVariable.Evaluate(), always wrap
	  custom XPathNodeIterator with XsltContext so that the iterator
	  can resolve variables. Fixed bug #316238.

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

	* 316238-1.xsl, 316238-2.xsl : new test files.


svn path=/trunk/mcs/; revision=104748
2008-06-03 12:58:30 +00:00
Noam Lampert 5a43e30bfa Remove all vmwcproj files from old Grasshopper version
svn path=/trunk/mcs/; revision=104227
2008-05-28 09:28:24 +00:00
Atsushi Eno dad3095d01 2008-05-22 Atsushi Enomoto <[email protected]>
* XslCompiledTransform.cs : in XmlWriterSettings, use
	  ConformanceLevel.Fragment to allow fragment output.
	  In Transform(string,string), use TextWriter output instead of
	  XmlWriter to control xml declaration output.
	  Fixed bug #391424.

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

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

	* Makefile : more simplification (and I forgot the syntax again :/)


svn path=/trunk/mcs/; revision=103783
2008-05-22 13:45:29 +00:00
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