Compare commits

..
Author SHA1 Message Date
Atsushi Eno 978b2f5d12 Fix all Encoding related regressions caused by referencesource import. 2015-02-12 20:40:28 +08:00
Atsushi Eno 0b82d1225b [encoding] add test for bug #23771 (UTF8 decoder state broken). 2015-02-12 14:43:05 +08:00
Atsushi Eno b5947fb500 Now we have our own EncodingTable.cs and EncodingDataItem.cs implementation.
Instead of adding InternalCall from EncodingTable, we have managed
version of encoding list which is copied from coreclr sources.

With this implementation we can run nunit tests (make run-test) again.
2015-02-11 03:26:47 +08:00
Atsushi Eno b300bf47b4 Removed NLS-based encodings in referencesource from build.
The basic plan here is to just replace ASCII and Unicode-based encodings
while preserving Latin1 and I18N-based encodings. We need to plug
InvokeI18N to referencesource Encoding and probably hack EncodingTable
etc. to work consistently (or remove references to it, if possible).
2015-02-10 22:09:53 +08:00
Atsushi Eno b054149da5 initial attempt to import referencesource Encoding classes.
This does NOT work yet, because it's just to make everything to "build"
and there are missing InternalCall implementations (e.g. for
EncodingDataTable) and embedded resources (such as codepages.nlp).

I'm not sure what is the best solution for these classes yet. Creating
nlp resources for everything, or make some changes in Encoding and
import only partial sources such as UTF8Encoding.
2015-02-10 04:54:45 +08:00
Atsushi Eno 0a511354f3 bump referencesource for Encoding implementation. 2015-02-10 04:25:39 +08:00
341 changed files with 12631 additions and 9972 deletions

No files matched your search

-4
View File
@@ -109,10 +109,6 @@ GRTAGS
GSYMS
GTAGS
# Doxygen
docs/doxygen*
docs/perlmod*
##############################################################################
# Mono-specific patterns
+2 -2
View File
@@ -28,8 +28,8 @@
url = git://github.com/mono/ikdasm.git
[submodule "external/referencesource"]
path = external/referencesource
url = https://github.com/mono/referencesource
url = git://github.com/mono/referencesource
branch = mono
[submodule "external/reference-assemblies"]
path = external/binary-reference-assemblies
path = external/reference-assemblies
url = git://github.com/mono/reference-assemblies.git
+1 -1
View File
@@ -52,7 +52,7 @@ dist-hook:
d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) distdir=$$d dist-recursive
rm -rf `find $(top_distdir)/external -path '*\.git'`
rm -f `find $(top_distdir)/external -path '*\.exe'`
rm -f `find $(top_distdir)/external -path '*\.dll' -not -path '*/binary-reference-assemblies/v4\.0*'`
rm -f `find $(top_distdir)/external -path '*\.dll' -not -path '*/reference-assemblies/v4\.0*'`
cp mcs/class/lib/basic/System.Configuration.dll mcs/class/lib/monolite/
cp mcs/class/lib/basic/System.Security.dll mcs/class/lib/monolite/
# Disable this for now because it is very slow and causes wrench to timeout:
+11 -10
View File
@@ -529,21 +529,23 @@ AC_CACHE_CHECK([for clang],
WARN=''
if test x"$GCC" = xyes; then
WARN='-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value'
# We require C99 with some GNU extensions, e.g. `linux` macro
CFLAGS="$CFLAGS -std=gnu99"
# The runtime code does not respect ANSI C strict aliasing rules
CFLAGS="$CFLAGS -fno-strict-aliasing"
# We rely on signed overflow to behave
CFLAGS="$CFLAGS -fwrapv"
CFLAGS="$CFLAGS -DMONO_DLL_EXPORT"
# Don't export any symbols by default
SHARED_CFLAGS="-fvisibility=hidden"
CFLAGS_FOR_EGLIB="$CFLAGS_FOR_EGLIB -fvisibility=hidden"
CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
ORIG_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Wdeclaration-after-statement"
AC_MSG_CHECKING(for -Wdeclaration-after-statement option to gcc)
AC_TRY_COMPILE([],[
return 0;
], [
AC_MSG_RESULT(yes)
], [
AC_MSG_RESULT(no)
CFLAGS=$ORIG_CFLAGS
])
ORIG_CFLAGS=$CFLAGS
# Check for the normal version, since gcc ignores unknown -Wno options
@@ -675,7 +677,6 @@ if test x$werror_flag = xyes; then
WERROR_CFLAGS="-Werror"
fi
AC_SUBST([WERROR_CFLAGS])
AC_SUBST([SHARED_CFLAGS])
ac_configure_args="$ac_configure_args \"CPPFLAGS_FOR_EGLIB=$EGLIB_CPPFLAGS\" \"CFLAGS_FOR_EGLIB=$CFLAGS_FOR_EGLIB\""
AC_CONFIG_SUBDIRS(eglib)
-1
View File
@@ -132,7 +132,6 @@ g_assertion_message (const gchar *format, ...)
va_start (args, format);
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
va_end (args);
exit (0);
}
+1 -1
+1 -1
File renamed without changes.
-4
View File
@@ -970,10 +970,6 @@ where V is the architecture number 4, 5, 6, 7 and the options can be currently b
.fi
.TP
\fBMONO_ARM_FORCE_SOFT_FLOAT\fR
When Mono is built with a soft float fallback on ARM and this variable is set to
"1", Mono will always emit soft float code, even if a VFP unit is detected.
.TP
\fBMONO_DISABLE_AIO\fR
If set, tells mono NOT to attempt using native asynchronous I/O services. In
that case, a default select/poll implementation is used. Currently only epoll()
-6
View File
@@ -66,12 +66,6 @@ else
the_libdir_base = $(topdir)/class/$(lib_dir)/$(PROFILE)/
endif
ifdef RESOURCE_STRINGS
ifdef BOOTSTRAP_PROFILE
MCS_FLAGS_INTERNAL += $(RESOURCE_STRINGS:%=--getresourcestrings:%)
endif
endif
#
# The bare directory contains the plain versions of System and System.Xml
#
+1 -1
View File
@@ -28,7 +28,7 @@ ifndef BUILD_TOOLS_PROFILE
BUILD_TOOLS_PROFILE = build
endif
USE_MCS_FLAGS = /codepage:$(CODEPAGE) $(LOCAL_MCS_FLAGS) $(PLATFORM_MCS_FLAGS) $(PROFILE_MCS_FLAGS) $(MCS_FLAGS) $(MCS_FLAGS_INTERNAL)
USE_MCS_FLAGS = /codepage:$(CODEPAGE) $(LOCAL_MCS_FLAGS) $(PLATFORM_MCS_FLAGS) $(PROFILE_MCS_FLAGS) $(MCS_FLAGS)
USE_MBAS_FLAGS = /codepage:$(CODEPAGE) $(LOCAL_MBAS_FLAGS) $(PLATFORM_MBAS_FLAGS) $(PROFILE_MBAS_FLAGS) $(MBAS_FLAGS)
USE_CFLAGS = $(LOCAL_CFLAGS) $(CFLAGS) $(CPPFLAGS)
CSCOMPILE = $(Q_MCS) $(MCS) $(USE_MCS_FLAGS)
-8
View File
@@ -712,14 +712,6 @@ namespace I18N.CJK
public override int WindowsCodePage {
get { return SHIFTJIS_CODE_PAGE; }
}
// FIXME: This doesn't make sense, but without declaring this override
// System.XML regresses at Encoder.Convert() in
// MonoTests.System.Xml.XmlWriterSettingsTests.EncodingTest.
public override Encoder GetEncoder ()
{
return new MonoEncodingDefaultEncoder (this);
}
}; // class CP932
-148
View File
@@ -1,148 +0,0 @@
// This is partially copied source from referencesource/mscorlib/system/text/encoding.cs, modifying a bit.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
using System;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Text;
namespace I18N.Common
{
[Serializable]
public class ReferenceSourceDefaultEncoder : Encoder, IObjectReference
{
private Encoding m_encoding;
[NonSerialized] private bool m_hasInitializedEncoding;
[NonSerialized] internal char charLeftOver;
public ReferenceSourceDefaultEncoder(Encoding encoding)
{
m_encoding = encoding;
m_hasInitializedEncoding = true;
}
// Constructor called by serialization, have to handle deserializing from Everett
internal ReferenceSourceDefaultEncoder(SerializationInfo info, StreamingContext context)
{
if (info==null) throw new ArgumentNullException("info");
Contract.EndContractBlock();
// All we have is our encoding
this.m_encoding = (Encoding)info.GetValue("encoding", typeof(Encoding));
try
{
//this.m_fallback = (EncoderFallback) info.GetValue("m_fallback", typeof(EncoderFallback));
this.charLeftOver = (Char) info.GetValue("charLeftOver", typeof(Char));
}
catch (SerializationException)
{
}
}
// Just get it from GetEncoding
[System.Security.SecurityCritical] // auto-generated
public Object GetRealObject(StreamingContext context)
{
// upon deserialization since the DefaultEncoder implement IObjectReference the
// serialization code tries to do the fixup. The fixup returns another
// IObjectReference (the DefaultEncoder) class and hence so on and on.
// Finally the deserialization logics fails after following maximum references
// unless we short circuit with the following
if (m_hasInitializedEncoding)
{
return this;
}
Encoder encoder = m_encoding.GetEncoder();
/*
if (m_fallback != null)
encoder.m_fallback = m_fallback;
if (charLeftOver != (char) 0)
{
EncoderNLS encoderNls = encoder as EncoderNLS;
if (encoderNls != null)
encoderNls.charLeftOver = charLeftOver;
}
*/
return encoder;
}
#if FEATURE_SERIALIZATION
// ISerializable implementation, get data for this object
[System.Security.SecurityCritical] // auto-generated_required
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
// Any info?
if (info==null) throw new ArgumentNullException("info");
Contract.EndContractBlock();
// All we have is our encoding
info.AddValue("encoding", this.m_encoding);
}
#endif
// Returns the number of bytes the next call to GetBytes will
// produce if presented with the given range of characters and the given
// value of the flush parameter. The returned value takes into
// account the state in which the encoder was left following the last call
// to GetBytes. The state of the encoder is not affected by a call
// to this method.
//
public override int GetByteCount(char[] chars, int index, int count, bool flush)
{
return m_encoding.GetByteCount(chars, index, count);
}
[System.Security.SecurityCritical] // auto-generated
[SuppressMessage("Microsoft.Contracts", "CC1055")] // Skip extra error checking to avoid *potential* AppCompat problems.
public unsafe override int GetByteCount(char* chars, int count, bool flush)
{
return m_encoding.GetByteCount(chars, count);
}
// Encodes a range of characters in a character array into a range of bytes
// in a byte array. The method encodes charCount characters from
// chars starting at index charIndex, storing the resulting
// bytes in bytes starting at index byteIndex. The encoding
// takes into account the state in which the encoder was left following the
// last call to this method. The flush parameter indicates whether
// the encoder should flush any shift-states and partial characters at the
// end of the conversion. To ensure correct termination of a sequence of
// blocks of encoded bytes, the last call to GetBytes should specify
// a value of true for the flush parameter.
//
// An exception occurs if the byte array is not large enough to hold the
// complete encoding of the characters. The GetByteCount method can
// be used to determine the exact number of bytes that will be produced for
// a given range of characters. Alternatively, the GetMaxByteCount
// method of the Encoding that produced this encoder can be used to
// determine the maximum number of bytes that will be produced for a given
// number of characters, regardless of the actual character values.
//
public override int GetBytes(char[] chars, int charIndex, int charCount,
byte[] bytes, int byteIndex, bool flush)
{
return m_encoding.GetBytes(chars, charIndex, charCount, bytes, byteIndex);
}
[System.Security.SecurityCritical] // auto-generated
[SuppressMessage("Microsoft.Contracts", "CC1055")] // Skip extra error checking to avoid *potential* AppCompat problems.
public unsafe override int GetBytes(char* chars, int charCount,
byte* bytes, int byteCount, bool flush)
{
return m_encoding.GetBytes(chars, charCount, bytes, byteCount);
}
}
}
-1
View File
@@ -6,5 +6,4 @@ Handlers.cs
Manager.cs
MonoEncoding.cs
MonoSafeEncoding.cs
DefaultEncoder.cs
Strings.cs
-77
View File
@@ -210,11 +210,6 @@ namespace I18N.Common
//[CLSCompliant (false)]
public unsafe abstract int GetBytesImpl (char* chars, int charCount,
byte* bytes, int byteCount);
public override Encoder GetEncoder ()
{
return new MonoEncodingDefaultEncoder (this);
}
}
public abstract class MonoEncoder : Encoder
@@ -309,76 +304,4 @@ namespace I18N.Common
bytes, ref byteIndex, ref byteCount, null);
}*/
}
public class MonoEncodingDefaultEncoder : ReferenceSourceDefaultEncoder
{
public MonoEncodingDefaultEncoder (Encoding encoding)
: base (encoding)
{
}
[CLSCompliant (false)]
[ComVisible (false)]
public unsafe override void Convert (
char* chars, int charCount,
byte* bytes, int byteCount, bool flush,
out int charsUsed, out int bytesUsed, out bool completed)
{
CheckArguments (chars, charCount, bytes, byteCount);
charsUsed = charCount;
while (true) {
bytesUsed = GetByteCount (chars, charsUsed, flush);
if (bytesUsed <= byteCount)
break;
flush = false;
charsUsed >>= 1;
}
completed = charsUsed == charCount;
bytesUsed = GetBytes (chars, charsUsed, bytes, byteCount, flush);
}
[ComVisible (false)]
public override void Convert (
char [] chars, int charIndex, int charCount,
byte [] bytes, int byteIndex, int byteCount, bool flush,
out int charsUsed, out int bytesUsed, out bool completed)
{
if (chars == null)
throw new ArgumentNullException ("chars");
if (bytes == null)
throw new ArgumentNullException ("bytes");
if (charIndex < 0)
throw new ArgumentOutOfRangeException ("charIndex");
if (charCount < 0 || chars.Length < charIndex + charCount)
throw new ArgumentOutOfRangeException ("charCount");
if (byteIndex < 0)
throw new ArgumentOutOfRangeException ("byteIndex");
if (byteCount < 0 || bytes.Length < byteIndex + byteCount)
throw new ArgumentOutOfRangeException ("byteCount");
charsUsed = charCount;
while (true) {
bytesUsed = GetByteCount (chars, charIndex, charsUsed, flush);
if (bytesUsed <= byteCount)
break;
flush = false;
charsUsed >>= 1;
}
completed = charsUsed == charCount;
bytesUsed = GetBytes (chars, charIndex, charsUsed, bytes, byteIndex, flush);
}
unsafe void CheckArguments (char* chars, int charCount, byte* bytes, int byteCount)
{
if (chars == null)
throw new ArgumentNullException ("chars");
if (bytes == null)
throw new ArgumentNullException ("bytes");
if (charCount < 0)
throw new ArgumentOutOfRangeException ("charCount");
if (byteCount < 0)
throw new ArgumentOutOfRangeException ("byteCount");
}
}
}
@@ -38,8 +38,10 @@ namespace System.Windows.Forms {
void CreateEditingControl ()
{
editingControl = new DataGridViewTextBoxEditingControl() {
EditingControlDataGridView = DataGridView,
Multiline = false,
BorderStyle = BorderStyle.None
BorderStyle = BorderStyle.None,
MaxLength = maxInputLength
};
}
@@ -90,13 +92,8 @@ namespace System.Windows.Forms {
throw new InvalidOperationException("There is no associated DataGridView.");
}
if (editingControl == null)
CreateEditingControl ();
CreateEditingControl ();
DataGridView.EditingControlInternal = editingControl;
editingControl.EditingControlDataGridView = DataGridView;
editingControl.MaxLength = maxInputLength;
if (initialFormattedValue == null || initialFormattedValue.ToString () == string.Empty)
editingControl.Text = string.Empty;
@@ -129,9 +126,6 @@ namespace System.Windows.Forms {
public override void PositionEditingControl (bool setLocation, bool setSize, Rectangle cellBounds, Rectangle cellClip, DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow)
{
if (editingControl == null)
CreateEditingControl ();
cellBounds.Size = new Size (cellBounds.Width - 5, cellBounds.Height + 2);
cellBounds.Location = new Point (cellBounds.X + 3, ((cellBounds.Height - editingControl.Height) / 2) + cellBounds.Y - 1);
@@ -1775,8 +1775,7 @@ namespace System.Windows.Forms
switch (met) {
case ToolStripItemEventType.MouseUp:
if (((MouseEventArgs)e).Button == MouseButtons.Left)
this.HandleClick (((MouseEventArgs)e).Clicks, e);
this.HandleClick (((MouseEventArgs)e).Clicks, e);
this.OnMouseUp ((MouseEventArgs)e);
break;
case ToolStripItemEventType.MouseDown:
@@ -29,7 +29,6 @@ using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
@@ -42,10 +41,7 @@ namespace Microsoft.Build.Tasks {
bool skipUnchangedFiles;
ITaskItem[] sourceFiles;
bool overwriteReadOnlyFiles;
int retries;
int retryDelayMilliseconds;
bool useHardlinksIfPossible;
public Copy ()
{
}
@@ -83,7 +79,7 @@ namespace Microsoft.Build.Tasks {
}
if (!skipUnchangedFiles || HasFileChanged (sourceFile, destinationFile))
CopyFileWithRetries (sourceFile, destinationFile, true);
CopyFile (sourceFile, destinationFile, true);
sourceItem.CopyMetadataTo (destinationItem);
temporaryCopiedFiles.Add (destinationItem);
@@ -106,7 +102,7 @@ namespace Microsoft.Build.Tasks {
if (!skipUnchangedFiles || directoryCreated ||
HasFileChanged (sourceFile, destinationFile))
CopyFileWithRetries (sourceFile, destinationFile, false);
CopyFile (sourceFile, destinationFile, false);
temporaryCopiedFiles.Add (new TaskItem (
Path.Combine (destinationFolder.GetMetadata ("Identity"), filename),
@@ -176,34 +172,6 @@ namespace Microsoft.Build.Tasks {
}
}
public int Retries {
get {
return retries;
}
set {
retries = value;
}
}
public int RetryDelayMilliseconds {
get {
return retryDelayMilliseconds;
}
set {
retryDelayMilliseconds = value;
}
}
[MonoTODO ("Not implemented yet.")]
public bool UseHardlinksIfPossible {
get {
return useHardlinksIfPossible;
}
set {
useHardlinksIfPossible = value;
}
}
[Required]
public ITaskItem[] SourceFiles {
get {
@@ -225,23 +193,6 @@ namespace Microsoft.Build.Tasks {
return true;
}
void CopyFileWithRetries (string source, string dest, bool create_dir)
{
for (int i = retries; i >= 0; i--) {
try {
CopyFile (source, dest, create_dir);
}
catch (Exception ex) {
Log.LogMessage ("Copying failed. Retries left: {0}.", i);
if (i == 0)
throw;
Thread.Sleep (retryDelayMilliseconds);
}
}
}
void CopyFile (string source, string dest, bool create_dir)
{
if (create_dir)
@@ -30,7 +30,6 @@ using System.IO;
using Microsoft.Build.BuildEngine;
using NUnit.Framework;
using System.Text;
using System.Threading;
using Microsoft.Build.Tasks;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
@@ -397,61 +396,6 @@ namespace MonoTests.Microsoft.Build.Tasks {
File.SetAttributes (target_file, FileAttributes.Normal);
}
[Test]
public void TestCopy_Retries ()
{
Engine engine;
Project project;
string file_path = Path.Combine (source_path, "copyretries.txt");
string target_file = Path.Combine (target_path, "copyretries.txt");
using (File.CreateText (file_path)) { }
using (File.CreateText (target_file)) { }
File.SetAttributes (target_file, FileAttributes.ReadOnly);
Assert.AreEqual (FileAttributes.ReadOnly, File.GetAttributes (target_file), "A1");
string documentString = @"
<Project xmlns=""http://schemas.microsoft.com/developer/msbuild/2003"">
<PropertyGroup><DestFile>" + target_file + @"</DestFile></PropertyGroup>
<ItemGroup>
<SFiles Include='" + file_path + @"'><Md>1</Md></SFiles>
<DFiles Include='$(DestFile)'><Mde>2</Mde></DFiles>
</ItemGroup>
<Target Name='1'>
<Copy SourceFiles='@(SFiles)' DestinationFiles='@(DFiles)' Retries='3' RetryDelayMilliseconds='2000'>
<Output TaskParameter='CopiedFiles' ItemName='I0'/>
<Output TaskParameter='DestinationFiles' ItemName='I1'/>
</Copy>
<Message Text=""I0 : @(I0), I1: @(I1)""/>
</Target>
</Project>
";
engine = new Engine (Consts.BinPath);
project = engine.CreateNewProject ();
TestMessageLogger testLogger = new TestMessageLogger ();
engine.RegisterLogger (testLogger);
project.LoadXml (documentString);
// remove the read-only flag from the file after a few secs,
// so copying works after retries
new Thread ( () => {
Thread.Sleep (3000);
File.SetAttributes (target_file, FileAttributes.Normal);
}).Start ();
if (!project.Build ("1")) {
var sb = new StringBuilder ();
testLogger.DumpMessages (sb);
Assert.Fail ("Build failed " + sb.ToString ());
}
testLogger.CheckLoggedAny ("Copying failed. Retries left: 3.", MessageImportance.Normal, "A2");
}
void CheckCopyBuildItems (Project project, string [] source_files, string destination_folder, string prefix)
{
int num = source_files.Length;
@@ -115,7 +115,8 @@
<IISUrl>http://localhost:18572/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl></CustomServerUrl>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
@@ -155,6 +155,7 @@ namespace MonoTests.EvaluatorTest
Assert.AreEqual (124, res);
}
#if NET_4_0
[Test]
public void DynamicStatement ()
{
@@ -162,7 +163,9 @@ namespace MonoTests.EvaluatorTest
Evaluator.Run ("d = 'a';");
Evaluator.Run ("d.GetType ();");
}
#endif
#if NET_4_5
[Test]
public void AwaitExpression ()
{
@@ -171,14 +174,6 @@ namespace MonoTests.EvaluatorTest
res = Evaluator.Evaluate ("res;");
Assert.AreEqual (3, res, "#1");
}
[Test]
public void UsingStatic ()
{
Evaluator.Run ("using static System.String;");
var res = Evaluator.Evaluate("Join (\"--\", new [] { \"a\", \"b\" } );");
Assert.AreEqual ("a--b", res);
}
#endif
}
}
@@ -11,6 +11,13 @@ LIB_MCS_FLAGS = \
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
RESOURCE_STRINGS = ../../../external/referencesource/System.ComponentModel.DataAnnotations/System.ComponentModel.DataAnnotations.txt
# This is a .NET 3.5+ assembly
VALID_PROFILE := $(filter net_4_5 monotouch monodroid xammac mobile mobile_static, $(PROFILE))
ifndef VALID_PROFILE
LIBRARY_NAME = dummy-System.ComponentModel.DataAnnotations.dll
NO_INSTALL = yes
NO_SIGN_ASSEMBLY = yes
NO_TEST = yes
endif
include ../../build/library.make
@@ -39,8 +39,7 @@ namespace System.Configuration
{
SectionGroupInfo group;
Configuration config;
static readonly object lockObject = new object();
internal ConfigurationSectionCollection (Configuration config, SectionGroupInfo group)
: base (StringComparer.Ordinal)
{
@@ -61,17 +60,15 @@ namespace System.Configuration
public ConfigurationSection this [string name]
{
get {
lock(lockObject) {
ConfigurationSection sec = BaseGet (name) as ConfigurationSection;
if (sec == null) {
SectionInfo secData = group.Sections [name] as SectionInfo;
if (secData == null) return null;
sec = config.GetSectionInstance (secData, true);
if (sec == null) return null;
BaseSet (name, sec);
}
return sec;
ConfigurationSection sec = BaseGet (name) as ConfigurationSection;
if (sec == null) {
SectionInfo secData = group.Sections [name] as SectionInfo;
if (secData == null) return null;
sec = config.GetSectionInstance (secData, true);
if (sec == null) return null;
BaseSet (name, sec);
}
return sec;
}
}
+18 -1
View File
@@ -6,7 +6,6 @@ LIBRARY = System.Core.dll
REFERENCE_SOURCES_FLAGS = -d:FEATURE_PAL,PFX_LEGACY_3_5
LIB_MCS_FLAGS = $(REFERENCE_SOURCES_FLAGS) -d:INSIDE_SYSCORE -d:LIBC /r:System.dll -unsafe
RESOURCE_STRINGS = ../../../external/referencesource/System.Core/System.Core.txt
ifneq (2.1, $(FRAMEWORK_VERSION))
LIB_MCS_FLAGS += -d:NET_3_5 -nowarn:1720
@@ -74,3 +73,21 @@ csproj-local:
$(MAKE) csproj-local intermediate=plaincore/
endif
endif
#
# Android TimeZoneInfo testing....
#
tzi.exe: ../corlib/System/AndroidPlatform.cs $(wildcard System/TimeZone*.cs) ../../build/common/Consts.cs ../Mono.Options/Mono.Options/Options.cs
mcs /debug+ /out:$@ /unsafe "/d:INSIDE_CORLIB;MONODROID;MOBILE;NET_4_5;NET_4_0;LIBC;SELF_TEST" $^
android-pull-tzdb:
mkdir -p android/tzdb/usr/share/zoneinfo
mkdir -p android/tzdb/misc/zoneinfo/zoneinfo
android_root=`adb shell echo '$$ANDROID_ROOT' | tr -d "\r"` ; \
android_data=`adb shell echo '$$ANDROID_DATA' | tr -d "\r"` ; \
adb $(ADB_TARGET) pull $$android_root/usr/share/zoneinfo android/tzdb/usr/share/zoneinfo ; \
adb $(ADB_TARGET) pull $$android_data/misc/zoneinfo/tzdata android/tzdb/misc/zoneinfo
android-dump-tzdata: tzi.exe android-pull-tzdb
__XA_OVERRIDE_TIMEZONE_ID__=America/New_York ANDROID_ROOT="`pwd`/android/tzdb" ANDROID_DATA="`pwd`/android/tzdb" mono --debug tzi.exe -o android/tzdata
@@ -51,7 +51,9 @@ namespace MonoTests.System.Security.Cryptography {
}
[Test]
#if !MOBILE
[ExpectedException (typeof (CryptographicException))]
#endif
public void CTS_NotAllowed ()
{
// this check is normally (e.g. RijndaelManaged) done later
-2
View File
@@ -7,6 +7,4 @@ LIB_MCS_FLAGS = -r:System.dll -r:System.Core.dll -r:System.Data.dll -r:System.Xm
-r:System.Runtime.Serialization.dll -r:System.ComponentModel.DataAnnotations.dll -r:System.Configuration.dll \
-warn:2
RESOURCE_STRINGS = ../../../external/referencesource/System.Data.Entity/System.Data.Entity.txt
include ../../build/library.make
-2
View File
@@ -24,8 +24,6 @@ LIB_MCS_FLAGS += \
-r:System.Transactions.dll
endif
RESOURCE_STRINGS = ../../../external/referencesource/System.Data/system.data.txt
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -r:System.Core.dll -r:Mono.Data.Sqlite.dll -nowarn:618,169,612,219,168
TEST_MONO_PATH = .
+1 -1
View File
@@ -781,7 +781,7 @@ namespace System.Data
public void ReadXmlSchema (Stream stream)
{
XmlReader reader = new XmlTextReader (stream, new NameTable ());
XmlReader reader = new XmlTextReader (stream, null);
ReadXmlSchema (reader);
}
@@ -1742,7 +1742,7 @@ namespace System.Data {
public XmlReadMode ReadXml (Stream stream)
{
return ReadXml (new XmlTextReader(stream, new NameTable ()));
return ReadXml (new XmlTextReader(stream, null));
}
public XmlReadMode ReadXml (string fileName)
@@ -507,9 +507,9 @@ namespace System.Data
useCurrent = true;
if (attr.NamespaceURI == XmlConstants.MspropNamespace &&
!dataset.ExtendedProperties.ContainsKey(attr.LocalName))
!dataset.ExtendedProperties.ContainsKey(attr.Name))
{
dataset.ExtendedProperties.Add (attr.LocalName, attr.Value);
dataset.ExtendedProperties.Add (attr.Name, attr.Value);
continue;
}
@@ -564,7 +564,7 @@ namespace System.Data
if (attr.NamespaceURI == XmlConstants.MspropNamespace)
{
table.ExtendedProperties.Add (attr.LocalName, attr.Value);
table.ExtendedProperties.Add (attr.Name, attr.Value);
continue;
}
@@ -744,7 +744,7 @@ namespace System.Data
foreach (XmlAttribute attr in obj.UnhandledAttributes) {
if (attr.NamespaceURI == XmlConstants.MspropNamespace)
{
col.ExtendedProperties.Add (attr.LocalName, attr.Value);
col.ExtendedProperties.Add (attr.Name, attr.Value);
continue;
}
@@ -423,9 +423,6 @@ namespace System.Xml
}
DataRow row = GetRowFromElement (args.NewParent as XmlElement);
if (row == null && args.Node is XmlCharacterData)
// check if grandparent is a new row and this node is one of its column values.
row = GetRowFromElement (args.NewParent.ParentNode as XmlElement);
if (row == null) {
// That happens only when adding table to existing DocumentElement (aka DataSet element)
if (args.NewParent == DocumentElement)
@@ -456,7 +453,7 @@ namespace System.Xml
if (args.Node.NodeType != XmlNodeType.Comment) {
for (int i = 0; i < row.Table.Columns.Count; i++) {
DataColumn col = row.Table.Columns [i];
if (col.ColumnMapping == MappingType.SimpleContent || col.ColumnName == XmlHelper.Decode (args.NewParent.LocalName))
if (col.ColumnMapping == MappingType.SimpleContent)
row [col] = StringToObject (col.DataType, args.Node.Value);
}
}
@@ -763,8 +763,9 @@ namespace MonoTests.System.Data
DataTable table = new DataTable("TABLE1");
table.ExtendedProperties.Add("T1", "extended1");
table.Columns.Add("C1", typeof(int));
table.Columns[0].MaxLength = 10;
table.Columns.Add("C2", typeof(string));
table.Columns[1].MaxLength = 20;
table.Columns[0].MaxLength = 20;
table.Columns[0].ExtendedProperties.Add("C1Ext1", "extended2");
table.Columns[1].ExtendedProperties.Add("C2Ext1", "extended3");
dataSet1.Tables.Add(table);
@@ -35,8 +35,6 @@ namespace MonoTests.System.Data
[TestFixture]
public class DataTableReadWriteXmlTest
{
public static readonly string EOL = Environment.NewLine;
void StandardizeXmlFormat(ref string xml)
{
XmlDocument doc = new XmlDocument();
@@ -126,11 +124,11 @@ namespace MonoTests.System.Data
// Get XML for DataSet writes.
sw.GetStringBuilder().Length = 0;
ds.WriteXml(sw);
string xmlDSNone = sw.ToString().Replace ("\n", EOL);
string xmlDSNone = sw.ToString().Replace ("\n", "\r\n");
sw.GetStringBuilder().Length = 0;
ds.WriteXml(sw, XmlWriteMode.DiffGram);
string xmlDSDiffGram = sw.ToString().Replace ("\n", EOL);
string xmlDSDiffGram = sw.ToString().Replace ("\n", "\r\n");
sw.GetStringBuilder().Length = 0;
ds.WriteXml(sw, XmlWriteMode.WriteSchema);
@@ -188,11 +186,11 @@ namespace MonoTests.System.Data
sw.GetStringBuilder().Length = 0;
ds.WriteXml(sw);
xmlDSNone = sw.ToString().Replace ("\n", EOL);
xmlDSNone = sw.ToString().Replace ("\n", "\r\n");
sw.GetStringBuilder().Length = 0;
ds.WriteXml(sw, XmlWriteMode.DiffGram);
xmlDSDiffGram = sw.ToString().Replace ("\n", EOL);
xmlDSDiffGram = sw.ToString().Replace ("\n", "\r\n");;
sw.GetStringBuilder().Length = 0;
ds.WriteXml(sw, XmlWriteMode.WriteSchema);
@@ -54,7 +54,7 @@ namespace MonoTests.System.Data
[TestFixture]
public class DataTableTest : DataSetAssertion
{
string EOL = Environment.NewLine;
string EOL = "\r\n";
[Test]
public void Ctor()
@@ -286,7 +286,7 @@ namespace MonoTests.System.Data.Xml
Nav.MoveToNext ();
Assert.AreEqual ("Region", Nav.Name.ToString (), "test#06");
Assert.AreEqual ("2Western", Nav.Value.Substring(0, Nav.Value.IndexOf (EOL)), "test#07");
Assert.AreEqual ("2Western", Nav.Value.Substring(0, Nav.Value.IndexOf ("\n") - 1), "test#07");
Nav.MoveToFirstChild ();
Assert.AreEqual ("2", Nav.Value, "test#08");
Nav.MoveToRoot ();
@@ -287,8 +287,12 @@ namespace MonoTests.System.Xml
// No exception shud be thrown
XmlDataDocument doc = new XmlDataDocument (ds);
// Should not fail to save because of "no rows"
doc.Save (new StringWriter ());
// Should fail to save as there are no rows
try {
doc.Save (new StringWriter ());
Fail ("#1");
} catch (InvalidOperationException) {
}
table1.Rows.Add (new object[] {0});
table1.Rows.Add (new object[] {1});
@@ -1,31 +1,31 @@
<?xml version="1.0" standalone="yes"?>
<Root>
<Region>
<RegionID>1</RegionID>
<RegionDescription>Eastern
</RegionDescription>
</Region>
<Region>
<RegionID>2</RegionID>
<RegionDescription>Western
</RegionDescription>
</Region>
<Region>
<RegionID>3</RegionID>
<RegionDescription>Northern
</RegionDescription>
</Region>
<Region>
<RegionID>4</RegionID>
<RegionDescription>Southern
</RegionDescription>
</Region>
<MoreData>
<Column1>12</Column1>
<Column2>Hi There</Column2>
</MoreData>
<MoreData>
<Column1>12</Column1>
<Column2>Hi There</Column2>
</MoreData>
</Root>
<?xml version="1.0" standalone="yes"?>
<Root>
<Region>
<RegionID>1</RegionID>
<RegionDescription>Eastern
</RegionDescription>
</Region>
<Region>
<RegionID>2</RegionID>
<RegionDescription>Western
</RegionDescription>
</Region>
<Region>
<RegionID>3</RegionID>
<RegionDescription>Northern
</RegionDescription>
</Region>
<Region>
<RegionID>4</RegionID>
<RegionDescription>Southern
</RegionDescription>
</Region>
<MoreData>
<Column1>12</Column1>
<Column2>Hi There</Column2>
</MoreData>
<MoreData>
<Column1>12</Column1>
<Column2>Hi There</Column2>
</MoreData>
</Root>
@@ -232,20 +232,10 @@ namespace System.Net.Http.Headers
return false;
}
int parens = 1;
while (pos < s.Length) {
var ch = s[pos];
if (ch == '(') {
++parens;
++pos;
continue;
}
if (ch == ')') {
++pos;
if (--parens > 0)
continue;
var start = readToken.StartPosition;
value = s.Substring (start, pos - start);
return true;
@@ -101,12 +101,12 @@ namespace MonoTests.System.Net.Http.Headers
Assert.AreEqual ("1.1", res.ProtocolVersion, "#3");
Assert.AreEqual ("1.1 nowhere.com", res.ToString (), "#4");
res = ViaHeaderValue.Parse ("foo / 1.1 nowhere.com:43 ( lal ( a ) la ) ");
res = ViaHeaderValue.Parse ("foo / 1.1 nowhere.com:43 ( lalala ) ");
Assert.AreEqual ("foo", res.ProtocolName, "#10");
Assert.AreEqual ("1.1", res.ProtocolVersion, "#11");
Assert.AreEqual ("nowhere.com:43", res.ReceivedBy, "#12");
Assert.AreEqual ("( lal ( a ) la )", res.Comment, "#13");
Assert.AreEqual ("foo/1.1 nowhere.com:43 ( lal ( a ) la )", res.ToString (), "#14");
Assert.AreEqual ("( lalala )", res.Comment, "#13");
Assert.AreEqual ("foo/1.1 nowhere.com:43 ( lalala )", res.ToString (), "#14");
}
[Test]
+9 -2
View File
@@ -6,8 +6,15 @@ LIBRARY = System.Numerics.dll
LIB_MCS_FLAGS = -r:System.dll /unsafe -d:MONO
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
RESOURCE_STRINGS = ../../../external/referencesource/System.Numerics/System.Numerics.txt
EXTRA_DISTFILES =
VALID_PROFILE := $(filter 4, $(FRAMEWORK_VERSION_MAJOR)) $(filter 2.1, $(FRAMEWORK_VERSION))
ifndef VALID_PROFILE
LIBRARY_NAME = dummy-System.Numerics.dll
NO_INSTALL = yes
NO_SIGN_ASSEMBLY = yes
NO_TEST = yes
endif
include ../../build/library.make
@@ -14,8 +14,6 @@ LIB_MCS_FLAGS = \
/r:System.Core.dll \
$(RESOURCE_FILES:%=/resource:%)
RESOURCE_STRINGS = ../../../external/referencesource/System.Runtime.Serialization/System.Runtime.Serialization.txt
ifneq (2.1, $(FRAMEWORK_VERSION))
LIB_MCS_FLAGS += /d:NET_3_0 /r:System.Data.dll /r:System.Configuration.dll
endif
@@ -32,4 +30,12 @@ EXTRA_DISTFILES = $(RESOURCE_FILES) $(TEST_RESOURCE_FILES) \
Test/Resources/Schemas/*.xsd \
Test/System.Runtime.Serialization/one.xml
VALID_PROFILE := $(filter 2 4, $(FRAMEWORK_VERSION_MAJOR))
ifndef VALID_PROFILE
LIBRARY_NAME = dummy-System.Runtime.Serialization.dll
NO_INSTALL = yes
NO_SIGN_ASSEMBLY = yes
NO_TEST = yes
endif
include ../../build/library.make
@@ -143,7 +143,8 @@ namespace System.Runtime.Serialization
if (schemas == null)
throw new ArgumentNullException ("schemas");
PrepareSchemas (schemas);
if (!schemas.IsCompiled)
schemas.Compile ();
foreach (XmlSchemaElement xe in schemas.GlobalElements.Values)
if (!CanImport (schemas, xe))
@@ -158,7 +159,8 @@ namespace System.Runtime.Serialization
if (typeNames == null)
throw new ArgumentNullException ("typeNames");
PrepareSchemas (schemas);
if (!schemas.IsCompiled)
schemas.Compile ();
foreach (var name in typeNames)
if (!CanImport (schemas, name))
@@ -173,7 +175,8 @@ namespace System.Runtime.Serialization
if (typeName == null)
throw new ArgumentNullException ("typeName");
PrepareSchemas (schemas);
if (!schemas.IsCompiled)
schemas.Compile ();
if (IsPredefinedType (typeName))
return true; // while it just ignores...
@@ -191,7 +194,8 @@ namespace System.Runtime.Serialization
if (element == null)
throw new ArgumentNullException ("element");
PrepareSchemas (schemas);
if (!schemas.IsCompiled)
schemas.Compile ();
if (element.ElementSchemaType != null)
return CanImport (schemas, element.ElementSchemaType as XmlSchemaType);
@@ -386,21 +390,13 @@ namespace System.Runtime.Serialization
// Import
void PrepareSchemas (XmlSchemaSet schemas)
{
if (!schemas.Contains (KnownTypeCollection.MSSimpleNamespace))
schemas.Add (XmlSchema.Read (GetType ().Assembly.GetManifestResourceStream ("mstypes.schema"), null));
if (!schemas.IsCompiled)
schemas.Compile ();
}
public void Import (XmlSchemaSet schemas)
{
if (schemas == null)
throw new ArgumentNullException ("schemas");
PrepareSchemas (schemas);
if (!schemas.IsCompiled)
schemas.Compile ();
foreach (XmlSchemaElement xe in schemas.GlobalElements.Values)
Import (schemas, xe);
@@ -424,7 +420,8 @@ namespace System.Runtime.Serialization
if (typeName == null)
throw new ArgumentNullException ("typeName");
PrepareSchemas (schemas);
if (!schemas.IsCompiled)
schemas.Compile ();
if (IsPredefinedType (typeName))
return;
@@ -190,9 +190,6 @@ namespace System.Xml
if (reader == null)
throw new ArgumentNullException ("reader");
if (reader.ReadState == ReadState.Initial)
reader.Read ();
switch (reader.NodeType) {
case XmlNodeType.Element:
// gratuitously copied from System.XML/System.Xml/XmlWriter.cs:WriteNode(XmlReader,bool)
@@ -44,8 +44,6 @@ namespace System.Xml
var settings = new XmlWriterSettings ();
settings.Encoding = encoding;
settings.OmitXmlDeclaration = true;
settings.ConformanceLevel = ConformanceLevel.Fragment;
settings.NewLineChars = "\r\n";
xml_writer_settings = settings;
// FIXME: actually it does not likely use ContentType.ToString() but writes those header items by own.
@@ -136,8 +134,7 @@ namespace System.Xml
public override void WriteEndDocument ()
{
// We don't call w.WriteEndElement() because that causes state error
// (which is correct; MTOM writer just does not expect it).
w.WriteEndDocument ();
}
public override void WriteEndElement ()
@@ -185,15 +182,13 @@ namespace System.Xml
public override void WriteStartDocument ()
{
CheckState ();
// We don't call w.WriteStartDocument() because that causes state error
// (which is correct; MTOM writer just does not expect it).
w.WriteStartDocument ();
}
public override void WriteStartDocument (bool standalone)
{
CheckState ();
// We don't call w.WriteStartDocument() because that causes state error
// (which is correct; MTOM writer just does not expect it).
w.WriteStartDocument (standalone);
}
public override void WriteStartElement (string prefix, string localName, string namespaceURI)
@@ -211,21 +206,16 @@ namespace System.Xml
get { return w.WriteState; }
}
static readonly char [] eol_chars = "\r\n".ToCharArray ();
public override void WriteString (string text)
{
CheckState ();
int i1, i2 = 0;
do {
i1 = text.IndexOfAny (eol_chars, i2);
i1 = text.IndexOf ('\r', i2);
if (i1 >= 0) {
w.WriteString (text.Substring (i2, i1 - i2));
if (text [i1] == '\r')
w.WriteCharEntity ('\r');
else
w.WriteRaw ("\r\n");
WriteCharEntity ('\r');
i2 = i1 + 1;
} else {
w.WriteString (text.Substring (i2));
@@ -258,14 +248,12 @@ namespace System.Xml
{
if (w == null && write_headers)
WriteMimeHeaders ();
if (w == null || w.WriteState == WriteState.Closed || w.WriteState == WriteState.Error)
w = CreateWriter ();
}
void WriteMimeHeaders ()
{
w.Flush ();
writer.Write ("MIME-Version: 1.0\r\n");
writer.Write ("Content-Type: ");
writer.Write (content_type.ToString ());
@@ -305,7 +293,6 @@ namespace System.Xml
if (section_count > 1)
return;
w.Flush ();
writer.Write ("\r\n");
writer.Write ("--");
writer.Write (content_type.Boundary);
@@ -47,7 +47,6 @@ namespace MonoTests.System.Xml
{
MemoryStream ms = new MemoryStream ();
var w = XmlDictionaryWriter.CreateMtomWriter (ms, Encoding.UTF8, 10000, "sTaRt", "myboundary", "urn:foo", false, false);
w.WriteStartDocument ();
w.WriteStartElement ("root");
w.WriteRaw ("RAW");
w.WriteStartElement ("foo");
@@ -37,6 +37,4 @@
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
@@ -10,7 +10,6 @@
//
using System;
using System.Collections;
using System.IO;
using System.Security.Cryptography;
using System.Security.Cryptography.Xml;
@@ -244,19 +243,7 @@ namespace MonoTests.System.Security.Cryptography.Xml {
XmlDocument doc = GetXslDoc ();
transform.LoadInnerXml (doc.DocumentElement.ChildNodes);
XmlNodeList xnl = transform.UnprotectedGetInnerXml ();
AssertNodeListEqual (doc.DocumentElement.ChildNodes, xnl, "LoadInnerXml");
}
void AssertNodeListEqual (XmlNodeList nl1, XmlNodeList nl2, string label)
{
Assert.AreEqual (nl1.Count, nl2.Count, label + ": node count");
IEnumerator e1, e2;
int i;
for (i = 0, e1 = nl1.GetEnumerator (), e2 = nl2.GetEnumerator (); e1.MoveNext (); i++) {
Assert.IsTrue (e2.MoveNext (), label + " : nl2.MoveNext");
Assert.AreEqual (e1.Current, e2.Current, label + " : node at " + i);
}
Assert.IsFalse (e2.MoveNext (), label + " : nl2 has extras");
Assert.AreEqual (doc.DocumentElement.ChildNodes, xnl, "LoadInnerXml");
}
[Test]
@@ -411,10 +411,10 @@ namespace System.ServiceModel.Syndication
writer.WriteStartElement ("feed", AtomNamespace);
if (Feed.BaseUri != null)
writer.WriteAttributeString ("xml", "base", null, Feed.BaseUri.ToString ());
writer.WriteAttributeString ("xml:base", Feed.BaseUri.ToString ());
if (Feed.Language != null)
writer.WriteAttributeString ("xml", "lang", null, Feed.Language);
writer.WriteAttributeString ("xml:lang", Feed.Language);
// atom:feed elements MUST contain exactly one atom:title element.
(Feed.Title ?? new TextSyndicationContent (String.Empty)).WriteTo (writer, "title", AtomNamespace);
@@ -408,7 +408,7 @@ namespace System.ServiceModel.Syndication
writer.WriteStartElement ("entry", AtomNamespace);
if (Item.BaseUri != null)
writer.WriteAttributeString ("xml", "base", null, Item.BaseUri.ToString ());
writer.WriteAttributeString ("xml:base", Item.BaseUri.ToString ());
// atom:entry elements MUST contain exactly one atom:id element.
writer.WriteElementString ("id", AtomNamespace, Item.Id ?? new UniqueId ().ToString ());
@@ -321,15 +321,11 @@ namespace System
string [] parameters = Uri.UnescapeDataString (candidate.Query.Substring (1)).Split ('&'); // chop first '?'
foreach (string parameter in parameters) {
string [] pair = parameter.Split ('=');
if (pair.Length > 0) {
m.QueryParameters.Add (pair [0], pair.Length == 2 ? pair [1] : null);
if (!query_params.ContainsKey (pair [0]))
continue;
if (pair.Length > 1) {
string templateName = query_params [pair [0]];
vc.Add (templateName, pair [1]);
}
}
m.QueryParameters.Add (pair [0], pair [1]);
if (!query_params.ContainsKey (pair [0]))
continue;
string templateName = query_params [pair [0]];
vc.Add (templateName, pair [1]);
}
return m;
@@ -461,14 +461,6 @@ namespace MonoTests.System
Assert.AreEqual ("qqq", m.WildcardPathSegments [2], "#5");
}
[Test]
public void MatchIgnoreQueryParamNoValue ()
{
var t = new UriTemplate ("/{a}/*", true);
var m = t.Match (new Uri ("http://s"), new Uri ("http://s/a/b?foo"));
Assert.AreEqual (1, m.QueryParameters.Keys.Count, "#1");
}
[Test]
public void IgnoreTrailingSlash ()
{
@@ -31,6 +31,7 @@ using System.IO;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using Mono.Xml.XPath;
namespace System.ServiceModel.Channels
{
@@ -167,8 +168,7 @@ namespace System.ServiceModel.Channels
if (!IsEmpty) {
if (copied_message != null)
copied_message.WriteBodyContents (writer);
else
OnWriteBodyContents (writer);
OnWriteBodyContents (writer);
}
else if (Version.Envelope == EnvelopeVersion.None)
WriteXsiNil (writer);
@@ -29,13 +29,11 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Net.Security;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.ServiceModel.Security;
using System.Threading;
using System.Xml;
namespace System.ServiceModel.Channels
{
@@ -126,29 +124,12 @@ namespace System.ServiceModel.Channels
}
try {
return TryReceiveRequest (tout, out ctx);
} catch (XmlException ex) {
Console.WriteLine ("Xml Exception (Dropped Connection?):" + ex.Message);
//on dropped connection,
//whatever you do don't crash
//the whole app. Ignore for now
} catch (SocketException ex) {
Console.WriteLine ("Socket Exception (Dropped Connection?):" + ex.Message);
//on dropped connection,
//whatever you do don't crash
//the whole app. Ignore for now
} catch (IOException ex) {
Console.WriteLine ("I/O Exception (Dropped Connection?):" + ex.Message);
//on dropped connection,
//whatever you do don't crash
//the whole app. Ignore for now
} finally {
lock (async_result_lock) {
CurrentAsyncResult = null;
CurrentAsyncThread = null;
}
}
ctx = null;
return false;
});
RequestContext dummy;
IAsyncResult result;
@@ -96,7 +96,7 @@ namespace System.ServiceModel.Description {
*
*/
var exactlyOne = element.SelectSingleNode ("*") as XmlElement;
var exactlyOne = element.FirstChild as XmlElement;
if (exactlyOne == null) {
// OOPS
return;
@@ -46,7 +46,7 @@ namespace System.ServiceModel.Description
else if (Reader.LocalName == "Identifier" && Reader.NamespaceURI == "") {
ob.@Identifier = Reader.Value;
}
else if (IsXmlnsAttribute (Reader.LocalName)) {
else if (IsXmlnsAttribute (Reader.Name)) {
}
else {
System.Xml.XmlAttribute attr = (System.Xml.XmlAttribute) Document.ReadNode(Reader);
@@ -325,13 +325,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o14 = ob.@DocumentationElement;
if (o14 is XmlElement) {
if ((o14.LocalName == "documentation" && o14.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o14.Name == "documentation" && o14.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o14.WriteTo (Writer);
WriteElementLiteral (o14, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o14.LocalName, o14.NamespaceURI);
throw CreateUnknownAnyElementException (o14.Name, o14.NamespaceURI);
}
if (writeWrappingElem) WriteEndElement (ob);
}
@@ -368,13 +368,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o17 = ob.@DocumentationElement;
if (o17 is XmlElement) {
if ((o17.LocalName == "documentation" && o17.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o17.Name == "documentation" && o17.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o17.WriteTo (Writer);
WriteElementLiteral (o17, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o17.LocalName, o17.NamespaceURI);
throw CreateUnknownAnyElementException (o17.Name, o17.NamespaceURI);
}
if (ob.@Schemas != null) {
for (int n18 = 0; n18 < ob.@Schemas.Count; n18++) {
@@ -418,13 +418,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o21 = ob.@DocumentationElement;
if (o21 is XmlElement) {
if ((o21.LocalName == "documentation" && o21.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o21.Name == "documentation" && o21.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o21.WriteTo (Writer);
WriteElementLiteral (o21, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o21.LocalName, o21.NamespaceURI);
throw CreateUnknownAnyElementException (o21.Name, o21.NamespaceURI);
}
if (ob.@Parts != null) {
for (int n22 = 0; n22 < ob.@Parts.Count; n22++) {
@@ -468,13 +468,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o25 = ob.@DocumentationElement;
if (o25 is XmlElement) {
if ((o25.LocalName == "documentation" && o25.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o25.Name == "documentation" && o25.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o25.WriteTo (Writer);
WriteElementLiteral (o25, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o25.LocalName, o25.NamespaceURI);
throw CreateUnknownAnyElementException (o25.Name, o25.NamespaceURI);
}
if (ob.@Operations != null) {
for (int n26 = 0; n26 < ob.@Operations.Count; n26++) {
@@ -519,13 +519,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o29 = ob.@DocumentationElement;
if (o29 is XmlElement) {
if ((o29.LocalName == "documentation" && o29.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o29.Name == "documentation" && o29.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o29.WriteTo (Writer);
WriteElementLiteral (o29, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o29.LocalName, o29.NamespaceURI);
throw CreateUnknownAnyElementException (o29.Name, o29.NamespaceURI);
}
if (ob.@Operations != null) {
for (int n30 = 0; n30 < ob.@Operations.Count; n30++) {
@@ -569,13 +569,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o33 = ob.@DocumentationElement;
if (o33 is XmlElement) {
if ((o33.LocalName == "documentation" && o33.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o33.Name == "documentation" && o33.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o33.WriteTo (Writer);
WriteElementLiteral (o33, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o33.LocalName, o33.NamespaceURI);
throw CreateUnknownAnyElementException (o33.Name, o33.NamespaceURI);
}
if (ob.@Ports != null) {
for (int n34 = 0; n34 < ob.@Ports.Count; n34++) {
@@ -621,13 +621,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o37 = ob.@DocumentationElement;
if (o37 is XmlElement) {
if ((o37.LocalName == "documentation" && o37.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o37.Name == "documentation" && o37.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o37.WriteTo (Writer);
WriteElementLiteral (o37, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o37.LocalName, o37.NamespaceURI);
throw CreateUnknownAnyElementException (o37.Name, o37.NamespaceURI);
}
if (writeWrappingElem) WriteEndElement (ob);
}
@@ -669,13 +669,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o40 = ob.@DocumentationElement;
if (o40 is XmlElement) {
if ((o40.LocalName == "documentation" && o40.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o40.Name == "documentation" && o40.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o40.WriteTo (Writer);
WriteElementLiteral (o40, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o40.LocalName, o40.NamespaceURI);
throw CreateUnknownAnyElementException (o40.Name, o40.NamespaceURI);
}
if (ob.@Faults != null) {
for (int n41 = 0; n41 < ob.@Faults.Count; n41++) {
@@ -731,13 +731,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o45 = ob.@DocumentationElement;
if (o45 is XmlElement) {
if ((o45.LocalName == "documentation" && o45.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o45.Name == "documentation" && o45.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o45.WriteTo (Writer);
WriteElementLiteral (o45, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o45.LocalName, o45.NamespaceURI);
throw CreateUnknownAnyElementException (o45.Name, o45.NamespaceURI);
}
if (ob.@Faults != null) {
for (int n46 = 0; n46 < ob.@Faults.Count; n46++) {
@@ -784,13 +784,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o49 = ob.@DocumentationElement;
if (o49 is XmlElement) {
if ((o49.LocalName == "documentation" && o49.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o49.Name == "documentation" && o49.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o49.WriteTo (Writer);
WriteElementLiteral (o49, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o49.LocalName, o49.NamespaceURI);
throw CreateUnknownAnyElementException (o49.Name, o49.NamespaceURI);
}
if (writeWrappingElem) WriteEndElement (ob);
}
@@ -830,13 +830,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o52 = ob.@DocumentationElement;
if (o52 is XmlElement) {
if ((o52.LocalName == "documentation" && o52.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o52.Name == "documentation" && o52.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o52.WriteTo (Writer);
WriteElementLiteral (o52, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o52.LocalName, o52.NamespaceURI);
throw CreateUnknownAnyElementException (o52.Name, o52.NamespaceURI);
}
if (writeWrappingElem) WriteEndElement (ob);
}
@@ -876,13 +876,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o55 = ob.@DocumentationElement;
if (o55 is XmlElement) {
if ((o55.LocalName == "documentation" && o55.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o55.Name == "documentation" && o55.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o55.WriteTo (Writer);
WriteElementLiteral (o55, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o55.LocalName, o55.NamespaceURI);
throw CreateUnknownAnyElementException (o55.Name, o55.NamespaceURI);
}
if (writeWrappingElem) WriteEndElement (ob);
}
@@ -922,13 +922,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o58 = ob.@DocumentationElement;
if (o58 is XmlElement) {
if ((o58.LocalName == "documentation" && o58.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o58.Name == "documentation" && o58.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o58.WriteTo (Writer);
WriteElementLiteral (o58, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o58.LocalName, o58.NamespaceURI);
throw CreateUnknownAnyElementException (o58.Name, o58.NamespaceURI);
}
if (writeWrappingElem) WriteEndElement (ob);
}
@@ -967,13 +967,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o61 = ob.@DocumentationElement;
if (o61 is XmlElement) {
if ((o61.LocalName == "documentation" && o61.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o61.Name == "documentation" && o61.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o61.WriteTo (Writer);
WriteElementLiteral (o61, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o61.LocalName, o61.NamespaceURI);
throw CreateUnknownAnyElementException (o61.Name, o61.NamespaceURI);
}
if (writeWrappingElem) WriteEndElement (ob);
}
@@ -1012,13 +1012,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o64 = ob.@DocumentationElement;
if (o64 is XmlElement) {
if ((o64.LocalName == "documentation" && o64.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o64.Name == "documentation" && o64.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o64.WriteTo (Writer);
WriteElementLiteral (o64, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o64.LocalName, o64.NamespaceURI);
throw CreateUnknownAnyElementException (o64.Name, o64.NamespaceURI);
}
if (writeWrappingElem) WriteEndElement (ob);
}
@@ -1057,13 +1057,13 @@ namespace System.ServiceModel.Description
if (ob.@DocumentationElement != null) {
XmlNode o67 = ob.@DocumentationElement;
if (o67 is XmlElement) {
if ((o67.LocalName == "documentation" && o67.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
if ((o67.Name == "documentation" && o67.NamespaceURI == "http://schemas.xmlsoap.org/wsdl/")) {
}
else o67.WriteTo (Writer);
WriteElementLiteral (o67, "", "", false, true);
}
else
throw CreateUnknownAnyElementException (o67.LocalName, o67.NamespaceURI);
throw CreateUnknownAnyElementException (o67.Name, o67.NamespaceURI);
}
if (writeWrappingElem) WriteEndElement (ob);
}
@@ -5,9 +5,6 @@ using System.ServiceModel.Channels;
using System.ServiceModel.Security;
using System.ServiceModel.Security.Tokens;
using System.Text;
using System.IO;
using System.Xml;
using System.Net.Sockets;
namespace System.ServiceModel.Dispatcher
{
@@ -27,34 +24,8 @@ namespace System.ServiceModel.Dispatcher
using (new OperationContextScope (mrc.OperationContext)) {
try {
process_handlers_chain.ProcessRequestChain (mrc);
} catch (IOException e) {
// FIXME?: On dropped connection do not
// dump a stacktrace, but should be safe
// to dump a console message as in
// default exception handler and
// call error_handlers_chain
Console.WriteLine ("I/O Error (Dropped Connection?): " + e.Message);
mrc.ProcessingException = e;
error_handlers_chain.ProcessRequestChain (mrc);
} catch (SocketException e) {
// FIXME?: On dropped connection do not
// dump a stacktrace, but should be safe
// to dump a console message as in
// default exception handler and
// call error_handlers_chain
Console.WriteLine ("SocketExcpetion (Dropped Connection?): " + e.Message);
mrc.ProcessingException = e;
error_handlers_chain.ProcessRequestChain (mrc);
} catch (XmlException e) {
// FIXME?: On dropped connection do not
// dump a stacktrace, but should be safe
// to dump a console message as in
// default exception handler and
// call error_handlers_chain
Console.WriteLine ("XmlException (Dropped Connection?): " + e.Message);
mrc.ProcessingException = e;
error_handlers_chain.ProcessRequestChain (mrc);
} catch (Exception e) {
}
catch (Exception e) {
// FIXME: this is not really expected use of ChannelDispatcher.ErrorHandlers.
// They are now correctly used in process_handler_chain (namely OperationInvokerHandler).
// For this kind of "outsider" exceptions are actually left thrown
@@ -35,9 +35,6 @@ using System.Threading;
using System.Transactions;
using System.ServiceModel;
using System.ServiceModel.Description;
using System.Net.Sockets;
using System.Xml;
using System.IO;
namespace System.ServiceModel.Dispatcher
{
@@ -601,10 +598,7 @@ namespace System.ServiceModel.Dispatcher
if (ProcessErrorWithHandlers (reply, ex, out res))
return;
if ((!(ex is SocketException)) &&
(!(ex is XmlException)) &&
(!(ex is IOException)))
rc.Reply (res);
rc.Reply (res);
reply.Close (owner.DefaultCloseTimeout); // close the channel
} finally {
@@ -251,8 +251,8 @@ namespace MonoTests.System.ServiceModel.Security
sw = new StringWriter ();
using (XmlWriter w = XmlWriter.Create (sw, GetWriterSettings ())) {
new WSSecurityTokenSerializer (SecurityVersion.WSSecurity10).WriteKeyIdentifierClause (w, ic);
}
Assert.AreEqual (expected, sw.ToString (), "WSS1.0");
}
}
[Test]
@@ -1576,7 +1576,7 @@ namespace MonoTests.System.Web.UI.WebControls
#if DOT_NET
string origHtml = "<table id=\"MyWizard_SideBarList\" cellspacing=\"0\" style=\"border-collapse:collapse;\">\r\n\t<tr>\r\n\t\t<td style=\"font-weight:bold;\"><a id=\"MyWizard_SideBarList_SideBarButton_0\" href=\"javascript:__doPostBack(&#39;MyWizard$SideBarList$ctl00$SideBarButton&#39;,&#39;&#39;)\">step1</a></td>\r\n\t</tr>\r\n</table><table cellspacing=\"5\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepPreviousButton\" value=\"Previous\" id=\"MyWizard_StepNavigationTemplateContainerID_StepPreviousButton\" /></td><td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepNextButton\" value=\"Next\" id=\"MyWizard_StepNavigationTemplateContainerID_StepNextButton\" /></td>\r\n\t</tr>\r\n</table>Step";
#else
string origHtml = "<table id=\"MyWizard_SideBarList\" cellspacing=\"0\" style=\"border-collapse:collapse;\">\r\n\t<tr>\r\n\t\t<td style=\"font-weight:bold;\"><a id=\"MyWizard_SideBarList_ctl00_SideBarButton_0\" href=\"javascript:__doPostBack(&#39;MyWizard$SideBarList$ctl00$SideBarButton&#39;,&#39;&#39;)\">step1</a></td>\n\t</tr>\n</table><table cellspacing=\"5\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepPreviousButton\" value=\"Previous\" id=\"MyWizard_StepNavigationTemplateContainerID_StepPreviousButton\" /></td><td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepNextButton\" value=\"Next\" id=\"MyWizard_StepNavigationTemplateContainerID_StepNextButton\" /></td>\n\t</tr>\n</table>Step";
string origHtml = "<table id=\"MyWizard_SideBarList\" cellspacing=\"0\" style=\"border-collapse:collapse;\">\r\n\t<tr>\r\n\t\t<td style=\"font-weight:bold;\"><a id=\"MyWizard_SideBarList_ctl00_SideBarButton_0\" href=\"javascript:__doPostBack(&#39;MyWizard$SideBarList$ctl00$SideBarButton&#39;,&#39;&#39;)\">step1</a></td>\r\n\t</tr>\r\n</table><table cellspacing=\"5\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepPreviousButton\" value=\"Previous\" id=\"MyWizard_StepNavigationTemplateContainerID_StepPreviousButton\" /></td><td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepNextButton\" value=\"Next\" id=\"MyWizard_StepNavigationTemplateContainerID_StepNextButton\" /></td>\r\n\t</tr>\r\n</table>Step";
#endif
string renderedHtml = HtmlDiff.GetControlFromPageHtml (result);
Console.WriteLine (origHtml);
@@ -1608,14 +1608,14 @@ namespace MonoTests.System.Web.UI.WebControls
WebTest t = new WebTest (PageInvoker.CreateOnInit (LayoutTemplateRender));
t.UserData = "RenderHeader";
string result = t.Run ();
string origHtml = "Header<table cellspacing=\"5\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepPreviousButton\" value=\"Previous\" id=\"MyWizard_StepNavigationTemplateContainerID_StepPreviousButton\" /></td><td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepNextButton\" value=\"Next\" id=\"MyWizard_StepNavigationTemplateContainerID_StepNextButton\" /></td>\n\t</tr>\n</table>Step";
string origHtml = "Header<table cellspacing=\"5\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepPreviousButton\" value=\"Previous\" id=\"MyWizard_StepNavigationTemplateContainerID_StepPreviousButton\" /></td><td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepNextButton\" value=\"Next\" id=\"MyWizard_StepNavigationTemplateContainerID_StepNextButton\" /></td>\r\n\t</tr>\r\n</table>Step";
string renderedHtml = HtmlDiff.GetControlFromPageHtml (result);
Assert.AreEqual (origHtml, renderedHtml, "#A1");
t.UserData = "RenderHeader_InSpan";
result = t.Run ();
origHtml = "Header<table cellspacing=\"5\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepPreviousButton\" value=\"Previous\" id=\"MyWizard_StepNavigationTemplateContainerID_StepPreviousButton\" /></td><td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepNextButton\" value=\"Next\" id=\"MyWizard_StepNavigationTemplateContainerID_StepNextButton\" /></td>\n\t</tr>\n</table>Step";
origHtml = "Header<table cellspacing=\"5\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepPreviousButton\" value=\"Previous\" id=\"MyWizard_StepNavigationTemplateContainerID_StepPreviousButton\" /></td><td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepNextButton\" value=\"Next\" id=\"MyWizard_StepNavigationTemplateContainerID_StepNextButton\" /></td>\r\n\t</tr>\r\n</table>Step";
renderedHtml = HtmlDiff.GetControlFromPageHtml (result);
Assert.AreEqual (origHtml, renderedHtml, "#A2");
}
-121
View File
@@ -1,121 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
namespace System.Xml
{
static partial class Res
{
public static string GetString (string s, params object [] args)
{
return args == null ? s : string.Format (s, args);
}
}
}
namespace System.Xml.Utils
{
static partial class Res
{
public static string GetString (string s, params object [] args)
{
return args == null || args.Length == 0 ? s : string.Format (s, args);
}
}
}
namespace System
{
static class AssemblyRef
{
public const string MicrosoftJScript = "Microsoft.JScript";
public const string SystemData = "System.Data";
}
static class ThisAssembly
{
public const string Version = "System.Xml";
}
}
// Types within this namespace are taken from referencesource
namespace System.Xml.Serialization
{
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
// from Models.cs
internal enum SpecifiedAccessor {
None,
ReadOnly,
ReadWrite,
}
// from Types.cs
internal class TypeScope
{
static internal XmlQualifiedName ParseWsdlArrayType(string type, out string dims, XmlSchemaObject parent) {
string ns;
string name;
int nsLen = type.LastIndexOf(':');
if (nsLen <= 0) {
ns = "";
}
else {
ns = type.Substring(0, nsLen);
}
int nameLen = type.IndexOf('[', nsLen + 1);
if (nameLen <= nsLen) {
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidArrayTypeSyntax, type));
}
name = type.Substring(nsLen + 1, nameLen - nsLen - 1);
dims = type.Substring(nameLen);
// parent is not null only in the case when we used XmlSchema.Read(),
// in which case we need to fixup the wsdl:arayType attribute value
while (parent != null) {
if (parent.Namespaces != null) {
string wsdlNs = (string)parent.Namespaces.Namespaces[ns];
if (wsdlNs != null) {
ns = wsdlNs;
break;
}
}
parent = parent.Parent;
}
return new XmlQualifiedName(name, ns);
}
}
internal class Wsdl {
private Wsdl() { }
internal const string Namespace = "http://schemas.xmlsoap.org/wsdl/";
internal const string ArrayType = "arrayType";
}
}
namespace System.Security.Policy
{
static class EvidenceExtensions
{
public static void AddHostEvidence (this Evidence evidence, Url url)
{
throw new NotImplementedException ();
}
public static void AddHostEvidence (this Evidence evidence, Zone zone)
{
throw new NotImplementedException ();
}
public static void AddHostEvidence (this Evidence evidence, Site site)
{
throw new NotImplementedException ();
}
public static void AddHostEvidence (this Evidence evidence, EvidenceBase e)
{
throw new NotImplementedException ();
}
}
}
+27 -7
View File
@@ -13,16 +13,11 @@ ifdef USE_BOOT_COMPILE
LIBRARY_COMPILE = $(BOOT_COMPILE)
endif
# FIXME: use below, once mcs got fixed.
#RESOURCE_STRINGS = ../../../external/referencesource/System.Xml/System.Xml.txt
# ../../../external/referencesource/System.Data.SqlXml/System.Xml.Utils.txt
PROFILE_ANY_MOBILE := $(filter monotouch monotouch_runtime monodroid xammac mobile mobile_static, $(PROFILE))
LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -nowarn:0618,0612,0642 -unsafe -d:ASYNC -d:DISABLE_CAS_USE -d:MONO_HYBRID_SYSTEM_XML
LIB_MCS_FLAGS = -r:$(corlib) -r:System.dll -nowarn:0618,0612,0642
ifeq (2.1, $(FRAMEWORK_VERSION))
LIB_MCS_FLAGS += -unsafe -d:AGCLR -d:NET_2_1_HACK -d:DISABLE_XSLT_COMPILER -d:DISABLE_XSLT_SCRIPT
LIB_MCS_FLAGS += -unsafe -d:AGCLR -d:NET_2_1_HACK
endif
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169 -r:System.Data.dll -r:System.Core.dll
@@ -70,6 +65,31 @@ EXTRA_DISTFILES = \
$(xmlfiles_files:%=Test/XmlFiles/%) \
$(nist_dom_files:%=Test/System.Xml/nist_dom/%)
System.Xml.XPath/$(PROFILE)_Parser.cs: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
(cd System.Xml.XPath; $(topdir)/../jay/jay -ct < $(topdir)/../jay/skeleton.cs Parser.jay > $(PROFILE)_Parser.cs)
Mono.Xml.Xsl/$(PROFILE)_PatternParser.jay: System.Xml.XPath/Parser.jay $(topdir)/jay/skeleton.cs
sed "s/\%start Expr/\%start Pattern/" $< >$@
Mono.Xml.Xsl/$(PROFILE)_PatternParser.cs: Mono.Xml.Xsl/$(PROFILE)_PatternParser.jay $(topdir)/jay/skeleton.cs
echo "#define XSLT_PATTERN" > $@
(cd Mono.Xml.Xsl; $(topdir)/../jay/jay -ct $(PROFILE)_PatternParser.jay < $(topdir)/../jay/skeleton.cs >> $(PROFILE)_PatternParser.cs)
Mono.Xml.Xsl/$(PROFILE)_PatternTokenizer.cs: System.Xml.XPath/Tokenizer.cs
echo "#define XSLT_PATTERN" > $@
cat $< >>$@
ifneq (moonlight_raw, $(PROFILE))
BUILT_SOURCES = System.Xml.XPath/$(PROFILE)_Parser.cs \
Mono.Xml.Xsl/$(PROFILE)_PatternParser.cs \
Mono.Xml.Xsl/$(PROFILE)_PatternTokenizer.cs
CLEAN_FILES = Test/XmlFiles/xsl/result.xml \
System.Xml.XPath/$(PROFILE)_Parser.cs \
Mono.Xml.Xsl/$(PROFILE)_PatternParser.cs \
Mono.Xml.Xsl/$(PROFILE)_PatternTokenizer.cs
endif
include ../../build/library.make
ifeq (bare/,$(intermediate))
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{5CFB4B4E-2DD9-4033-ADEC-D6E26A357B78}</ProjectGuid>
<OutputType>Library</OutputType>
@@ -11,7 +11,10 @@
<OutputPath>bin\Debug\System.Xml-tests-net_4_5</OutputPath>
<NoStdLib>True</NoStdLib>
<NoConfig>False</NoConfig>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>
</RootNamespace>
<AssemblyName>System.Xml_test_net_4_5</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
@@ -19,21 +22,19 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<NoWarn>1699,618,612,642,618,219,169</NoWarn>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoStdLib>false</NoStdLib>
<OutputPath>.</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<NoWarn>1699,618,612,642,618,219,169</NoWarn>
<Optimize>true</Optimize>
<DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoStdLib>false</NoStdLib>
<OutputPath>.</OutputPath>
</PropertyGroup>
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
@@ -157,7 +158,9 @@
<Compile Include="Test\System.Xml\XmlWriterTests.cs" />
<Compile Include="Test\System.Xml\XsdParticleValidationTests.cs" />
<Compile Include="Test\System.Xml\XsdValidatingReaderTests.cs" />
</ItemGroup>
<Compile Include="Mono.Xml.Xsl\PatternParser.cs" />
<Compile Include="Mono.Xml.Xsl\PatternTokenizer.cs" />
<Compile Include="System.Xml.XPath\Parser.cs" />␍ </ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -165,21 +168,48 @@
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<PreBuildEvent>
$(ProjectDir)\..\..\..\mono\msvc\scripts\prepare.exe $(ProjectDir)..\.. xml
$(ProjectDir)\..\..\jay\jay.exe -ct &lt; $(ProjectDir)\..\..\jay\skeleton.cs $(ProjectDir)\System.Xml.XPath\Parser.jay > $(ProjectDir)\System.Xml.XPath\Parser.cs
echo #define XSLT_PATTERN > $(ProjectDir)\Mono.Xml.Xsl\PatternParser.cs
$(ProjectDir)\..\..\jay\jay.exe -ct &lt; $(ProjectDir)\..\..\jay\skeleton.cs $(ProjectDir)\Mono.Xml.Xsl\PatternParser.jay >> $(ProjectDir)\Mono.Xml.Xsl\PatternParser.cs
echo #define XSLT_PATTERN > $(ProjectDir)\Mono.Xml.Xsl\PatternTokenizer.cs
type $(ProjectDir)\System.Xml.XPath\Tokenizer.cs >> $(ProjectDir)\Mono.Xml.Xsl\PatternTokenizer.cs
␍
</PreBuildEvent>
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
</PostBuildEvent>
<PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Core" />
<Reference Include="nunit.framework">
<HintPath>..\lib\net_4_5\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="..\lib\net_4_5\nunit.framework.dll" />
<ProjectReference Include="..\corlib\corlib-net_4_5.csproj">
<Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>
<Name>corlib\corlib-net_4_5</Name>
</ProjectReference>
<ProjectReference Include="..\System.XML\System.Xml-net_4_5-1.csproj">
<Project>{2534ADE0-05E4-490F-933D-1E39310A0CB9}</Project>
<Name>System.XML\System.Xml-net_4_5-1</Name>
</ProjectReference>
<ProjectReference Include="..\System\System-net_4_5-2.csproj">
<Project>{5C605B73-19DA-4FB7-AB39-C7EF9A8B19FE}</Project>
<Name>System\System-net_4_5-2</Name>
</ProjectReference>
<ProjectReference Include="..\System.Data\System.Data-net_4_0.csproj">
<Project>{0ADBE502-5524-4312-81B0-8456328C367C}</Project>
<Name>System.Data\System.Data-net_4_0</Name>
</ProjectReference>
<ProjectReference Include="..\System.Core\System.Core-net_4_5.csproj">
<Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>
<Name>System.Core\System.Core-net_4_5</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="System.Xml-net_4_5.csproj">
<Project>{2951DEC2-4393-4A78-83F9-42EB39CB708F}</Project>
<Name>System.Xml-net_4_5</Name>
</ProjectReference>
</ItemGroup>
</Project>
File diff suppressed because it is too large. Load diff
@@ -443,8 +443,6 @@ namespace System.Xml.Serialization
XmlQualifiedName qname;
XmlSchemaType stype;
if (!schemas.IsCompiled)
schemas.Compile (null, true);
XmlSchemaElement elem = (XmlSchemaElement) schemas.Find (name, typeof (XmlSchemaElement));
if (!LocateElement (elem, out qname, out stype))
throw new InvalidOperationException (String.Format ("'{0}' is missing.", name));
@@ -506,7 +504,7 @@ namespace System.Xml.Serialization
stype = elem.SchemaType;
qname = elem.QualifiedName;
}
else if (elem.ElementSchemaType == XmlSchemaComplexType.AnyType)
else if (elem.ElementType == XmlSchemaComplexType.AnyType)
{
qname = anyType;
return true;
@@ -731,7 +729,7 @@ namespace System.Xml.Serialization
if (refAttr.DefaultValue != null)
member.DefaultValue = ImportDefaultValue (member.TypeData, refAttr.DefaultValue);
else if (member.TypeData.IsValueType)
member.IsOptionalValueType = (refAttr.Use != XmlSchemaUse.Required);
member.IsOptionalValueType = (refAttr.ValidatedUse != XmlSchemaUse.Required);
if (member.TypeData.IsComplexType)
member.MappedType = GetTypeMapping (member.TypeData);
@@ -1692,7 +1690,7 @@ namespace System.Xml.Serialization
}
else
{
ns = attr.Parent is XmlSchema ? typeQName.Namespace : String.Empty;
ns = attr.ParentIsSchema ? typeQName.Namespace : String.Empty;
return attr;
}
}
@@ -797,7 +797,7 @@ namespace System.Xml.Serialization
if (wrapped)
reader.ReadStartElement ();
reader.MoveToContent ();
XmlDocument doc = new XmlDocument (reader.NameTable);
XmlDocument doc = new XmlDocument ();
XmlNode node = doc.ReadNode (reader);
doc.AppendChild (node);
@@ -493,9 +493,10 @@ namespace System.Xml.Serialization
{
if (xmlns == null)
return;
foreach (DictionaryEntry qn in xmlns.Namespaces) {
if ((string) qn.Value != String.Empty && Writer.LookupPrefix ((string) qn.Value) != (string) qn.Key)
WriteAttribute ("xmlns", (string) qn.Key, xmlNamespace, (string) qn.Value);
ICollection namespaces = xmlns.Namespaces.Values;
foreach (XmlQualifiedName qn in namespaces) {
if (qn.Namespace != String.Empty && Writer.LookupPrefix (qn.Namespace) != qn.Name)
WriteAttribute ("xmlns", qn.Name, xmlNamespace, qn.Namespace);
}
}
@@ -762,8 +762,6 @@ namespace System.Xml.Serialization
cp.ReferencedAssemblies.Add ("System.Xml");
if (!cp.ReferencedAssemblies.Contains ("System.Data"))
cp.ReferencedAssemblies.Add ("System.Data");
if (!cp.ReferencedAssemblies.Contains ("System.Web.Services"))
cp.ReferencedAssemblies.Add ("System.Web.Services");
CompilerResults res = comp.CompileAssemblyFromFile (cp, file);
if (res.Errors.HasErrors || res.CompiledAssembly == null) {
@@ -1,218 +0,0 @@
namespace System.Xml.Utils {
static partial class Res {
public const string Xml_UserException = @"{0}";
public const string Xml_ErrorFilePosition = @"An error occurred at {0}({1},{2}).";
public const string Xml_InvalidOperation = @"Operation is not valid due to the current state of the object.";
public const string Xml_EndOfInnerExceptionStack = @"--- End of inner exception stack trace ---";
public const string XPath_UnclosedString = @"String literal was not closed.";
public const string XPath_ScientificNotation = @"Scientific notation is not allowed.";
public const string XPath_UnexpectedToken = @"Unexpected token '{0}' in the expression.";
public const string XPath_NodeTestExpected = @"Expected a node test, found '{0}'.";
public const string XPath_EofExpected = @"Expected end of the expression, found '{0}'.";
public const string XPath_TokenExpected = @"Expected token '{0}', found '{1}'.";
public const string XPath_InvalidAxisInPattern = @"Only 'child' and 'attribute' axes are allowed in a pattern outside predicates.";
public const string XPath_PredicateAfterDot = @"Abbreviated step '.' cannot be followed by a predicate. Use the full form 'self::node()[predicate]' instead.";
public const string XPath_PredicateAfterDotDot = @"Abbreviated step '..' cannot be followed by a predicate. Use the full form 'parent::node()[predicate]' instead.";
public const string XPath_NArgsExpected = @"Function '{0}()' must have {1} argument(s).";
public const string XPath_NOrMArgsExpected = @"Function '{0}()' must have {1} or {2} argument(s).";
public const string XPath_AtLeastNArgsExpected = @"Function '{0}()' must have at least {1} argument(s).";
public const string XPath_AtMostMArgsExpected = @"Function '{0}()' must have no more than {2} arguments.";
public const string XPath_NodeSetArgumentExpected = @"Argument {1} of function '{0}()' cannot be converted to a node-set.";
public const string XPath_NodeSetExpected = @"Expression must evaluate to a node-set.";
public const string XPath_RtfInPathExpr = @"To use a result tree fragment in a path expression, first convert it to a node-set using the msxsl:node-set() function.";
public const string Xslt_WarningAsError = @"Warning as Error: {0}";
public const string Xslt_InputTooComplex = @"The stylesheet is too complex.";
public const string Xslt_CannotLoadStylesheet = @"Cannot load the stylesheet object referenced by URI '{0}', because the provided XmlResolver returned an object of type '{1}'. One of Stream, XmlReader, and IXPathNavigable types was expected.";
public const string Xslt_WrongStylesheetElement = @"Stylesheet must start either with an 'xsl:stylesheet' or an 'xsl:transform' element, or with a literal result element that has an 'xsl:version' attribute, where prefix 'xsl' denotes the 'http://www.w3.org/1999/XSL/Transform' namespace.";
public const string Xslt_WdXslNamespace = @"The 'http://www.w3.org/TR/WD-xsl' namespace is no longer supported.";
public const string Xslt_NotAtTop = @"'{0}' element children must precede all other children of the '{1}' element.";
public const string Xslt_UnexpectedElement = @"'{0}' cannot be a child of the '{1}' element.";
public const string Xslt_NullNsAtTopLevel = @"Top-level element '{0}' may not have a null namespace URI.";
public const string Xslt_TextNodesNotAllowed = @"'{0}' element cannot have text node children.";
public const string Xslt_NotEmptyContents = @"The contents of '{0}' must be empty.";
public const string Xslt_InvalidAttribute = @"'{0}' is an invalid attribute for the '{1}' element.";
public const string Xslt_MissingAttribute = @"Missing mandatory attribute '{0}'.";
public const string Xslt_InvalidAttrValue = @"'{1}' is an invalid value for the '{0}' attribute.";
public const string Xslt_BistateAttribute = @"The value of the '{0}' attribute must be '{1}' or '{2}'.";
public const string Xslt_CharAttribute = @"The value of the '{0}' attribute must be a single character.";
public const string Xslt_CircularInclude = @"Stylesheet '{0}' cannot directly or indirectly include or import itself.";
public const string Xslt_SingleRightBraceInAvt = @"The right curly brace in an attribute value template '{0}' outside an expression must be doubled.";
public const string Xslt_VariableCntSel2 = @"The variable or parameter '{0}' cannot have both a 'select' attribute and non-empty content.";
public const string Xslt_KeyCntUse = @"'xsl:key' has a 'use' attribute and has non-empty content, or it has empty content and no 'use' attribute.";
public const string Xslt_DupTemplateName = @"'{0}' is a duplicate template name.";
public const string Xslt_BothMatchNameAbsent = @"'xsl:template' must have either a 'match' attribute or a 'name' attribute, or both.";
public const string Xslt_InvalidVariable = @"The variable or parameter '{0}' is either not defined or it is out of scope.";
public const string Xslt_DupGlobalVariable = @"The variable or parameter '{0}' was duplicated with the same import precedence.";
public const string Xslt_DupLocalVariable = @"The variable or parameter '{0}' was duplicated within the same scope.";
public const string Xslt_DupNsAlias = @"Namespace URI '{0}' is declared to be an alias for multiple different namespace URIs with the same import precedence.";
public const string Xslt_EmptyAttrValue = @"The value of the '{0}' attribute cannot be empty.";
public const string Xslt_EmptyNsAlias = @"The value of the '{0}' attribute cannot be empty. Use '#default' to specify the default namespace.";
public const string Xslt_UnknownXsltFunction = @"'{0}()' is an unknown XSLT function.";
public const string Xslt_UnsupportedXsltFunction = @"'{0}()' is an unsupported XSLT function.";
public const string Xslt_NoAttributeSet = @"A reference to attribute set '{0}' cannot be resolved. An 'xsl:attribute-set' of this name must be declared at the top level of the stylesheet.";
public const string Xslt_UndefinedKey = @"A reference to key '{0}' cannot be resolved. An 'xsl:key' of this name must be declared at the top level of the stylesheet.";
public const string Xslt_CircularAttributeSet = @"Circular reference in the definition of attribute set '{0}'.";
public const string Xslt_InvalidCallTemplate = @"The named template '{0}' does not exist.";
public const string Xslt_InvalidPrefix = @"Prefix '{0}' is not defined.";
public const string Xslt_ScriptXsltNamespace = @"Script block cannot implement the XSLT namespace.";
public const string Xslt_ScriptInvalidLanguage = @"Scripting language '{0}' is not supported.";
public const string Xslt_ScriptMixedLanguages = @"All script blocks implementing the namespace '{0}' must use the same language.";
public const string Xslt_ScriptCompileException = @"Error occurred while compiling the script: {0}";
public const string Xslt_ScriptNotAtTop = @"Element '{0}' must precede script code.";
public const string Xslt_AssemblyNameHref = @"'msxsl:assembly' must have either a 'name' attribute or an 'href' attribute, but not both.";
public const string Xslt_ScriptAndExtensionClash = @"Cannot have both an extension object and a script implementing the same namespace '{0}'.";
public const string Xslt_NoDecimalFormat = @"Decimal format '{0}' is not defined.";
public const string Xslt_DecimalFormatSignsNotDistinct = @"The '{0}' and '{1}' attributes of 'xsl:decimal-format' must have distinct values.";
public const string Xslt_DecimalFormatRedefined = @"The '{0}' attribute of 'xsl:decimal-format' cannot be redefined with a value of '{1}'.";
public const string Xslt_UnknownExtensionElement = @"'{0}' is not a recognized extension element.";
public const string Xslt_ModeWithoutMatch = @"An 'xsl:template' element without a 'match' attribute cannot have a 'mode' attribute.";
public const string Xslt_ModeListEmpty = @"List of modes in 'xsl:template' element can't be empty. ";
public const string Xslt_ModeListDup = @"List of modes in 'xsl:template' element can't contain duplicates ('{0}'). ";
public const string Xslt_ModeListAll = @"List of modes in 'xsl:template' element can't contain token '#all' together with any other value. ";
public const string Xslt_PriorityWithoutMatch = @"An 'xsl:template' element without a 'match' attribute cannot have a 'priority' attribute.";
public const string Xslt_InvalidApplyImports = @"An 'xsl:apply-imports' element can only occur within an 'xsl:template' element with a 'match' attribute, and cannot occur within an 'xsl:for-each' element.";
public const string Xslt_DuplicateWithParam = @"Value of parameter '{0}' cannot be specified more than once within a single 'xsl:call-template' or 'xsl:apply-templates' element.";
public const string Xslt_ReservedNS = @"Elements and attributes cannot belong to the reserved namespace '{0}'.";
public const string Xslt_XmlnsAttr = @"An attribute with a local name 'xmlns' and a null namespace URI cannot be created.";
public const string Xslt_NoWhen = @"An 'xsl:choose' element must have at least one 'xsl:when' child.";
public const string Xslt_WhenAfterOtherwise = @"'xsl:when' must precede the 'xsl:otherwise' element.";
public const string Xslt_DupOtherwise = @"An 'xsl:choose' element can have only one 'xsl:otherwise' child.";
public const string Xslt_AttributeRedefinition = @"Attribute '{0}' of 'xsl:output' cannot be defined more than once with the same import precedence.";
public const string Xslt_InvalidMethod = @"'{0}' is not a supported output method. Supported methods are 'xml', 'html', and 'text'.";
public const string Xslt_InvalidEncoding = @"'{0}' is not a supported encoding name.";
public const string Xslt_InvalidLanguage = @"'{0}' is not a supported language identifier.";
public const string Xslt_InvalidCompareOption = @"String comparison option(s) '{0}' are either invalid or cannot be used together.";
public const string Xslt_KeyNotAllowed = @"The 'key()' function cannot be used in 'use' and 'match' attributes of 'xsl:key' element.";
public const string Xslt_VariablesNotAllowed = @"Variables cannot be used within this expression.";
public const string Xslt_CurrentNotAllowed = @"The 'current()' function cannot be used in a pattern.";
public const string Xslt_DocumentFuncProhibited = @"Execution of the 'document()' function was prohibited. Use the XsltSettings.EnableDocumentFunction property to enable it.";
public const string Xslt_ScriptsProhibited = @"Execution of scripts was prohibited. Use the XsltSettings.EnableScript property to enable it.";
public const string Xslt_ItemNull = @"Extension functions cannot return null values.";
public const string Xslt_NodeSetNotNode = @"Cannot convert a node-set which contains zero nodes or more than one node to a single node.";
public const string Xslt_UnsupportedClrType = @"Extension function parameters or return values which have Clr type '{0}' are not supported.";
public const string Xslt_NotYetImplemented = @"'{0}' is not yet implemented.";
public const string Xslt_SchemaDeclaration = @"'{0}' declaration is not permitted in non-schema aware processor.";
public const string Xslt_SchemaAttribute = @"Attribute '{0}' is not permitted in basic XSLT processor (http://www.w3.org/TR/xslt20/#dt-basic-xslt-processor).";
public const string Xslt_SchemaAttributeValue = @"Value '{1}' of attribute '{0}' is not permitted in basic XSLT processor (http://www.w3.org/TR/xslt20/#dt-basic-xslt-processor).";
public const string Xslt_ElementCntSel = @"The element '{0}' cannot have both a 'select' attribute and non-empty content.";
public const string Xslt_PerformSortCntSel = @"The element 'xsl:perform-sort' cannot have 'select' attribute any content other than 'xsl:sort' and 'xsl:fallback' instructions.";
public const string Xslt_RequiredAndSelect = @"Mandatory parameter '{0}' must be empty and must not have a 'select' attribute.";
public const string Xslt_NoSelectNoContent = @"Element '{0}' must have either 'select' attribute or non-empty content.";
public const string Xslt_NonTemplateTunnel = @"Stylesheet or function parameter '{0}' cannot have attribute 'tunnel'.";
public const string Xslt_RequiredOnFunction = @"The 'required' attribute must not be specified for parameter '{0}'. Function parameters are always mandatory. ";
public const string Xslt_ExcludeDefault = @"Value '#default' is used within the 'exclude-result-prefixes' attribute and the parent element of this attribute has no default namespace.";
public const string Xslt_CollationSyntax = @"The value of an 'default-collation' attribute contains no recognized collation URI.";
public const string Xslt_AnalyzeStringDupChild = @"'xsl:analyze-string' cannot have second child with name '{0}'.";
public const string Xslt_AnalyzeStringChildOrder = @"When both 'xsl:matching-string' and 'xsl:non-matching-string' elements are present, 'xsl:matching-string' element must come first.";
public const string Xslt_AnalyzeStringEmpty = @"'xsl:analyze-string' must contain either 'xsl:matching-string' or 'xsl:non-matching-string' elements or both.";
public const string Xslt_SortStable = @"Only the first 'xsl:sort' element may have 'stable' attribute.";
public const string Xslt_InputTypeAnnotations = @"It is an error if there is a stylesheet module in the stylesheet that specifies 'input-type-annotations'=""strip"" and another stylesheet module that specifies 'input-type-annotations'=""preserve"".";
public const string Coll_BadOptFormat = @"Collation option '{0}' is invalid. Options must have the following format: <option-name>=<option-value>.";
public const string Coll_Unsupported = @"The collation '{0}' is not supported.";
public const string Coll_UnsupportedLanguage = @"Collation language '{0}' is not supported.";
public const string Coll_UnsupportedOpt = @"Unsupported option '{0}' in collation.";
public const string Coll_UnsupportedOptVal = @"Collation option '{0}' cannot have the value '{1}'.";
public const string Coll_UnsupportedSortOpt = @"Unsupported sort option '{0}' in collation.";
public const string Qil_Validation = @"QIL Validation Error! '{0}'.";
public const string XmlIl_TooManyParameters = @"Functions may not have more than 65535 parameters.";
public const string XmlIl_BadXmlState = @"An item of type '{0}' cannot be constructed within a node of type '{1}'.";
public const string XmlIl_BadXmlStateAttr = @"Attribute and namespace nodes cannot be added to the parent element after a text, comment, pi, or sub-element node has already been added.";
public const string XmlIl_NmspAfterAttr = @"Namespace nodes cannot be added to the parent element after an attribute node has already been added.";
public const string XmlIl_NmspConflict = @"Cannot construct namespace declaration xmlns{0}{1}='{2}'. Prefix '{1}' is already mapped to namespace '{3}'.";
public const string XmlIl_CantResolveEntity = @"Cannot query the data source object referenced by URI '{0}', because the provided XmlResolver returned an object of type '{1}'. Only Stream, XmlReader, and IXPathNavigable data source objects are currently supported.";
public const string XmlIl_NoDefaultDocument = @"Query requires a default data source, but no default was supplied to the query engine.";
public const string XmlIl_UnknownDocument = @"Data source '{0}' cannot be located.";
public const string XmlIl_UnknownParam = @"Supplied XsltArgumentList does not contain a parameter with local name '{0}' and namespace '{1}'.";
public const string XmlIl_UnknownExtObj = @"Cannot find a script or an extension object associated with namespace '{0}'.";
public const string XmlIl_CantStripNav = @"White space cannot be stripped from input documents that have already been loaded. Provide the input document as an XmlReader instead.";
public const string XmlIl_ExtensionError = @"An error occurred during a call to extension function '{0}'. See InnerException for a complete description of the error.";
public const string XmlIl_TopLevelAttrNmsp = @"XmlWriter cannot process the sequence returned by the query, because it contains an attribute or namespace node.";
public const string XmlIl_NoExtensionMethod = @"Extension object '{0}' does not contain a matching '{1}' method that has {2} parameter(s).";
public const string XmlIl_AmbiguousExtensionMethod = @"Ambiguous method call. Extension object '{0}' contains multiple '{1}' methods that have {2} parameter(s).";
public const string XmlIl_NonPublicExtensionMethod = @"Method '{1}' of extension object '{0}' cannot be called because it is not public.";
public const string XmlIl_GenericExtensionMethod = @"Method '{1}' of extension object '{0}' cannot be called because it is generic.";
public const string XmlIl_ByRefType = @"Method '{1}' of extension object '{0}' cannot be called because it has one or more ByRef parameters.";
public const string XmlIl_DocumentLoadError = @"An error occurred while loading document '{0}'. See InnerException for a complete description of the error.";
public const string Xslt_CompileError = @"XSLT compile error at {0}({1},{2}). See InnerException for details.";
public const string Xslt_CompileError2 = @"XSLT compile error.";
public const string Xslt_UnsuppFunction = @"'{0}()' is an unsupported XSLT function.";
public const string Xslt_NotFirstImport = @"'xsl:import' instructions must precede all other element children of an 'xsl:stylesheet' element.";
public const string Xslt_UnexpectedKeyword = @"'{0}' cannot be a child of the '{1}' element.";
public const string Xslt_InvalidContents = @"The contents of '{0}' are invalid.";
public const string Xslt_CantResolve = @"Cannot resolve the referenced document '{0}'.";
public const string Xslt_SingleRightAvt = @"Right curly brace in the attribute value template '{0}' must be doubled.";
public const string Xslt_OpenBracesAvt = @"The braces are not closed in AVT expression '{0}'.";
public const string Xslt_OpenLiteralAvt = @"The literal in AVT expression is not correctly closed '{0}'.";
public const string Xslt_NestedAvt = @"AVT cannot be nested in AVT '{0}'.";
public const string Xslt_EmptyAvtExpr = @"XPath Expression in AVT cannot be empty: '{0}'.";
public const string Xslt_InvalidXPath = @"'{0}' is an invalid XPath expression.";
public const string Xslt_InvalidQName = @"'{0}' is an invalid QName.";
public const string Xslt_NoStylesheetLoaded = @"No stylesheet was loaded.";
public const string Xslt_TemplateNoAttrib = @"The 'xsl:template' instruction must have the 'match' and/or 'name' attribute present.";
public const string Xslt_DupVarName = @"Variable or parameter '{0}' was duplicated within the same scope.";
public const string Xslt_WrongNumberArgs = @"XSLT function '{0}()' has the wrong number of arguments.";
public const string Xslt_NoNodeSetConversion = @"Cannot convert the operand to a node-set.";
public const string Xslt_NoNavigatorConversion = @"Cannot convert the operand to 'Result tree fragment'.";
public const string Xslt_FunctionFailed = @"Function '{0}()' has failed.";
public const string Xslt_InvalidFormat = @"Format cannot be empty.";
public const string Xslt_InvalidFormat1 = @"Format '{0}' cannot have digit symbol after zero digit symbol before a decimal point.";
public const string Xslt_InvalidFormat2 = @"Format '{0}' cannot have zero digit symbol after digit symbol after decimal point.";
public const string Xslt_InvalidFormat3 = @"Format '{0}' has two pattern separators.";
public const string Xslt_InvalidFormat4 = @"Format '{0}' cannot end with a pattern separator.";
public const string Xslt_InvalidFormat5 = @"Format '{0}' cannot have two decimal separators.";
public const string Xslt_InvalidFormat8 = @"Format string should have at least one digit or zero digit.";
public const string Xslt_ScriptCompileErrors = @"Script compile errors:\n{0}";
public const string Xslt_ScriptInvalidPrefix = @"Cannot find the script or external object that implements prefix '{0}'.";
public const string Xslt_ScriptDub = @"Namespace '{0}' has a duplicate implementation.";
public const string Xslt_ScriptEmpty = @"The 'msxsl:script' element cannot be empty.";
public const string Xslt_DupDecimalFormat = @"Decimal format '{0}' has a duplicate declaration.";
public const string Xslt_CircularReference = @"Circular reference in the definition of variable '{0}'.";
public const string Xslt_InvalidExtensionNamespace = @"Extension namespace cannot be 'null' or an XSLT namespace URI.";
public const string Xslt_InvalidModeAttribute = @"An 'xsl:template' element without a 'match' attribute cannot have a 'mode' attribute.";
public const string Xslt_MultipleRoots = @"There are multiple root elements in the output XML.";
public const string Xslt_ApplyImports = @"The 'xsl:apply-imports' instruction cannot be included within the content of an 'xsl:for-each' instruction or within an 'xsl:template' instruction without the 'match' attribute.";
public const string Xslt_Terminate = @"Transform terminated: '{0}'.";
public const string Xslt_InvalidPattern = @"'{0}' is an invalid XSLT pattern.";
public const string Xslt_EmptyTagRequired = @"The tag '{0}' must be empty.";
public const string Xslt_WrongNamespace = @"The wrong namespace was used for XSL. Use 'http://www.w3.org/1999/XSL/Transform'.";
public const string Xslt_InvalidFormat6 = @"Format '{0}' has both '*' and '_' which is invalid. ";
public const string Xslt_InvalidFormat7 = @"Format '{0}' has '{1}' which is invalid.";
public const string Xslt_ScriptMixLang = @"Multiple scripting languages for the same namespace is not supported.";
public const string Xslt_ScriptInvalidLang = @"The scripting language '{0}' is not supported.";
public const string Xslt_InvalidExtensionPermitions = @"Extension object should not have wider permissions than the caller of the AddExtensionObject(). If wider permissions are needed, wrap the extension object. ";
public const string Xslt_InvalidParamNamespace = @"Parameter cannot belong to XSLT namespace.";
public const string Xslt_DuplicateParametr = @"Duplicate parameter: '{0}'.";
public const string Xslt_VariableCntSel = @"The '{0}' variable has both a select attribute of '{1}' and non-empty contents.";
}
}
@@ -1,224 +0,0 @@
// XslCompiledTransform_Mobile.cs
//
// Author:
// Atsushi Enomoto <[email protected]>
//
// Copyright (C) 2015 Xamarin Inc. http://www.xamarin.com
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.IO;
using System.Text;
using System.Runtime.InteropServices;
using System.Security;
using System.Security.Policy;
using System.Xml.XPath;
namespace System.Xml.Xsl
{
public sealed class XslCompiledTransform
{
readonly bool enable_debug;
object debugger;
XmlWriterSettings output_settings = new XmlWriterSettings ();
XslTransform impl = new XslTransform ();
public XslCompiledTransform ()
: this (false)
{
}
public XslCompiledTransform (bool enableDebug)
{
enable_debug = enableDebug;
if (enable_debug)
debugger = new NoOperationDebugger ();
output_settings.ConformanceLevel = ConformanceLevel.Fragment;
}
[MonoTODO]
public XmlWriterSettings OutputSettings {
get { return output_settings; }
}
#region Transform
public void Transform (string inputUri, string resultsFile)
{
using (Stream outStream = File.Create (resultsFile)) {
Transform (new XPathDocument (inputUri, XmlSpace.Preserve), null, outStream);
}
}
public void Transform (string inputUri, XmlWriter results)
{
Transform (inputUri, null, results);
}
public void Transform (string inputUri, XsltArgumentList arguments, Stream results)
{
Transform (new XPathDocument (inputUri, XmlSpace.Preserve), arguments, results);
}
public void Transform (string inputUri, XsltArgumentList arguments, TextWriter results)
{
Transform (new XPathDocument (inputUri, XmlSpace.Preserve), arguments, results);
}
public void Transform (string inputUri, XsltArgumentList arguments, XmlWriter results)
{
Transform (new XPathDocument (inputUri, XmlSpace.Preserve), arguments, results);
}
public void Transform (XmlReader input, XmlWriter results)
{
Transform (input, null, results);
}
public void Transform (XmlReader input, XsltArgumentList arguments, Stream results)
{
Transform (new XPathDocument (input, XmlSpace.Preserve), arguments, results);
}
public void Transform (XmlReader input, XsltArgumentList arguments, TextWriter results)
{
Transform (new XPathDocument (input, XmlSpace.Preserve), arguments, results);
}
public void Transform (XmlReader input, XsltArgumentList arguments, XmlWriter results)
{
Transform (input, arguments, results, null);
}
public void Transform (IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
{
Transform (input.CreateNavigator (), arguments, results);
}
public void Transform (IXPathNavigable input, XsltArgumentList arguments, Stream results)
{
Transform (input.CreateNavigator (), arguments, results);
}
public void Transform (IXPathNavigable input, XmlWriter results)
{
Transform (input, null, results);
}
public void Transform (IXPathNavigable input, XsltArgumentList arguments, XmlWriter results)
{
Transform (input.CreateNavigator (), arguments, results, null);
}
public void Transform (XmlReader input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver)
{
Transform (new XPathDocument (input, XmlSpace.Preserve).CreateNavigator (), arguments, results, documentResolver);
}
void Transform (XPathNavigator input, XsltArgumentList args, XmlWriter output, XmlResolver resolver)
{
impl.Transform (input, args, output, resolver);
}
void Transform (XPathNavigator input, XsltArgumentList args, TextWriter output)
{
impl.Transform (input, args, output);
}
#endregion
#region Load
private XmlReader GetXmlReader (string url)
{
XmlResolver res = new XmlUrlResolver ();
Uri uri = res.ResolveUri (null, url);
Stream s = res.GetEntity (uri, null, typeof (Stream)) as Stream;
XmlTextReader xtr = new XmlTextReader (uri.ToString (), s);
xtr.XmlResolver = res;
XmlValidatingReader xvr = new XmlValidatingReader (xtr);
xvr.XmlResolver = res;
xvr.ValidationType = ValidationType.None;
return xvr;
}
public void Load (string stylesheetUri)
{
using (XmlReader r = GetXmlReader (stylesheetUri))
Load (r);
}
public void Load (XmlReader stylesheet)
{
Load (stylesheet, null, null);
}
public void Load (IXPathNavigable stylesheet)
{
Load (stylesheet.CreateNavigator(), null, null);
}
public void Load (IXPathNavigable stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)
{
if (!settings.EnableDocumentFunction)
throw new NotSupportedException ("'document' function cannot be disabled on this framework because it just runs XslTransform which does not support XsltSettings");
if (settings.EnableScript)
throw new NotSupportedException ("'msxsl:script' element is not supported on this framework because it does not support run-time code generation");
impl.Load (stylesheet, stylesheetResolver);
}
public void Load (XmlReader stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)
{
Load (new XPathDocument (stylesheet, XmlSpace.Preserve), settings, stylesheetResolver);
}
public void Load (string stylesheetUri, XsltSettings settings, XmlResolver stylesheetResolver)
{
Load (new XPathDocument (stylesheetUri, XmlSpace.Preserve).CreateNavigator (), settings, stylesheetResolver);
}
#endregion
}
class NoOperationDebugger
{
protected void OnCompile (XPathNavigator input)
{
}
protected void OnExecute (XPathNodeIterator currentNodeset, XPathNavigator style, XsltContext context)
{
//ShowLocationInTrace (style);
}
/*
string ShowLocationInTrace (XPathNavigator style)
{
IXmlLineInfo li = style as IXmlLineInfo;
return li != null ? String.Format ("at {0} ({1},{2})", style.BaseURI, li.LineNumber, li.LinePosition) : "(no debug info available)";
}
*/
}
}
+307 -604
View File
@@ -2,611 +2,302 @@ Assembly/AssemblyInfo.cs
../../build/common/Consts.cs
../../build/common/Locale.cs
../../build/common/MonoTODOAttribute.cs
Dummy.cs
System.Xml.Res.cs
System.Xml.Utils.Res.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Assembly.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/GenerateHelper.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/IteratorDescriptor.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/OptimizerPatterns.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/StaticDataManager.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/TailCallAnalyzer.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlILAnnotation.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlILConstructAnalyzer.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlILModule.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlILOptimization.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlILOptimizerVisitor.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlIlTrace.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlIlTypeHelper.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/IlGen/XmlIlVisitor.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/ISourceLineInfo.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/ListBase.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Pair.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilBinary.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilChoice.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilCloneVisitor.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilDataSource.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilExpression.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilFactory.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilFunction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilInvoke.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilInvokeEarlyBound.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilInvokeLateBound.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilIterator.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilList.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilLiteral.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilLoop.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilName.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilNode.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilNodeType.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilParameter.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilPatternFactory.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilPatternVisitor.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilReference.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilReplaceVisitor.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilScopedVisitor.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilSortKey.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilStrConcat.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilTargetType.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilTernary.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilTypeChecker.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilUnary.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilValidationVisitor.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilVisitor.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilXmlReader.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/QilXmlWriter.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/SerializationHints.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/SubstitutionList.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QIL/WhitespaceRule.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/QueryReaderSettings.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/ContentIterators.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/DecimalFormatter.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/DocumentOrderComparer.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/DodSequenceMerge.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/EarlyBoundInfo.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/NumberFormatter.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/RtfNavigator.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/SetIterators.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/SiblingIterators.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/StringConcat.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/TreeIterators.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/WhitespaceRuleLookup.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/WhitespaceRuleReader.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlAggregates.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlAttributeCache.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlCollation.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlExtensionFunction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlILIndex.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlILStorageConverter.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlIterators.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlNavigatorFilter.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlNavigatorStack.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlQueryContext.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlQueryOutput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlQueryRuntime.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlQuerySequence.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlQueryStaticData.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlRawWriterWrapper.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlSequenceWriter.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlSortKeyAccumulator.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XmlSortKey.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XslNumber.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XsltConvert.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XsltFunctions.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Runtime/XsltLibrary.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/SourceLineInfo.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XmlILCommand.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XmlIlGenerator.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XmlNodeKindFlags.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XmlQualifiedNameTest.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XmlQueryCardinality.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XmlQueryType.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XmlQueryTypeFactory.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPathConvert.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPath/IXpathBuilder.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPath/IXPathEnvironment.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPath/XPathAxis.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPath/XPathBuilder.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPath/XPathCompileException.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPath/XPathContext.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPath/XPathOperator.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPath/XPathParser.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPath/XPathQilFactory.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XPath/XPathScanner.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XslException.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/Compiler.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/CompilerScopeManager.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/Focus.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/IErrorHelper.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/InvokeGenerator.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/KeyMatchBuilder.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/Keywords.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/MatcherBuilder.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/Action.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/ActionFrame.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/ApplyImportsAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/ApplyTemplatesAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/AttributeAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/AttributeSetAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/Avt.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/AvtEvent.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/BeginEvent.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/BuilderInfo.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/CallTemplateAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/ChooseAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/CommentAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/CompiledAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/Compiler.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/ContainerAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/CopyAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/CopyAttributesAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/CopyCodeAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/CopyNamespacesAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/CopyNodesetAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/CopyOfAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/DbgCompiler.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/DocumentScope.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/ElementAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/EndEvent.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/Event.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/ForeachAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/HtmlProps.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/IfAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/InputScope.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/InputScopeManager.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/MessageAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/NamespaceDecl.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/NamespaceEvent.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/NavigatorInput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/NavigatorOutput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/NewInstructionAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/NumberAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/OutKeywords.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/OutputScope.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/OutputScopeManager.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/PrefixQname.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/ProcessingInstructionAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/Processor.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/ReaderOutput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/RecordBuilder.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/RecordOutput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/RootAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/SequentialOutput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/SortAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/StateMachine.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/StringOutput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/Stylesheet.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/TemplateAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/TemplateBaseAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/TemplateLookupAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/Templatemanager.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/TextAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/TextEvent.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/TextOnlyOutput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/TextOutput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/TheQuery.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/UseAttributesetsAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/ValueOfAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/VariableAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/WithParamAction.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/WriterOutput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/XsltCompileContext.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/XsltDebugger.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/XsltOld/XsltOutput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/OutputScopeManager.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/QilGenerator.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/QilGeneratorEnv.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/QilStrConcatenator.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/Scripts.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/Stylesheet.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/XPathPatternBuilder.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/XPathPatternParser.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/XslAstAnalyzer.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/XslAst.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/XslFlags.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/XsltInput.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/XsltLoader.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/XsltQilFactory.cs
../../../external/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/XslVisitor.cs
../../../external/referencesource/System.Xml/InternalApis/NDP_Common/inc/Win8Helpers.cs
../../../external/referencesource/System.Xml/misc/HResults.cs
../../../external/referencesource/System.Xml/misc/InvariantComparer.cs
../../../external/referencesource/System.Xml/misc/PrivilegedConfigurationManager.cs
../../../external/referencesource/System.Xml/System/Xml/Assembly/System.Xml.Assembly.cs
../../../external/referencesource/System.Xml/System/Xml/AsyncHelper.cs
../../../external/referencesource/System.Xml/System/Xml/Base64Decoder.cs
../../../external/referencesource/System.Xml/System/Xml/Base64EncoderAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Base64Encoder.cs
../../../external/referencesource/System.Xml/System/Xml/BinaryXml/BinXmltoken.cs
../../../external/referencesource/System.Xml/System/Xml/BinaryXml/SqlUtils.cs
../../../external/referencesource/System.Xml/System/Xml/BinaryXml/XmlBinaryReaderAsync.cs
../../../external/referencesource/System.Xml/System/Xml/BinaryXml/XmlBinaryReader.cs
../../../external/referencesource/System.Xml/System/Xml/BinHexDecoder.cs
../../../external/referencesource/System.Xml/System/Xml/BinHexEncoderAsync.cs
../../../external/referencesource/System.Xml/System/Xml/BinHexEncoder.cs
../../../external/referencesource/System.Xml/System/Xml/Bits.cs
../../../external/referencesource/System.Xml/System/Xml/BitStack.cs
../../../external/referencesource/System.Xml/System/Xml/ByteStack.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/Shape.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/ShapeGenerator.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/XPathDocumentBuilder.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/XPathDocumentIterator.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/XPathDocumentNavigator.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/XPathDocumentView.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/XPathNode.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/XPathNodeHelper.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/XPathNodeInfoAtom.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/XPathNodeView.cs
../../../external/referencesource/System.Xml/System/Xml/Cache/XPathNodeViewPropertyDescriptor.cs
../../../external/referencesource/System.Xml/System/Xml/Core/BinaryCompatibility.cs
../../../external/referencesource/System.Xml/System/Xml/Core/CharEntityEncoderFallback.cs
../../../external/referencesource/System.Xml/System/Xml/Core/ConformanceLevel.cs
../../../external/referencesource/System.Xml/System/Xml/Core/DtdProcessing.cs
../../../external/referencesource/System.Xml/System/Xml/Core/EntityHandling.cs
../../../external/referencesource/System.Xml/System/Xml/Core/HtmlEncodedRawTextWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/HtmlTernaryTree.cs
../../../external/referencesource/System.Xml/System/Xml/Core/HtmlUtf8RawTextWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/IDtdInfo.cs
../../../external/referencesource/System.Xml/System/Xml/Core/IDtdParserAdapterAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/IDtdParserAdapter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/IDtdParserAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/IDtdParser.cs
../../../external/referencesource/System.Xml/System/Xml/Core/IncrementalReadDecoders.cs
../../../external/referencesource/System.Xml/System/Xml/Core/IRemovableWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/IValidationEventHandling.cs
../../../external/referencesource/System.Xml/System/Xml/Core/NamespaceHandling.cs
../../../external/referencesource/System.Xml/System/Xml/Core/NewLineHandling.cs
../../../external/referencesource/System.Xml/System/Xml/Core/QueryOutputWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/QueryOutputWriterV1.cs
../../../external/referencesource/System.Xml/System/Xml/Core/ReadContentAsBinaryHelperAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/ReadContentAsBinaryHelper.cs
../../../external/referencesource/System.Xml/System/Xml/Core/ReadOnlyTernaryTree.cs
../../../external/referencesource/System.Xml/System/Xml/Core/ReadState.cs
../../../external/referencesource/System.Xml/System/Xml/Core/SecureStringHasher.cs
../../../external/referencesource/System.Xml/System/Xml/Core/TextEncodedRawTextWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/TextUtf8RawTextWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/ValidatingReaderNodeData.cs
../../../external/referencesource/System.Xml/System/Xml/Core/ValidationType.cs
../../../external/referencesource/System.Xml/System/Xml/Core/WhitespaceHandling.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlAsyncCheckReader.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlAsyncCheckWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlAutoDetectWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingReaderAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingReader.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingWriterAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlConfiguration.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriterAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlEventCache.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlParserContext.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlRawWriterAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlRawWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlReaderAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlReader.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlReaderSettings.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlSpace.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlSubtreeReaderAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlSubtreeReader.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlTextEncoder.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlTextReader.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImplAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImpl.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImplHelpersAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImplHelpers.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlTextWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlUtf8RawTextWriterAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlUtf8RawTextWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlValidatingReader.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlValidatingReaderImplAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlValidatingReaderImpl.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterHelpersAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterHelpers.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWrappingReaderAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWrappingReader.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWrappingWriterAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWrappingWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWriterAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XmlWriterSettings.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XsdCachingReaderAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XsdCachingReader.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XsdValidatingReaderAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Core/XsdValidatingReader.cs
../../../external/referencesource/System.Xml/System/Xml/DiagnosticsSwitches.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/DocumentSchemaValidator.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/DocumentXmlWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/DocumentXPathNavigator.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/DomNameTable.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlAttributeCollection.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlAttribute.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlCDataSection.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlCharacterData.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlChildEnumerator.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlChildNodes.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlComment.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlDeclaration.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlDocument.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlDocumentFragment.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlDocumentType.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlDomTextWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlElement.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlElementList.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlEntity.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlEntityReference.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlEventChangedAction.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlImplementation.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlLinkedNode.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlLoader.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlName.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlNamedNodemap.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlNamedNodeMap.SmallXmlNodeList.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlNodeChangedEventArgs.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlNodeChangedEventHandler.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlNode.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlNodeList.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlNodeReader.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlNotation.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlProcessingInstruction.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlSignificantWhiteSpace.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlText.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlUnspecifiedAttribute.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XmlWhitespace.cs
../../../external/referencesource/System.Xml/System/Xml/Dom/XPathNodeList.cs
../../../external/referencesource/System.Xml/System/Xml/EmptyEnumerator.cs
../../../external/referencesource/System.Xml/System/Xml/HWStack.cs
../../../external/referencesource/System.Xml/System/Xml/IApplicationResourceStreamResolver.cs
../../../external/referencesource/System.Xml/System/Xml/IHasXmlNode.cs
../../../external/referencesource/System.Xml/System/Xml/IXmlLineInfo.cs
../../../external/referencesource/System.Xml/System/Xml/IXmlNamespaceResolver.cs
../../../external/referencesource/System.Xml/System/Xml/LineInfo.cs
../../../external/referencesource/System.Xml/System/Xml/MTNameTable.cs
../../../external/referencesource/System.Xml/System/Xml/NameTable.cs
../../../external/referencesource/System.Xml/System/Xml/Ref.cs
../../../external/referencesource/System.Xml/System/Xml/Resolvers/XmlKnownDtds.cs
../../../external/referencesource/System.Xml/System/Xml/Resolvers/XmlPreloadedResolverAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Resolvers/XmlPreloadedResolver.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/Asttree.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/AutoValidator.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/BaseProcessor.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/BaseValidator.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/BitSet.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/Chameleonkey.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/CompiledidEntityConstraint.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/ConstraintStruct.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/ContentValidator.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/DataTypeImplementation.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/DtdParserAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/DtdParser.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/DtdValidator.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/FacetChecker.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/Inference/Infer.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/Inference/XmlSchemaInferenceException.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/IXmlSchemaInfo.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/NamespaceList.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/ParserAsync.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/Parser.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/Preprocessor.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaAttDef.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaBuilder.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaCollectionCompiler.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaCollectionpreProcessor.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaDeclBase.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaElementDecl.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaEntity.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaInfo.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaNames.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaNamespacemanager.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaNotation.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaSetCompiler.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/SchemaType.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/ValidationEventArgs.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/ValidationEventHandler.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/ValidationState.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XdrBuilder.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XdrValidator.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlAtomicValue.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAll.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnnotated.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnnotation.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnyAttribute.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAny.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAppInfo.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttribute.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttributeGroup.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttributeGroupref.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaChoice.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaCollection.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaCompilationSettings.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContent.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContentExtension.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContentRestriction.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexType.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContent.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentModel.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentProcessing.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentType.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchema.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDataType.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDerivationMethod.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDocumentation.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaElement.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaException.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaExternal.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaFacet.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaForm.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroupBase.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroup.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroupRef.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaIdEntityConstraint.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaImport.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaInclude.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaInfo.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaNotation.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObjectCollection.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObject.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObjectTable.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaParticle.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaRedefine.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSequence.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSet.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContent.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContentExtension.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContentRestriction.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeContent.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleType.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeList.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeRestriction.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeUnion.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSubstitutionGroup.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaType.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaUse.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidationException.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidator.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidity.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlSeverityType.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlTokenizedType.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlTypeCode.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XmlValueConverter.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XsdBuilder.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XsdDateTime.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XsdDuration.cs
../../../external/referencesource/System.Xml/System/Xml/Schema/XsdValidator.cs
../../../external/referencesource/System.Xml/System/Xml/Serialization/CodeIdentifier.cs
../../../external/referencesource/System.Xml/System/Xml/Serialization/ImportContext.cs
../../../external/referencesource/System.Xml/System/Xml/Serialization/SchemaObjectWriter.cs
../../../external/referencesource/System.Xml/System/Xml/Serialization/XmlSchemas.cs
../../../external/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerNamespaces.cs
../../../external/referencesource/System.Xml/System/Xml/ValidateNames.cs
../../../external/referencesource/System.Xml/System/Xml/XmlCharType.cs
../../../external/referencesource/System.Xml/System/Xml/XmlComplianceUtil.cs
../../../external/referencesource/System.Xml/System/Xml/XmlConvert.cs
../../../external/referencesource/System.Xml/System/Xml/XmlDownloadManagerAsync.cs
../../../external/referencesource/System.Xml/System/Xml/XmlDownloadManager.cs
../../../external/referencesource/System.Xml/System/Xml/XmlEncoding.cs
../../../external/referencesource/System.Xml/System/Xml/XmlException.cs
../../../external/referencesource/System.Xml/System/Xml/XmlNamespacemanager.cs
../../../external/referencesource/System.Xml/System/Xml/XmlNamespaceScope.cs
../../../external/referencesource/System.Xml/System/Xml/XmlNameTable.cs
../../../external/referencesource/System.Xml/System/Xml/XmlNodeOrder.cs
../../../external/referencesource/System.Xml/System/Xml/XmlNodeType.cs
../../../external/referencesource/System.Xml/System/Xml/XmlNullResolver.cs
../../../external/referencesource/System.Xml/System/Xml/XmlQualifiedName.cs
../../../external/referencesource/System.Xml/System/Xml/XmlReservedNs.cs
../../../external/referencesource/System.Xml/System/Xml/XmlResolverAsync.cs
../../../external/referencesource/System.Xml/System/Xml/XmlResolver.cs
../../../external/referencesource/System.Xml/System/Xml/XmlSecureResolverAsync.cs
../../../external/referencesource/System.Xml/System/Xml/XmlSecureResolver.cs
../../../external/referencesource/System.Xml/System/Xml/XmlUrlResolverAsync.cs
../../../external/referencesource/System.Xml/System/Xml/XmlUrlResolver.cs
../../../external/referencesource/System.Xml/System/Xml/XmlXapResolver.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/AbsoluteQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/AstNode.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/AttributeQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/Axis.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/BaseAxisQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/BooleanExpr.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/BooleanFunctions.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/CacheAxisQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/CacheChildrenQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/CacheOutputQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/ChildrenQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/ClonableStack.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/CompiledXPathExpr.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/ContextQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantBaseQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantoverDescendantQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/DocumentorderQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/EmptyQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/ExtensionQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/Filter.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/FilterQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/FollowingQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/FollowingSibling.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/ForwardPositionQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/Function.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/FunctionQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/Group.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/GroupQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/IdQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/IteratorFilter.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/LogicalExpr.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/MergeFilterQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/NamespaceQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/NodeFunctions.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/NumberFunctions.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/NumericExpr.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/Operand.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/OperandQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/Operator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/ParentQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/PrecedingQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/PrecedingSibling.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/QueryBuilder.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/Query.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/ResetableIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/ReversePositionQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/Root.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/SortQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/StringFunctions.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/UnionExpr.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/ValueQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/Variable.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/VariableQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAncestorIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAncestorQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathArrayIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAxisIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathChildIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathDescendantIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathEmptyIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathMultyIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathParser.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathScanner.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSelectionIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSelfQuery.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSingletonIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/IXPathNavigable.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/XPathDocument.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/XPathException.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/XPathExpr.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/XPathItem.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/XPathNamespaceScope.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/XPathNavigator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/XPathNavigatorKeyComparer.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/XPathNavigatorReader.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/XPathNodeIterator.cs
../../../external/referencesource/System.Xml/System/Xml/XPath/XPathNodeType.cs
../../../external/referencesource/System.Xml/System/Xml/Xslt/XslCompiledTransform.cs
../../../external/referencesource/System.Xml/System/Xml/Xslt/XsltArgumentList.cs
../../../external/referencesource/System.Xml/System/Xml/Xslt/XsltContext.cs
../../../external/referencesource/System.Xml/System/Xml/Xslt/XsltException.cs
../../../external/referencesource/System.Xml/System/Xml/Xslt/XslTransform.cs
../../../external/referencesource/System.Xml/System/Xml/Xslt/XsltSettings.cs
System.Xml.Serialization.Advanced/SchemaImporterExtensionCollection.cs
System.Xml.Serialization.Advanced/SchemaImporterExtension.cs
Mono.Xml.Schema/XmlSchemaValidatingReader.cs
Mono.Xml.Schema/XsdIdentityPath.cs
Mono.Xml.Schema/XsdIdentityState.cs
Mono.Xml.Schema/XsdKeyTable.cs
Mono.Xml.Schema/XsdParticleValidationState.cs
Mono.Xml.Schema/XsdValidatingReader.cs
Mono.Xml.Schema/XsdWildcard.cs
Mono.Xml.XPath/DTMXPathDocument.cs
Mono.Xml.XPath/DTMXPathDocumentBuilder.cs
Mono.Xml.XPath/DTMXPathDocumentWriter.cs
Mono.Xml.XPath/DTMXPathNavigator.cs
Mono.Xml.XPath/DTMXPathNode.cs
Mono.Xml.XPath/DTMXPathDocument2.cs
Mono.Xml.XPath/DTMXPathDocumentBuilder2.cs
Mono.Xml.XPath/DTMXPathDocumentWriter2.cs
Mono.Xml.XPath/DTMXPathNavigator2.cs
Mono.Xml.XPath/DTMXPathNode2.cs
Mono.Xml.XPath/IdPattern.cs
Mono.Xml.XPath/KeyPattern.cs
Mono.Xml.XPath/LocationPathPattern.cs
Mono.Xml.XPath/Pattern.cs
Mono.Xml.XPath/UnionPattern.cs
Mono.Xml.XPath/XPathEditableDocument.cs
Mono.Xml.XPath/XPathNavigatorReader.cs
Mono.Xml.Xsl.Operations/XslApplyImports.cs
Mono.Xml.Xsl.Operations/XslApplyTemplates.cs
Mono.Xml.Xsl.Operations/XslAttribute.cs
Mono.Xml.Xsl.Operations/XslAvt.cs
Mono.Xml.Xsl.Operations/XslCallTemplate.cs
Mono.Xml.Xsl.Operations/XslChoose.cs
Mono.Xml.Xsl.Operations/XslComment.cs
Mono.Xml.Xsl.Operations/XslCompiledElement.cs
Mono.Xml.Xsl.Operations/XslCopy.cs
Mono.Xml.Xsl.Operations/XslCopyOf.cs
Mono.Xml.Xsl.Operations/XslElement.cs
Mono.Xml.Xsl.Operations/XslFallback.cs
Mono.Xml.Xsl.Operations/XslForEach.cs
Mono.Xml.Xsl.Operations/XslIf.cs
Mono.Xml.Xsl.Operations/XslLiteralElement.cs
Mono.Xml.Xsl.Operations/XslMessage.cs
Mono.Xml.Xsl.Operations/XslNotSupportedOperation.cs
Mono.Xml.Xsl.Operations/XslNumber.cs
Mono.Xml.Xsl.Operations/XslOperation.cs
Mono.Xml.Xsl.Operations/XslProcessingInstruction.cs
Mono.Xml.Xsl.Operations/XslTemplateContent.cs
Mono.Xml.Xsl.Operations/XslText.cs
Mono.Xml.Xsl.Operations/XslValueOf.cs
Mono.Xml.Xsl.Operations/XslVariable.cs
Mono.Xml.Xsl/Attribute.cs
Mono.Xml.Xsl/Compiler.cs
Mono.Xml.Xsl/Debug.cs
Mono.Xml.Xsl/Emitter.cs
Mono.Xml.Xsl/GenericOutputter.cs
Mono.Xml.Xsl/HtmlEmitter.cs
Mono.Xml.Xsl/MSXslScriptManager.cs
Mono.Xml.Xsl/Outputter.cs
Mono.Xml.Xsl/ScriptCompilerInfo.cs
Mono.Xml.Xsl/TextEmitter.cs
Mono.Xml.Xsl/TextOutputter.cs
Mono.Xml.Xsl/XmlWriterEmitter.cs
Mono.Xml.Xsl/XslAttributeSet.cs
Mono.Xml.Xsl/XslDecimalFormat.cs
Mono.Xml.Xsl/XslKey.cs
Mono.Xml.Xsl/XslOutput.cs
Mono.Xml.Xsl/XslSortEvaluator.cs
Mono.Xml.Xsl/XslStylesheet.cs
Mono.Xml.Xsl/XslTemplate.cs
Mono.Xml.Xsl/XslTransformProcessor.cs
Mono.Xml.Xsl/XsltCompiledContext.cs
Mono.Xml.Xsl/XsltDebuggerWrapper.cs
Mono.Xml.Xsl/XslFunctions.cs
Mono.Xml/IHasXmlParserContext.cs
Mono.Xml/IHasXmlSchemaInfo.cs
Mono.Xml/SubtreeXmlReader.cs
Mono.Xml/XmlFilterReader.cs
Mono.Xml/XmlNodeWriter.cs
System.Xml/ConformanceLevel.cs
System.Xml/DTDAutomata.cs
System.Xml/DTDObjectModel.cs
System.Xml/DTDReader.cs
System.Xml/DTDValidatingReader2.cs
System.Xml/DefaultXmlWriter.cs
System.Xml/EntityResolvingXmlReader.cs
System.Xml/EntityHandling.cs
System.Xml/Formatting.cs
System.Xml/IHasXmlNode.cs
System.Xml/IXmlLineInfo.cs
System.Xml/IHasXmlChildNode.cs
System.Xml/IXmlNamespaceResolver.cs
System.Xml/MonoFIXAttribute.cs
System.Xml/NameTable.cs
System.Xml/NamespaceHandling.cs
System.Xml/NewLineHandling.cs
System.Xml/ReadState.cs
System.Xml/ValidationType.cs
System.Xml/WhitespaceHandling.cs
System.Xml/WriteState.cs
System.Xml/XmlEntity.cs
System.Xml/XmlAttribute.cs
System.Xml/XmlAttributeCollection.cs
System.Xml/XmlCDataSection.cs
System.Xml/XmlConstructs.cs
System.Xml/XmlChar.cs
System.Xml/XmlCharacterData.cs
System.Xml/XmlComment.cs
System.Xml/XmlNotation.cs
System.Xml/XmlDeclaration.cs
System.Xml/XmlDocument.cs
System.Xml/XmlDocumentFragment.cs
System.Xml/XmlDocumentNavigator.cs
System.Xml/XmlDocumentType.cs
System.Xml/XmlElement.cs
System.Xml/XmlEntityReference.cs
System.Xml/XmlException.cs
System.Xml/XmlImplementation.cs
System.Xml/XmlConvert.cs
System.Xml/XmlDateTimeSerializationMode.cs
System.Xml/XmlLinkedNode.cs
System.Xml/XmlNameEntry.cs
System.Xml/XmlNameEntryCache.cs
System.Xml/XmlNameTable.cs
System.Xml/XmlNamedNodeMap.cs
System.Xml/XmlNamespaceScope.cs
System.Xml/XmlNamespaceManager.cs
System.Xml/XmlNode.cs
System.Xml/XmlNodeChangedAction.cs
System.Xml/XmlNodeChangedEventArgs.cs
System.Xml/XmlNodeChangedEventHandler.cs
System.Xml/XmlNodeList.cs
System.Xml/XmlNodeListChildren.cs
System.Xml/XmlNodeArrayList.cs
System.Xml/XmlIteratorNodeList.cs
System.Xml/XmlNodeOrder.cs
System.Xml/XmlNodeReader2.cs
System.Xml/XmlNodeReaderImpl.cs
System.Xml/XmlNodeType.cs
System.Xml/XmlOutputMethod.cs
System.Xml/XmlParserContext.cs
System.Xml/XmlProcessingInstruction.cs
System.Xml/XmlQualifiedName.cs
System.Xml/XmlReader.cs
System.Xml/XmlReaderBinarySupport.cs
System.Xml/XmlReaderSettings.cs
System.Xml/DtdProcessing.cs
System.Xml/XmlResolver.cs
System.Xml/XmlSecureResolver.cs
System.Xml/XmlSignificantWhitespace.cs
System.Xml/XmlSpace.cs
System.Xml/XmlText.cs
System.Xml/XmlTextReader.cs
System.Xml/XmlTextReader2.cs
System.Xml/XmlTokenizedType.cs
System.Xml/XmlUrlResolver.cs
System.Xml/XmlValidatingReader.cs
System.Xml/XmlWhitespace.cs
System.Xml/XmlWriter.cs
System.Xml/XmlWriterSettings.cs
System.Xml/XmlTextWriter2.cs
System.Xml/XmlInputStream.cs
System.Xml/XmlParserInput.cs
System.Xml.XPath/IXPathNavigable.cs
System.Xml.XPath/XPathNavigator.cs
System.Xml.XPath/XPathExpression.cs
System.Xml.XPath/XPathItem.cs
System.Xml.XPath/XPathNamespaceScope.cs
System.Xml.XPath/XPathNodeIterator.cs
System.Xml.XPath/XPathResultType.cs
System.Xml.XPath/XPathNodeType.cs
System.Xml.XPath/XmlDataType.cs
System.Xml.XPath/XmlSortOrder.cs
System.Xml.XPath/XmlCaseOrder.cs
System.Xml.XPath/XPathDocument.cs
System.Xml.XPath/XPathException.cs
System.Xml.XPath/XPathComparer.cs
System.Xml.XPath/DefaultContext.cs
System.Xml.XPath/Expression.cs
System.Xml.XPath/Iterator.cs
System.Xml.XPath/Tokenizer.cs
System.Xml.Xsl/IXsltContextFunction.cs
System.Xml.Xsl/IXsltContextVariable.cs
System.Xml.Xsl/XslCompiledTransform.cs
System.Xml.Xsl/XslTransform.cs
System.Xml.Xsl/XsltArgumentList.cs
System.Xml.Xsl/XsltCompileException.cs
System.Xml.Xsl/XsltContext.cs
System.Xml.Xsl/XsltException.cs
System.Xml.Xsl/XsltMessageEncounteredEventArgs.cs
System.Xml.Xsl/XsltMessageEncounteredEventHandler.cs
System.Xml.Xsl/XsltSettings.cs
System.Xml.Schema/BuiltInDatatype.cs
System.Xml.Schema/IXmlSchemaInfo.cs
System.Xml.Schema/SchemaDataValueType.cs
System.Xml.Schema/ValidationEventArgs.cs
System.Xml.Schema/XmlAtomicValue.cs
System.Xml.Schema/XmlSchema.cs
System.Xml.Schema/XmlSchemaAll.cs
System.Xml.Schema/XmlSchemaAnnotated.cs
System.Xml.Schema/XmlSchemaAnnotation.cs
System.Xml.Schema/XmlSchemaAny.cs
System.Xml.Schema/XmlSchemaAnyAttribute.cs
System.Xml.Schema/XmlSchemaAppInfo.cs
System.Xml.Schema/XmlSchemaAttribute.cs
System.Xml.Schema/XmlSchemaAttributeGroup.cs
System.Xml.Schema/XmlSchemaAttributeGroupRef.cs
System.Xml.Schema/XmlSchemaChoice.cs
System.Xml.Schema/XmlSchemaCollection.cs
System.Xml.Schema/XmlSchemaCollectionEnumerator.cs
System.Xml.Schema/XmlSchemaCompilationSettings.cs
System.Xml.Schema/XmlSchemaComplexContent.cs
System.Xml.Schema/XmlSchemaComplexContentExtension.cs
System.Xml.Schema/XmlSchemaComplexContentRestriction.cs
System.Xml.Schema/XmlSchemaComplexType.cs
System.Xml.Schema/XmlSchemaContent.cs
System.Xml.Schema/XmlSchemaContentModel.cs
System.Xml.Schema/XmlSchemaContentProcessing.cs
System.Xml.Schema/XmlSchemaContentType.cs
System.Xml.Schema/XmlSchemaDatatype.cs
System.Xml.Schema/XmlSchemaDatatypeVariety.cs
System.Xml.Schema/XmlSchemaDerivationMethod.cs
System.Xml.Schema/XmlSchemaDocumentation.cs
System.Xml.Schema/XmlSchemaElement.cs
System.Xml.Schema/XmlSchemaEnumerationFacet.cs
System.Xml.Schema/XmlSchemaException.cs
System.Xml.Schema/XmlSchemaExternal.cs
System.Xml.Schema/XmlSchemaFacet.cs
System.Xml.Schema/XmlSchemaForm.cs
System.Xml.Schema/XmlSchemaFractionDigitsFacet.cs
System.Xml.Schema/XmlSchemaGroup.cs
System.Xml.Schema/XmlSchemaGroupBase.cs
System.Xml.Schema/XmlSchemaGroupRef.cs
System.Xml.Schema/XmlSchemaIdentityConstraint.cs
System.Xml.Schema/XmlSchemaImport.cs
System.Xml.Schema/XmlSchemaInclude.cs
System.Xml.Schema/XmlSchemaInference.cs
System.Xml.Schema/XmlSchemaInferenceException.cs
System.Xml.Schema/XmlSchemaInfo.cs
System.Xml.Schema/XmlSchemaKey.cs
System.Xml.Schema/XmlSchemaKeyref.cs
System.Xml.Schema/XmlSchemaLengthFacet.cs
System.Xml.Schema/XmlSchemaMaxExclusiveFacet.cs
System.Xml.Schema/XmlSchemaMaxInclusiveFacet.cs
System.Xml.Schema/XmlSchemaMaxLengthFacet.cs
System.Xml.Schema/XmlSchemaMinExclusiveFacet.cs
System.Xml.Schema/XmlSchemaMinInclusiveFacet.cs
System.Xml.Schema/XmlSchemaMinLengthFacet.cs
System.Xml.Schema/XmlSchemaNotation.cs
System.Xml.Schema/XmlSchemaNumericFacet.cs
System.Xml.Schema/XmlSchemaObject.cs
System.Xml.Schema/XmlSchemaObjectCollection.cs
System.Xml.Schema/XmlSchemaObjectEnumerator.cs
System.Xml.Schema/XmlSchemaObjectTable.cs
System.Xml.Schema/XmlSchemaParticle.cs
System.Xml.Schema/XmlSchemaPatternFacet.cs
System.Xml.Schema/XmlSchemaRedefine.cs
System.Xml.Schema/XmlSchemaSet.cs
System.Xml.Schema/XmlSchemaSequence.cs
System.Xml.Schema/XmlSchemaSerializer.cs
System.Xml.Schema/XmlSchemaSimpleContent.cs
System.Xml.Schema/XmlSchemaSimpleContentExtension.cs
System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs
System.Xml.Schema/XmlSchemaSimpleType.cs
System.Xml.Schema/XmlSchemaSimpleTypeContent.cs
System.Xml.Schema/XmlSchemaSimpleTypeList.cs
System.Xml.Schema/XmlSchemaSimpleTypeRestriction.cs
System.Xml.Schema/XmlSchemaSimpleTypeUnion.cs
System.Xml.Schema/XmlSchemaTotalDigitsFacet.cs
System.Xml.Schema/XmlSchemaType.cs
System.Xml.Schema/XmlSchemaUnique.cs
System.Xml.Schema/XmlSchemaUse.cs
System.Xml.Schema/XmlSchemaValidator.cs
System.Xml.Schema/XmlSchemaValidity.cs
System.Xml.Schema/XmlSchemaValidationException.cs
System.Xml.Schema/XmlSchemaWhiteSpaceFacet.cs
System.Xml.Schema/XmlSchemaXPath.cs
System.Xml.Schema/XmlSeverityType.cs
System.Xml.Schema/ValidationHandler.cs
System.Xml.Schema/XmlSchemaUtil.cs
System.Xml.Schema/XmlSchemaReader.cs
System.Xml.Schema/XmlSchemaValidationFlags.cs
System.Xml.Schema/XmlTypeCode.cs
System.Xml.Schema/XmlValueConverter.cs
System.Xml.Schema/XmlValueGetter.cs
System.Xml.Serialization/IXmlTextParser.cs
System.Xml.Serialization/CodeExporter.cs
System.Xml.Serialization/CodeGenerationOptions.cs
System.Xml.Serialization/CodeIdentifier.cs
System.Xml.Serialization/CodeIdentifiers.cs
System.Xml.Serialization.Configuration/DateTimeSerializationSection.cs
System.Xml.Serialization.Configuration/SchemaImporterExtensionElementCollection.cs
System.Xml.Serialization.Configuration/SchemaImporterExtensionElement.cs
System.Xml.Serialization.Configuration/SchemaImporterExtensionsSection.cs
System.Xml.Serialization.Configuration/SerializationSectionGroup.cs
System.Xml.Serialization.Configuration/XmlSerializerSection.cs
System.Xml.Serialization/ImportContext.cs
System.Xml.Serialization/IXmlSerializable.cs
System.Xml.Serialization/IXmlTextParser.cs
System.Xml.Serialization/ImportContext.cs
System.Xml.Serialization/KeyHelper.cs
System.Xml.Serialization/MapCodeGenerator.cs
System.Xml.Serialization/ReflectionHelper.cs
System.Xml.Serialization/SchemaImporter.cs
System.Xml.Serialization/SchemaTypes.cs
System.Xml.Serialization/SerializationCodeGeneratorConfiguration.cs
System.Xml.Serialization/SerializationCodeGenerator.cs
System.Xml.Serialization/SerializationCodeGeneratorConfiguration.cs
System.Xml.Serialization/SerializationSource.cs
System.Xml.Serialization/SoapAttributeAttribute.cs
System.Xml.Serialization/SoapAttributeOverrides.cs
@@ -616,10 +307,10 @@ System.Xml.Serialization/SoapElementAttribute.cs
System.Xml.Serialization/SoapEnumAttribute.cs
System.Xml.Serialization/SoapIgnoreAttribute.cs
System.Xml.Serialization/SoapIncludeAttribute.cs
System.Xml.Serialization/SoapReflectionImporter.cs
System.Xml.Serialization/SoapSchemaExporter.cs
System.Xml.Serialization/SoapSchemaImporter.cs
System.Xml.Serialization/SoapSchemaExporter.cs
System.Xml.Serialization/SoapSchemaMember.cs
System.Xml.Serialization/SoapReflectionImporter.cs
System.Xml.Serialization/SoapTypeAttribute.cs
System.Xml.Serialization/TypeData.cs
System.Xml.Serialization/TypeMember.cs
@@ -637,30 +328,30 @@ System.Xml.Serialization/XmlAttributeEventArgs.cs
System.Xml.Serialization/XmlAttributeEventHandler.cs
System.Xml.Serialization/XmlAttributeOverrides.cs
System.Xml.Serialization/XmlAttributes.cs
System.Xml.Serialization/XmlChoiceIdentifierAttribute.cs
System.Xml.Serialization/XmlCodeExporter.cs
System.Xml.Serialization/XmlChoiceIdentifierAttribute.cs
System.Xml.Serialization/XmlCustomFormatter.cs
System.Xml.Serialization/XmlDeserializationEvents.cs
System.Xml.Serialization/XmlElementAttribute.cs
System.Xml.Serialization/XmlElementAttributes.cs
System.Xml.Serialization/XmlElementEventArgs.cs
System.Xml.Serialization/XmlElementEventHandler.cs
System.Xml.Serialization/XmlEnumAttribute.cs
System.Xml.Serialization/XmlIgnoreAttribute.cs
System.Xml.Serialization/XmlIncludeAttribute.cs
System.Xml.Serialization/XmlMappingAccess.cs
System.Xml.Serialization/XmlMapping.cs
System.Xml.Serialization/XmlMemberMapping.cs
System.Xml.Serialization/XmlMembersMapping.cs
System.Xml.Serialization/XmlMapping.cs
System.Xml.Serialization/XmlMappingAccess.cs
System.Xml.Serialization/XmlNamespaceDeclarationsAttribute.cs
System.Xml.Serialization/XmlNodeEventArgs.cs
System.Xml.Serialization/XmlNodeEventHandler.cs
System.Xml.Serialization/XmlReflectionImporter.cs
System.Xml.Serialization/XmlReflectionMember.cs
System.Xml.Serialization/XmlRootAttribute.cs
System.Xml.Serialization/XmlSchemaEnumerator.cs
System.Xml.Serialization/XmlSchemaExporter.cs
System.Xml.Serialization/XmlSchemaImporter.cs
System.Xml.Serialization/XmlSchemaProviderAttribute.cs
System.Xml.Serialization/XmlSchemas.cs
System.Xml.Serialization/XmlSerializationCollectionFixupCallback.cs
System.Xml.Serialization/XmlSerializationFixupCallback.cs
System.Xml.Serialization/XmlSerializationGeneratedCode.cs
@@ -670,16 +361,28 @@ System.Xml.Serialization/XmlSerializationReaderInterpreter.cs
System.Xml.Serialization/XmlSerializationWriteCallback.cs
System.Xml.Serialization/XmlSerializationWriter.cs
System.Xml.Serialization/XmlSerializationWriterInterpreter.cs
System.Xml.Serialization/XmlSerializerAssemblyAttribute.cs
System.Xml.Serialization/XmlSerializer.cs
System.Xml.Serialization/XmlSerializerAssemblyAttribute.cs
System.Xml.Serialization/XmlSerializerFactory.cs
System.Xml.Serialization/XmlSerializerImplementation.cs
System.Xml.Serialization/XmlSerializerNamespaces.cs
System.Xml.Serialization/XmlSerializerVersionAttribute.cs
System.Xml.Serialization/XmlTextAttribute.cs
System.Xml.Serialization/XmlTypeAttribute.cs
System.Xml.Serialization/XmlTypeMapElementInfo.cs
System.Xml.Serialization/XmlTypeMapMemberAttribute.cs
System.Xml.Serialization/XmlTypeMapMember.cs
System.Xml.Serialization/XmlTypeMapMemberAttribute.cs
System.Xml.Serialization/XmlTypeMapMemberElement.cs
System.Xml.Serialization/XmlTypeMapMemberNamespaces.cs
System.Xml.Serialization/XmlTypeMapping.cs
System.Xml.Serialization/XmlElementEventHandler.cs
System.Xml.Serialization/XmlNodeEventHandler.cs
System.Xml.Serialization.Advanced/SchemaImporterExtension.cs
System.Xml.Serialization.Advanced/SchemaImporterExtensionCollection.cs
System.Xml.Serialization.Configuration/DateTimeSerializationSection.cs
System.Xml.Serialization.Configuration/SchemaImporterExtensionElement.cs
System.Xml.Serialization.Configuration/SchemaImporterExtensionElementCollection.cs
System.Xml.Serialization.Configuration/SchemaImporterExtensionsSection.cs
System.Xml.Serialization.Configuration/SerializationSectionGroup.cs
System.Xml.Serialization.Configuration/XmlSerializerSection.cs
System.Xml/XQueryConvert.cs
@@ -163,7 +163,7 @@ namespace MonoTests.System.Xml
ss.Compile ();
Assert.IsTrue (ss.IsCompiled, "#4");
ss.RemoveRecursive (s);
Assert.IsFalse (ss.IsCompiled, "#5");
Assert.IsTrue (ss.IsCompiled, "#5");
}
[Test] // bug #77489
@@ -20,8 +20,7 @@ namespace MonoTests.System.Xml
[TestFixture]
public class XmlSchemaTests : XmlSchemaAssertion
{
// Whatever this flag is used is buggy tests. Now mono implementation is MS reference source based, so enabled.
static readonly bool StrictMsCompliant = true;// Environment.GetEnvironmentVariable ("MONO_STRICT_MS_COMPLIANT") == "yes";
static readonly bool StrictMsCompliant = Environment.GetEnvironmentVariable ("MONO_STRICT_MS_COMPLIANT") == "yes";
[Test]
public void TestRead ()
@@ -538,7 +537,6 @@ namespace MonoTests.System.Xml
}
[Test]
[Ignore (".NET fails as well as referencesource")]
public void TestResolveUri ()
{
XmlSchemaSet schemaSet = new XmlSchemaSet ();
@@ -585,7 +583,6 @@ namespace MonoTests.System.Xml
}
[Test]
[Ignore (".NET fails as well as referencesource")]
public void TestImportSchemaThatIncludesAnother ()
{
XmlSchema xs = GetSchema ("Test/XmlFiles/xsd/importNamespaceTest2.xsd");
@@ -75,7 +75,6 @@ namespace MonoTests.System.Xml.Serialization.Advanced
[Test]
[Category ("NotDotNet")] // NRE happens there.
[Ignore ("Microsoft referencesource fails")]
[ExpectedException (typeof (ArgumentNullException))]
public void AddTypeNull ()
{
@@ -2053,7 +2053,7 @@ namespace MonoTests.System.XmlSerialization
writer.Close ();
Assert.AreEqual (@"<?xml version=""1.0"" encoding=""utf-16""?>
<Bug594490Class xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xml:lang=""hello world"" />",
<Bug594490Class xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" xml:lang=""hello world"" />",
writer.ToString (),
"Novell bug #594490 (https://bugzilla.novell.com/show_bug.cgi?id=594490) not fixed.");
}
@@ -736,7 +736,7 @@ namespace MonoTests.System.XmlSerialization
SerializeEncoded (f, typeof (Field_Encoded));
Assert.AreEqual (string.Format (CultureInfo.InvariantCulture,
"<?xml version='1.0' encoding='utf-16'?>" +
"<q1:field xmlns:xsd='{0}' xmlns:xsi='{1}' id='id1' flag1=''" +
"<q1:field xmlns:xsi='{1}' xmlns:xsd='{0}' id='id1' flag1=''" +
" flag2='' flag3='' flag4='' modifiers='PuBlIc'" +
" modifiers2='PuBlIc' modifiers4='PuBlIc' xmlns:q1='some:urn' />",
XmlSchema.Namespace, XmlSchema.InstanceNamespace),
@@ -753,7 +753,7 @@ namespace MonoTests.System.XmlSerialization
SerializeEncoded (f, typeof (Field_Encoded));
Assert.AreEqual (string.Format (CultureInfo.InvariantCulture,
"<?xml version='1.0' encoding='utf-16'?>" +
"<q1:field xmlns:xsd='{0}' xmlns:xsi='{1}' id='id1' flag3='two'" +
"<q1:field xmlns:xsi='{1}' xmlns:xsd='{0}' id='id1' flag3='two'" +
" flag4='' modifiers='Protected' modifiers2='PuBlIc'" +
" xmlns:q1='some:urn' />",
XmlSchema.Namespace, XmlSchema.InstanceNamespace),
@@ -770,7 +770,7 @@ namespace MonoTests.System.XmlSerialization
SerializeEncoded (f, typeof (Field_Encoded));
Assert.AreEqual (string.Format (CultureInfo.InvariantCulture,
"<?xml version='1.0' encoding='utf-16'?>" +
"<q1:field xmlns:xsd='{0}' xmlns:xsi='{1}' id='id1' flag1='two'" +
"<q1:field xmlns:xsi='{1}' xmlns:xsd='{0}' id='id1' flag1='two'" +
" flag2='two' flag4='' modifiers='PuBlIc' modifiers2='Protected'" +
" modifiers3='Protected' modifiers4='PuBlIc' modifiers5='Protected'" +
" xmlns:q1='some:urn' />",
@@ -976,7 +976,7 @@ namespace MonoTests.System.XmlSerialization
Serialize (optionalValue);
Assert.AreEqual (string.Format (CultureInfo.InvariantCulture,
"<?xml version='1.0' encoding='utf-16'?>" +
"<optionalValue xmlns:xsd='{0}' xmlns:xsi='{1}' xmlns='{2}' />",
"<optionalValue xmlns:xsi='{1}' xmlns:xsd='{0}' xmlns='{2}' />",
XmlSchema.Namespace, XmlSchema.InstanceNamespace, AnotherNamespace),
sw.ToString (), "#1");
@@ -990,7 +990,7 @@ namespace MonoTests.System.XmlSerialization
Serialize (optionalValue, overrides);
Assert.AreEqual (string.Format (CultureInfo.InvariantCulture,
"<?xml version='1.0' encoding='utf-16'?>" +
"<optionalValue xmlns:xsd='{0}' xmlns:xsi='{1}' xmlns='{2}'>" +
"<optionalValue xmlns:xsi='{1}' xmlns:xsd='{0}' xmlns='{2}'>" +
"<Attributes xmlns='{3}'>one four</Attributes>" +
"</optionalValue>", XmlSchema.Namespace, XmlSchema.InstanceNamespace,
AnotherNamespace, ANamespace), sw.ToString (), "#2");
@@ -999,7 +999,7 @@ namespace MonoTests.System.XmlSerialization
Serialize (optionalValue, overrides);
Assert.AreEqual (string.Format (CultureInfo.InvariantCulture,
"<?xml version='1.0' encoding='utf-16'?>" +
"<optionalValue xmlns:xsd='{0}' xmlns:xsi='{1}' xmlns='{2}'>" +
"<optionalValue xmlns:xsi='{1}' xmlns:xsd='{0}' xmlns='{2}'>" +
"<Attributes xmlns='{3}'>one four</Attributes>" +
"<Flags xmlns='{3}'>one</Flags>" +
"</optionalValue>",
@@ -772,7 +772,6 @@ namespace MonoTests.System.Xml.XPath
}
[Test]
[Ignore ("Microsoft reference source causes InvalidOperationException")]
public void WriteAttributeOnAppendedChild ()
{
XmlDocument x = new XmlDocument ();
@@ -341,7 +341,6 @@ namespace MonoTests.System.Xml.XPath
[Test]
[Category ("NotDotNet")] // MS bug
[Ignore ("Bug in Microsoft reference source")]
public void AttributesAndNamespaces ()
{
string xml = "<root attr='value' x:a2='v2' xmlns:x='urn:foo' xmlns='urn:default'></root>";
@@ -591,11 +591,6 @@ namespace MonoTests.System.Xml
Assert.AreEqual ("val1", iter.Current.InnerXml, "#1");
}
string AlterNewLine (string s)
{
return s.Replace ("\r\n", Environment.NewLine);
}
[Test]
public void InnerXmlTextEscape ()
{
@@ -604,17 +599,16 @@ namespace MonoTests.System.Xml
XPathNavigator nav = doc.CreateNavigator ();
XPathNodeIterator iter = nav.Select ("/Abc/Foo");
iter.MoveNext ();
Assert.AreEqual (AlterNewLine ("Hello&lt;\r\nInnerXml"), iter.Current.InnerXml, "#1");
Assert.AreEqual (AlterNewLine ("<Foo>Hello&lt;\r\nInnerXml</Foo>"), iter.Current.OuterXml, "#2");
Assert.AreEqual ("Hello&lt;\r\nInnerXml", iter.Current.InnerXml, "#1");
Assert.AreEqual ("<Foo>Hello&lt;\r\nInnerXml</Foo>", iter.Current.OuterXml, "#2");
iter = nav.Select ("/Abc/Foo/text()");
iter.MoveNext ();
Assert.AreEqual (String.Empty, iter.Current.InnerXml, "#3");
Assert.AreEqual (AlterNewLine ("Hello&lt;\r\nInnerXml"), iter.Current.OuterXml, "#4");
Assert.AreEqual ("Hello&lt;\r\nInnerXml", iter.Current.OuterXml, "#4");
}
[Test]
[Category ("NotDotNet")] // .NET bug; it should escape value
[Ignore ("Bug in Microsoft reference source")]
public void InnerXmlAttributeEscape ()
{
StringReader sr = new StringReader ("<Abc><Foo attr='val&quot;1&#13;&#10;&gt;'/></Abc>");
@@ -21,8 +21,6 @@ namespace MonoTests.System.Xml.Xsl
[TestFixture]
public class XslTransformTests
{
static readonly string end_of_line = "\r\n";
XmlDocument doc;
XslTransform xslt;
XmlDocument result;
@@ -152,6 +150,11 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
}
[Test]
[Category ("NotDotNet")]
// Actually MS.NET here throws XsltException, but Mono returns
// XPathException (since XPath evaluation engine generally
// catches (should catch) static error. It is implementation
// dependent matter.
[ExpectedException (typeof (XPathException))]
public void MSXslNodeSetRejectsNodeSet ()
{
@@ -412,7 +415,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
// http://support.microsoft.com/default.aspx?scid=kb;en-us;834667
[Test]
//[Category ("NotDotNet")]
[Category ("NotDotNet")]
public void LocalParameter ()
{
string xsltFragment = @"<?xml version=""1.0"" encoding=""UTF-8"" ?>
@@ -996,7 +999,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
" <something>{0}" +
" <else />{0}" +
" </something>{0}" +
"</test>", end_of_line), sw.ToString (), "#1");
"</test>", Environment.NewLine), sw.ToString (), "#1");
// set indent to no
sw.GetStringBuilder ().Length = 0;
@@ -1131,7 +1134,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
" <something>{0}" +
" <else />{0}" +
" </something>{0}" +
"</test>", end_of_line), sw.ToString (), "#1");
"</test>", Environment.NewLine), sw.ToString (), "#1");
// set indent to no
sw.GetStringBuilder ().Length = 0;
@@ -1582,7 +1585,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
"{1}<Body>{0}" +
"{1}{1}<BR>{0}" +
"{1}</Body>{0}" +
"</html>", end_of_line, " "), sw.ToString (), "#1");
"</html>", Environment.NewLine, " "), sw.ToString (), "#1");
// indent no, media-type not set
options = "indent=\"no\"";
@@ -1621,7 +1624,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
"{1}<Body>{0}" +
"{1}{1}<BR>{0}" +
"{1}</Body>{0}" +
"</html>", end_of_line, " "), sw.ToString (), "#3");
"</html>", Environment.NewLine, " "), sw.ToString (), "#3");
}
[Test]
@@ -1671,7 +1674,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
"{1}<Body>{0}" +
"{1}{1}<BR>{0}" +
"{1}</Body>{0}" +
"</html>", end_of_line, " "), result, "#1");
"</html>", Environment.NewLine, " "), result, "#1");
// indent no, media-type not set
options = "indent=\"no\"";
@@ -1718,7 +1721,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
"{1}<Body>{0}" +
"{1}{1}<BR>{0}" +
"{1}</Body>{0}" +
"</html>", end_of_line, " "), result, "#3");
"</html>", Environment.NewLine, " "), result, "#3");
}
[Test]
@@ -1805,7 +1808,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
" <tr>{0}" +
" <td>1,000</td>{0}" +
" </tr>{0}" +
"</table>", end_of_line), sw.ToString ());
"</table>", Environment.NewLine), sw.ToString ());
}
// http://support.microsoft.com/kb/293469/en-us
@@ -1842,7 +1845,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
"<?xml version=\"1.0\" encoding=\"utf-16\"?>{0}" +
"<html>{0}" +
" <body>44.442,70</body>{0}" +
"</html>", end_of_line), sw.ToString ());
"</html>", Environment.NewLine), sw.ToString ());
}
[Test]
@@ -2327,7 +2330,7 @@ NO
</l0>
</root>")), null, sw);
// Assert.AreEqual (@"<y><t yes-one-node="""">1</t><t not-node=""""></t></y>", sw.ToString ());
Assert.AreEqual ("\r\n \r\n <y><t yes-one-node=\"\">1</t><t not-node=\"\"></t></y>\r\n \r\n".Replace ("\r\n", Environment.NewLine), sw.ToString ());
Assert.AreEqual ("\r\n \r\n <y><t yes-one-node=\"\">1</t><t not-node=\"\"></t></y>\r\n \r\n", sw.ToString ());
}
[Test]
@@ -2361,7 +2364,6 @@ NO
}
[Test]
[Category ("NotWorking")] // FIXME: SRE related regression
public void Bug487065 ()
{
using (XmlReader input = GetInput ()) {
@@ -36,7 +36,7 @@ using System.Security.Permissions;
using System.Security.Policy;
using System.Xml.Xsl;
namespace MonoTests.System.Xml.Xsl
namespace MonoCasTests.System.Xml.Xsl
{
[TestFixture]
public class XsltCompileExceptionTests {
@@ -194,7 +194,6 @@ namespace MonoTests.System.Xml
[Test]
[Category ("NotDotNet")] // enbug
[Ignore ("bug in Microsoft sources")]
public void RemoveDefaultAttribute ()
{
string dtd = "<!DOCTYPE root [<!ELEMENT root EMPTY><!ATTLIST root attr CDATA 'default'>]>";
@@ -87,7 +87,6 @@ namespace MonoTests.System.Xml
[Test]
[Category ("NotDotNet")] // enbug in 2.0
[Ignore ("bug in Microsoft sources")]
public void InsertData ()
{
comment.Value = "foobaz";
@@ -129,7 +128,6 @@ namespace MonoTests.System.Xml
[Test]
[Category ("NotDotNet")] // enbug in 2.0
[Ignore ("bug in Microsoft sources")]
public void ReplaceData ()
{
changed = false;
@@ -71,6 +71,7 @@ namespace MonoTests.System.Xml
}
[Test]
[ExpectedException (typeof (XmlException))]
public void EncodeNmTokenError ()
{
XmlConvert.EncodeNmToken (String.Empty);
@@ -225,10 +225,8 @@ namespace MonoTests.System.Xml
node = document.CreateNode("documentfragment", null, null);
Assert.AreEqual (XmlNodeType.DocumentFragment, node.NodeType);
try {
node = document.CreateNode("documenttype", null, null);
Assert.Fail ("Expected an ArgumentNullException to be thrown.");
} catch (ArgumentNullException) {}
node = document.CreateNode("documenttype", null, null);
Assert.AreEqual (XmlNodeType.DocumentType, node.NodeType);
node = document.CreateNode("element", "foo", null);
Assert.AreEqual (XmlNodeType.Element, node.NodeType);
@@ -243,6 +243,7 @@ namespace MonoTests.System.Xml
XmlNamespaceScope a = XmlNamespaceScope.All;
[Test]
[Category ("NotDotNet")] // MS bug
public void GetNamespacesInScope ()
{
XmlNamespaceManager nsmgr =
@@ -278,7 +279,7 @@ namespace MonoTests.System.Xml
nsmgr.AddNamespace ("", "");
// MS bug - it should return 1 for .Local but it returns 2 instead.
//Assert.AreEqual (1, nsmgr.GetNamespacesInScope (l).Count, "#16");
Assert.AreEqual (1, nsmgr.GetNamespacesInScope (l).Count, "#16");
Assert.AreEqual (1, nsmgr.GetNamespacesInScope (x).Count, "#17");
Assert.AreEqual (2, nsmgr.GetNamespacesInScope (a).Count, "#18");
}
@@ -36,8 +36,8 @@ namespace MonoTests.System.Xml
XmlNodeReader nrdr;
try {
nrdr = new XmlNodeReader (null);
Assert.Fail ("ArgumentNullException is expected.");
} catch (ArgumentNullException) {
Assert.Fail ("null reference exception is preferable.");
} catch (NullReferenceException) {
}
nrdr = new XmlNodeReader (new XmlDocument ());
nrdr.Read ();
@@ -195,7 +195,7 @@ namespace MonoTests.System.Xml
document.LoadXml ("<ul test='xxx'></ul>");
XmlNodeReader nr = new XmlNodeReader (document);
nr.Read ();
//nr.Read (); // why twice?
nr.Read ();
Assert.IsTrue (nr.MoveToFirstAttribute (), "#1");
Assert.IsTrue (nr.ReadAttributeValue (), "#2");
Assert.IsFalse (nr.MoveToNextAttribute (), "#3");
@@ -1346,7 +1346,6 @@ namespace MonoTests.System.Xml
[Test]
[Category ("NotDotNet")]
[Ignore ("Bug in Microsoft referencesource")]
public void IndexerAndAttributes ()
{
string xml = @"<?xml version='1.0' standalone='no'?><foo _1='1' _2='2' _3='3' />";
@@ -2245,7 +2244,7 @@ namespace MonoTests.System.Xml
Assert.AreEqual (XmlNodeType.Text, reader.NodeType, "#2");
bytesRead = reader.ReadElementContentAsBase64 (fixedSizeBuffer, 0, fixedSizeBuffer.Length);
Assert.AreEqual (0, bytesRead, "#3");
Assert.AreEqual (XmlNodeType.None, reader.NodeType, "#4");
Assert.AreEqual (XmlNodeType.EndElement, reader.NodeType, "#4");
}
[Test]
@@ -421,7 +421,7 @@ namespace MonoTests.System.Xml
#if NET_4_5
[Test]
[ExpectedException (typeof (XmlException))]
[ExpectedException (typeof (InvalidOperationException))]
public void ReadonlyAsync ()
{
var s = new XmlReaderSettings ();
@@ -58,7 +58,6 @@ namespace MonoTests.System.Xml
}
[Test]
[Ignore ("This test doesn't work for referencesource anymore.")]
public void CreateEvidenceForUrl_Local ()
{
// "normal" path
@@ -93,7 +92,6 @@ namespace MonoTests.System.Xml
}
[Test]
[Ignore ("This test doesn't work for referencesource anymore.")]
public void CreateEvidenceForUrl_Http ()
{
// http://
@@ -1211,7 +1211,6 @@ namespace MonoTests.System.Xml
}
[Test]
[Ignore ("bug in Microsoft referencesource")]
public void WhitespacesAfterTextDeclaration ()
{
XmlTextReader xtr = new XmlTextReader (
@@ -1517,14 +1517,14 @@ namespace MonoTests.System.Xml
}
[Test]
//[ExpectedException (typeof (ArgumentException))]
[ExpectedException (typeof (ArgumentException))]
public void WriteWhitespace_Null ()
{
xtw.WriteWhitespace ((string) null);
}
[Test]
//[ExpectedException (typeof (ArgumentException))]
[ExpectedException (typeof (ArgumentException))]
public void WriteWhitespace_Empty ()
{
xtw.WriteWhitespace (string.Empty);
@@ -36,6 +36,7 @@ namespace MonoTests.System.Xml
}
[Test]
[Category ("NotDotNet")]
public void FileUri2 ()
{
Assert.AreEqual (resolver.ResolveUri (new Uri ("file://usr/local/src"), null).ToString (), "file://usr/local/src");
@@ -73,7 +74,7 @@ namespace MonoTests.System.Xml
}
[Test]
[ExpectedException (typeof (InvalidOperationException))]
[ExpectedException (typeof (ArgumentException))]
public void GetEntityWithRelativeFileUri ()
{
resolver.GetEntity (new Uri ("file.txt", UriKind.Relative), null, typeof (Stream));
@@ -36,7 +36,7 @@ namespace MonoTests.System.Xml
Assert.AreEqual (Encoding.UTF8, s.Encoding);
Assert.AreEqual (false, s.Indent);
Assert.AreEqual (" ", s.IndentChars);
Assert.AreEqual (Environment.NewLine, s.NewLineChars);
Assert.AreEqual ("\r\n", s.NewLineChars);
Assert.AreEqual (false, s.NewLineOnAttributes);
Assert.AreEqual (false, s.OmitXmlDeclaration);
Assert.AreEqual (NewLineHandling.Replace, s.NewLineHandling);
@@ -383,7 +383,7 @@ namespace MonoTests.System.Xml
#if NET_4_5
[Test]
[ExpectedException (typeof (XmlException))]
[ExpectedException (typeof (InvalidOperationException))]
public void ReadonlyAsync ()
{
var sw = new StringWriter ();
@@ -111,7 +111,6 @@ namespace MonoTests.System.Xml
[Test]
[Category ("NotDotNet")] // enbugged in 2.0
[Ignore ("Bug in Microsoft referencesource")]
[ExpectedException (typeof (XmlException))]
public void WriteNodeError ()
{
@@ -376,7 +375,7 @@ namespace MonoTests.System.Xml
}
[Test]
[ExpectedException (typeof (ArgumentException))]
[ExpectedException (typeof (XmlException))]
public void CreateWriter_AttributeNamespacesXmlnsXmlns ()
{
// Unlike XmlTextWriter, null namespace is not ignored.
@@ -44,7 +44,9 @@ namespace MonoTests.System.Xml
}
[Test]
[ExpectedException (typeof (XmlSchemaException))]
[Category ("NotDotNet")]
// MS.NET throws XmlSchemaException, not -ValidationException.
[ExpectedException (typeof (ValidationException))]
public void ValidateRootElementOnlyInvalid ()
{
PrepareReader1 ("1.xsd", "<invalid xmlns='urn:foo' />");
@@ -322,10 +322,11 @@ namespace MonoTests.System.Xml
}
[Test] // bug #79650
[ExpectedException (typeof (XmlSchemaException))]
// annoyance
[ExpectedException (typeof (XmlSchemaValidationException))]
public void EnumerationFacetOnAttribute ()
{
string xml = "<test mode='NOT AN ENUMERATION VALUE' />";
string xml = "<test mode='NOT A ENUMERATION VALUE' />";
XmlSchema schema = XmlSchema.Read (new XmlTextReader ("Test/XmlFiles/xsd/79650.xsd"), null);
XmlValidatingReader xvr = new XmlValidatingReader (xml, XmlNodeType.Document, null);
xvr.ValidationType = ValidationType.Schema;
@@ -324,7 +324,7 @@ namespace nist_dom.fundamental
//----------------------------------------------------------------------------
[Test]
[Ignore(".NET DOM implementation does not match W3C DOM specification.")]
[Category ("NotDotNet")]
public void core0006A()
{
string computedValue = "";
@@ -760,7 +760,7 @@ namespace nist_dom.fundamental
//----------------------------------------------------------------------------
[Test]
[Ignore(".NET DOM implementation does not match W3C DOM specification.")] // MS DOM is buggy
[Category ("NotDotNet")] // MS DOM is buggy
public void core0014A()
{
string computedValue = "";
Loaded 100 of 341 files, more files were not shown because too many files have changed in this diff. Show more