diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-08-15 22:07:35 +0200 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-08-15 13:07:35 -0700 |
commit | 90396b0ffdecf65b8e2eea8eb4f148bdea1071c4 (patch) | |
tree | b2a18b90525c693113b796f97c273e25d9980ddb /Xamarin.Forms.Xaml/CreateValuesVisitor.cs | |
parent | 775df09a3e45e90128f9047e8618461d4c4411a0 (diff) | |
download | xamarin-forms-90396b0ffdecf65b8e2eea8eb4f148bdea1071c4.tar.gz xamarin-forms-90396b0ffdecf65b8e2eea8eb4f148bdea1071c4.tar.bz2 xamarin-forms-90396b0ffdecf65b8e2eea8eb4f148bdea1071c4.zip |
Refix mc ignorable (#302)
* Revert "Fix mc ignorable (#298)"
This reverts commit 31c2be29d5982338ae178d1b0f107e23e7749782.
* [Xaml] fix mc:Ignorable
Diffstat (limited to 'Xamarin.Forms.Xaml/CreateValuesVisitor.cs')
-rw-r--r-- | Xamarin.Forms.Xaml/CreateValuesVisitor.cs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Xamarin.Forms.Xaml/CreateValuesVisitor.cs b/Xamarin.Forms.Xaml/CreateValuesVisitor.cs index 014d82c2..d6848033 100644 --- a/Xamarin.Forms.Xaml/CreateValuesVisitor.cs +++ b/Xamarin.Forms.Xaml/CreateValuesVisitor.cs @@ -41,17 +41,6 @@ namespace Xamarin.Forms.Xaml public void Visit(ValueNode node, INode parentNode) { Values[node] = node.Value; - - XmlName propertyName; - if (ApplyPropertiesVisitor.TryGetPropertyName(node, parentNode, out propertyName)) - { - if (propertyName.NamespaceURI == "http://schemas.openxmlformats.org/markup-compatibility/2006" && - propertyName.LocalName == "Ignorable") - { - (parentNode.IgnorablePrefixes ?? (parentNode.IgnorablePrefixes = new List<string>())).AddRange( - (node.Value as string).Split(',')); - } - } } public void Visit(MarkupNode node, INode parentNode) @@ -62,12 +51,6 @@ namespace Xamarin.Forms.Xaml { object value = null; - if (node.SkipPrefix(node.NamespaceResolver.LookupPrefix(node.NamespaceURI))) { - node.Properties.Clear(); - node.CollectionItems.Clear(); - return; - } - XamlParseException xpe; var type = XamlParser.GetElementType(node.XmlType, node, Context.RootElement?.GetType().GetTypeInfo().Assembly, out xpe); |