Posted 17 years ago
by Bryan Livingston
RecentDocumentManager.Deserialize is throwing the following error. This problem just started happening with the latest release.
System.Windows.Markup.XamlParseException occurred
Message="The tag 'DocumentReferenceCollection' does not exist in XML namespace 'http://schemas.actiprosoftware.com/winfx/xaml/shared'. Line '1' Position '2'."
Source="PresentationFramework"
LineNumber=1
LinePosition=2
StackTrace:
at System.Windows.Markup.XamlParser.ThrowException(String message, Int32 lineNumber, Int32 linePosition)
at System.Windows.Markup.XamlParser.ThrowException(SRID id, String value1, String value2, Int32 lineNumber, Int32 linePosition)
at System.Windows.Markup.XamlParser.WriteUnknownTagStart(XamlUnknownTagStartNode xamlUnknownTagStartNode)
at System.Windows.Markup.XamlParser.ProcessXamlNode(XamlNode xamlNode, Boolean& cleanup, Boolean& done)
at System.Windows.Markup.XamlParser.ReadXaml(Boolean singleRecordMode)
at System.Windows.Markup.TreeBuilderXamlTranslator._Parse()
at System.Windows.Markup.XamlTreeBuilder.ParseFragment()
at System.Windows.Markup.TreeBuilder.Parse()
at System.Windows.Markup.XamlReader.XmlTreeBuildDefault(ParserContext pc, Stream stream, XamlParseMode parseMode, Boolean etwTracingEnabled)
at System.Windows.Markup.XamlReader.Load(Stream stream)
at ActiproSoftware.Windows.Serialization.XamlSerializer.LoadFromStream(Stream stream)
at ActiproSoftware.Windows.Serialization.XamlSerializer.LoadFromString(String xaml)
at ActiproSoftware.Windows.DocumentManagement.RecentDocumentManager.Deserialize(String xml)
Here is what is getting serialised.
System.Windows.Markup.XamlParseException occurred
Message="The tag 'DocumentReferenceCollection' does not exist in XML namespace 'http://schemas.actiprosoftware.com/winfx/xaml/shared'. Line '1' Position '2'."
Source="PresentationFramework"
LineNumber=1
LinePosition=2
StackTrace:
at System.Windows.Markup.XamlParser.ThrowException(String message, Int32 lineNumber, Int32 linePosition)
at System.Windows.Markup.XamlParser.ThrowException(SRID id, String value1, String value2, Int32 lineNumber, Int32 linePosition)
at System.Windows.Markup.XamlParser.WriteUnknownTagStart(XamlUnknownTagStartNode xamlUnknownTagStartNode)
at System.Windows.Markup.XamlParser.ProcessXamlNode(XamlNode xamlNode, Boolean& cleanup, Boolean& done)
at System.Windows.Markup.XamlParser.ReadXaml(Boolean singleRecordMode)
at System.Windows.Markup.TreeBuilderXamlTranslator._Parse()
at System.Windows.Markup.XamlTreeBuilder.ParseFragment()
at System.Windows.Markup.TreeBuilder.Parse()
at System.Windows.Markup.XamlReader.XmlTreeBuildDefault(ParserContext pc, Stream stream, XamlParseMode parseMode, Boolean etwTracingEnabled)
at System.Windows.Markup.XamlReader.Load(Stream stream)
at ActiproSoftware.Windows.Serialization.XamlSerializer.LoadFromStream(Stream stream)
at ActiproSoftware.Windows.Serialization.XamlSerializer.LoadFromString(String xaml)
at ActiproSoftware.Windows.DocumentManagement.RecentDocumentManager.Deserialize(String xml)
Here is what is getting serialised.
<DocumentReferenceCollection xmlns="http://schemas.actiprosoftware.com/winfx/xaml/shared" xmlns:s="clr-namespace:System;assembly=mscorlib">
<DocumentReference LastOpenedDateTime="2008-04-30T00:07:39.298972-06:00" Location="vsd://8669" Name="Brookelyn's Drawing" RecentDocumentManager.Index="1">
<DocumentReference.Tag>
<s:Int64>8669</s:Int64>
</DocumentReference.Tag>
</DocumentReference>
</DocumentReferenceCollection>