126 Commits
Author SHA1 Message Date
Alexander Köplinger 112631f5c6 [bcl] Add missing APIs for netstandard parity and expose a few APIs on mobile
This ensures we're compliant with the upcoming netstandard2.0 API surface area.
2016-09-23 17:50:06 +02:00
Marek Habersack 262b4ef73f Fix endless recursion in XmlCompiledTransform on mobile
One of the XmlCompiledTransform overloads called itself recursively,
leading to either a stack overflow or segfault

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=36436
2015-12-10 22:01:52 +01:00
Marek Safar 1bda13b996 [bcl] Mobile profiles fixes 2015-05-06 17:11:33 +02:00
Atsushi Eno a314eac67e Remove old System.Xml sources. bye bye. 2015-03-04 03:31:00 +08:00
Atsushi Eno 94f667b1f3 [Xml] add mobile XslCompiledTransform implementation.
XslCompiledTransform doesn't work without CodeDom and dynamic code
generation. This "implementation" just dispatches everything to XslTransform.
2015-03-02 11:36:42 +08:00
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Damien Daspit ef1b6fb63c [System.XML] Fix XSL node-set bug (#18114)
XSL node-set function now behaves more like MS version.
2014-03-17 16:12:02 +01:00
Marek Safar 5b82f0e08c Clean up some NET_2_0 2012-06-14 15:44:35 +01:00
Marek Safar d5d4b9c22b Fix some warnings 2012-06-08 12:48:08 +01:00
Marek Safar 8566a284a2 Update more 4.5 api 2012-06-08 11:44:55 +01:00
Martin Baulig 7d170f400d Sync parameter names with .NET. 2012-06-03 04:02:28 +02:00
Miguel de Icaza ae0feab435 Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:04:24 -04:00
Jb Evain 0253e041a7 Enable the System.Xml build for monodroid 2010-09-08 18:48:29 +02: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
Jb Evain 258ad8200f bring XslCompiledTransform to MonoTouch
svn path=/trunk/mcs/; revision=145711
2009-11-09 10:33:07 +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
Marek Safar cc96a40c48 Warnings cleanup
svn path=/trunk/mcs/; revision=111909
2008-08-29 12:02:25 +00:00
Marek Safar 95a6e77b85 Warnings cleanup
svn path=/trunk/mcs/; revision=111839
2008-08-28 16:53:31 +00:00
Atsushi Eno 26a6b211f3 2008-06-03 Atsushi Enomoto <[email protected]>
* XslTransform.cs : add pretty simple printing debugger.


svn path=/trunk/mcs/; revision=104744
2008-06-03 11:28:53 +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 6330dd1733 2007-12-27 Atsushi Enomoto <[email protected]>
* XslCompiledTransform.cs : when loading XmlReader as an input to
	  Transform(), preserve whitespaces in the input document. Based on
	  the patch by Tor Lillqvist (part of #349375 fix).


svn path=/trunk/mcs/; revision=91930
2007-12-27 11:44:16 +00:00
Atsushi Eno 5597ae55fd 2007-10-10 Atsushi Enomoto <[email protected]>
* XslCompiledTransform.cs : actually previous change was not enough.
	  Added a commented-out example of debugger method usage.


svn path=/trunk/mcs/; revision=87253
2007-10-10 11:02:35 +00:00
Atsushi Eno 895c6c3f89 2007-10-10 Atsushi Enomoto <[email protected]>
* XslCompiledTransform.cs : a bit more of debugging help. Now it
	  stores stylesheet elements when "enableDebug" is true.


svn path=/trunk/mcs/; revision=87248
2007-10-10 09:43:37 +00:00
Atsushi Eno 19308b4ef0 2007-06-28 Atsushi Enomoto <[email protected]>
Yes, it is Hack Week, I had to start delayed though.

	* System.Xml.dll.sources : added XsltDebuggerWrapper.cs, as initial
	  attempt to support external debugger.

	* XslText.cs XslMessage.cs XslVariable.cs XslNotSupportedOperation.cs
	  XslNumber.cs XslElement.cs XslIf.cs XslCopyOf.cs XslFallback.cs
	  XslValueOf.cs XslComment.cs XslAttribute.cs XslApplyImports.cs
	  XslApplyTemplates.cs XslLiteralElement.cs XslCompiledElement.cs
	  XslTemplateContent.cs XslForEach.cs XslCallTemplate.cs
	  XslCopy.cs XslProcessingInstruction.cs XslChoose.cs :
	  minimum required injection for debugger.

	initial attempt to hook debuggers.
	* XsltDebuggerWrapper.cs : new.
	* XslTransformProcessor.cs Compiler.cs : use above.

	* XslCompiledTransform.cs XslTransform.cs : initial attempt to
	  support external debugger.


svn path=/trunk/mcs/; revision=80984
2007-06-28 16:44:07 +00:00
Noam Lampert 8d396abe4e Grasshopper doesn't support TempFileCollection
svn path=/trunk/mcs/; revision=70484
2007-01-04 15:15:05 +00:00
Atsushi Eno 679a1121b6 2006-11-30 Atsushi Enomoto <[email protected]>
* XslStylesheet.cs, XslTemplate.cs : added XSLT stack frame debug
	  support, based on the patch by Michael Meeks.

	* XslTransform.cs, XsltException.cs : added XSLT stack frame debug
	  support, based on the patch by Michael Meeks.


svn path=/trunk/mcs/; revision=68730
2006-11-30 05:35:45 +00:00
Atsushi Eno 1d3440fc5d sanitizing MonoTODOs.
svn path=/trunk/mcs/; revision=67899
2006-11-15 11:31:25 +00:00
Atsushi Eno 5d5594ef4b 2006-10-27 Atsushi Enomoto <[email protected]>
* XsltContext.cs : finally created a non-copyright-infringing test
	  for bug #46751 and fixed it.

	* XPathNavigatorTests.cs : added (kind of) test for bug #46751.


svn path=/trunk/mcs/; revision=67045
2006-10-27 20:51:56 +00:00
Atsushi Eno 5aa4000b87 2006-07-06 Atsushi Enomoto <[email protected]>
* XslCompiledTransform.cs : making stub more complete :|


svn path=/trunk/mcs/; revision=62306
2006-07-06 10:26:34 +00:00
Gert Driesen 9f44a55efb * XsltContext.cs: Ctors are public in .NET 1.1. Fixes warnings in class status
page. Set eol-style to CRLF.

svn path=/trunk/mcs/; revision=61221
2006-05-29 08:51:22 +00:00
Atsushi Eno 5bdbb16452 2006-05-08 Atsushi Enomoto <[email protected]>
* XslTransform.cs : fixed ObsoleteAttributes. It won't be harmful
	  as we have working XslCompiledTransform stubs.


svn path=/trunk/mcs/; revision=60395
2006-05-08 06:18:31 +00:00
Atsushi Eno 296cf68292 2006-02-22 Atsushi Enomoto <[email protected]>
* XsltContext.cs : don't expect that it is always XsltCompiledContext
	  which is being evaluated in XPathExpression. Dispatch overriden
	  methods. Fixed bug #46751.


svn path=/trunk/mcs/; revision=57137
2006-02-22 05:58:19 +00:00
Atsushi Eno 1d4eb101a3 2006-01-25 Atsushi Enomoto <[email protected]>
* XsltContext.cs : fixed method signatures found by updated
	  corcompare.


svn path=/trunk/mcs/; revision=56047
2006-01-25 15:34:17 +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 b506772860 2005-11-22 Atsushi Enomoto <[email protected]>
* XslCompiledTransform.cs : added non-compiler transformer (aka. stub).

	* System.Xml.dll.sources : added dummy XslCompiledTransform.cs.


svn path=/trunk/mcs/; revision=53337
2005-11-22 04:18:35 +00:00
Atsushi Eno 502ec3499a 2005-11-07 Atsushi Enomoto <[email protected]>
* XsltException.cs : under 2.0, some properties are virtual.


svn path=/trunk/mcs/; revision=52665
2005-11-07 20:03:39 +00:00
Andrew Skiba 269246a89d * XslTransform.cs: throw meaningful exception when Transform is
called before Load

svn path=/trunk/mcs/; revision=52644
2005-11-07 09:59:42 +00:00
Gert Driesen 749d5fd29b * XsltSettings.cs: Marked sealed.
svn path=/trunk/mcs/; revision=51465
2005-10-08 11:26:54 +00:00
Atsushi Eno c365140073 2005-09-16 Atsushi Enomoto <[email protected]>
* XslTransform.cs : When Transform() returns XmlReader, allow empty
	  results. Fixed bug #76115.

	* ScriptCompilerInfo.cs : Compile correct replacement result.
	  Fixed bug #76116.

	* XslTransformTests.cs : added testcase for bug #76115.
	* MSXslScriptTests.cs : added testcase for bug #76116.


svn path=/trunk/mcs/; revision=50132
2005-09-16 09:17:15 +00:00
Sebastien Pouliot 0918aca882 2005-08-31 Sebastien Pouliot <[email protected]>
* XsltArgumentList.cs: Added a LinkDemand for Unrestricted on 
	AddExtensionObject method.
	* XsltCompileException.cs: Added a Demand for SerializationFormatter 
	on GetObjectData method.
	* XsltException.cs: Added a Demand for SerializationFormatter on
	GetObjectData method.


svn path=/trunk/mcs/; revision=49178
2005-08-31 13:05:53 +00:00
Gert Driesen b6157808b4 * XmlSchemaInference.cs: Is sealed in Beta 2.
* XmlSchemaInfo.cs: Added ContentType property.
* XmlSchemaObjectEnumerator.cs: No longer sealed in Beta 2.
* XmlSchemaSet.cs: No longer sealed in Beta 2. XmlResolver property
is now CLSCompliant.
* XmlConvert.cs: Renamed RoundTripKind to RoundtripKind.
* XmlDateTimeSerializationMode.cs: Renamed RoundTripKind to RoundtripKind 
to match .NET 2.0 Beta 2.
* XmlNodeReader2.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2, and is explicit interface implementation.
* XmlTextReader.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XmlTextReader2.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XmlValidatingReader.cs: GetNamespacesInScope returns generic IDictionary 
in .NET 2.0 Beta 2.
* IXmlNamespaceResolver.cs: GetNamespacesInScope returns generic IDictionary 
in .NET 2.0 Beta 2.
* XmlNamespaceManager.cs: GetNamespacesInScope returns generic IDictionary 
in .NET 2.0 Beta 2.
* XmlNodeReaderImpl.cs: GetNamespacesInScope returns generic IDictionary in 
.NET 2.0 Beta 2.
* DTDValidatingReader.cs: GetNamespacesInScope returns generic IDictionary 
in .NET 2.0 Beta 2.
* XsltArgumentList.cs: No longer sealed in .NET 2.0.
* XsltException.cs: Message override is back in .NET 2.0 Beta 2.
* XmlMapping.cs: API compatibility fixes. Ctor is not protected in .NET 1.1. 
SetKey is not obsolete in .NET 2.0 Beta 2.
* XPathNavigator.cs: GetNamespacesInScope returns generic IDictionary
in .NET 2.0 Beta 2.
* XsdValidationReader.cs: GetNamespacesInScope returns generic IDictionary 
in .NET 2.0 Beta 2.
* XmlSchemaValidatingReader.cs: GetNamespacesInScope returns generic
IDictionary in .NET 2.0 Beta 2.
* SubtreeXmlReader.cs: GetNamespacesInScope now returns generic IDictionary.

svn path=/trunk/mcs/; revision=47974
2005-08-03 17:39:08 +00:00
Ben Maurer 7ee4149d42 more executable bits
svn path=/trunk/mcs/; revision=46568
2005-06-27 16:07:43 +00:00
Ben Maurer b27c8e1534 remove .cvsignore from everywhere, as it is useless on svn
svn path=/trunk/mcs/; revision=46564
2005-06-27 15:55:58 +00:00
Atsushi Eno d79bc95795 2005-06-27 Atsushi Enomoto <[email protected]>
* XsltMessageEncounteredEventArgs.cs : it seems abstract.
	* XsltSettings.cs : There is another .ctor().


svn path=/trunk/mcs/; revision=46553
2005-06-27 12:59:30 +00:00
Atsushi Eno b89eb43695 2005-06-27 Atsushi Enomoto <[email protected]>
* XsltSettings.cs,
	  XsltMessageEncounteredEventArgs.cs,
	  XsltMessageEncounteredEventHandler.cs : new files for net_2_0.
	* XsltArgumentList.cs : added 2.0 message event.


svn path=/trunk/mcs/; revision=46536
2005-06-27 08:31:32 +00:00
Ben Maurer 51f1fef710 Do a move to kill signs of hackishness
svn path=/trunk/mcs/; revision=42498
2005-04-03 17:24:50 +00:00
Ben Maurer c62156fb77 In .:
2005-04-03  Ben Maurer  <[email protected]>

	* System.Xml.dll.sources: Kill multiplexing hack.

In System.Xml.Xsl:
2005-04-03  Ben Maurer  <[email protected]>

	* *.cs: Kill unmanaged xslt and the multiplexing hack.


svn path=/trunk/mcs/; revision=42497
2005-04-03 17:24:12 +00:00
Atsushi Eno c6abb6a8d8 2005-03-22 Atsushi Enomoto <[email protected]>
* XslTransform.cs : commented out warned code.


svn path=/trunk/mcs/; revision=42061
2005-03-22 07:15:52 +00:00
Atsushi Eno e26aab13f9 2005-03-09 Atsushi Enomoto <[email protected]>
* XsltContext.cs : removed GetNsm() from IStaticXsltContext and added
	  LookupNamespace() instead.
	* BUGS-MS.txt : more bug info.

	* XslFunctions.cs, Compiler.cs : Eliminated XPathNavigatorNsm class
	  to reduce references to stylesheet XPathNavigator. To accomplish it,
	  IStaticXsltContext does not declare GetNsm() anymore. All xslt
	  function types now directly hold IStaticXsltContext.
	* XslStylesheet.cs : removed "Compiler c" field.
	  Removed unused properties.


svn path=/trunk/mcs/; revision=41583
2005-03-09 05:17:39 +00:00
Atsushi Eno e6eeab0370 2005-03-04 Atsushi Enomoto <[email protected]>
* BUGS-MS.txt : more bug info.

	* ignore.lst : still more ignored cases.


svn path=/trunk/mcs/; revision=41451
2005-03-04 17:23:07 +00:00