Imported Upstream version 4.3.2.467

Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
Xamarin Public Jenkins
2016-02-22 11:00:01 -05:00
parent f302175246
commit f3e3aab35a
4097 changed files with 122406 additions and 82300 deletions

View File

@@ -11,9 +11,7 @@ LIB_MCS_FLAGS = -nowarn:618 \
LOCAL_MCS_FLAGS = -lib:$(secxml_libdir) -lib:$(bare_libdir)
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:168,169,183,219,414,1595
VALID_PROFILE := $(filter moonlight_raw net_4_5, $(PROFILE))
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:168,169,183,219,414
EXTRA_DISTFILES = \
Test/System.Security.Cryptography.Xml/sample.pfx \

View File

@@ -691,6 +691,12 @@ namespace System.Security.Cryptography.Xml {
if (xel == null) {
// search an "undefined" ID
xel = (XmlElement) document.SelectSingleNode ("//*[@Id='" + idValue + "']");
if (xel == null) {
xel = (XmlElement) document.SelectSingleNode ("//*[@ID='" + idValue + "']");
if (xel == null) {
xel = (XmlElement) document.SelectSingleNode ("//*[@id='" + idValue + "']");
}
}
}
return xel;
}