这是indexloc提供的服务,不要输入任何密码
Skip to content

Deserialising a LayoutDocumentFloatingWindow gives XML error #167

@markoliver288

Description

@markoliver288

When deserialising this saved layout:

<?xml version=""1.0"" encoding=""utf-16""?>
<LayoutRoot>
  <RootPanel Orientation=""Horizontal"">
    <LayoutDocumentPaneGroup Orientation=""Vertical"">
      <LayoutDocumentPane Id=""510dd237-81be-4b7d-acbf-97173c64122f"">
        <LayoutDocument Title=""Test Mymenu 1"" IsSelected=""True"" ContentId=""TestMymenu"" LastActivationTimeStamp=""11/20/2019 16:55:31"" />
      </LayoutDocumentPane>
      <LayoutDocumentPane Id=""e08ee504-1b6c-4c14-9987-ee6ea0f8d03e"">
        <LayoutDocument Title=""Mymenu 1"" IsSelected=""True"" ContentId=""Mymenu"" LastActivationTimeStamp=""11/20/2019 16:55:03"" />
      </LayoutDocumentPane>
      <LayoutDocumentPane>
        <LayoutDocument Title=""Test Mymenu 2"" IsSelected=""True"" ContentId=""TestMymenu"" FloatingLeft=""115"" FloatingTop=""32"" FloatingWidth=""136"" FloatingHeight=""39"" LastActivationTimeStamp=""11/20/2019 16:49:17"" />
      </LayoutDocumentPane>
    </LayoutDocumentPaneGroup>
  </RootPanel>
  <TopSide />
  <RightSide />
  <LeftSide />
  <BottomSide />
  <FloatingWindows>
    <LayoutDocumentFloatingWindow>
      <LayoutDocument Title=""Dev AIX 1"" IsSelected=""True"" IsLastFocusedDocument=""True"" ContentId=""DevAix"" FloatingLeft=""2573"" FloatingTop=""291"" FloatingWidth=""1079"" FloatingHeight=""769"" LastActivationTimeStamp=""11/20/2019 16:55:44"" PreviousContainerId=""e08ee504-1b6c-4c14-9987-ee6ea0f8d03e"" PreviousContainerIndex=""1"" />
    </LayoutDocumentFloatingWindow>
    <LayoutDocumentFloatingWindow>
      <LayoutDocument Title=""Gorgias Browser"" IsSelected=""True"" ContentId=""Gorgias Browser:https://sitters.gorgias.io/"" FloatingLeft=""2568"" FloatingTop=""8"" FloatingWidth=""1141"" FloatingHeight=""750"" LastActivationTimeStamp=""11/20/2019 16:55:40"" PreviousContainerId=""e08ee504-1b6c-4c14-9987-ee6ea0f8d03e"" PreviousContainerIndex=""1"" />
    </LayoutDocumentFloatingWindow>
    <LayoutDocumentFloatingWindow>
      <LayoutDocument Title=""Fees And Rates"" IsSelected=""True"" ContentId=""FeesAndRates"" FloatingLeft=""1950"" FloatingTop=""9"" FloatingWidth=""605"" FloatingHeight=""866"" LastActivationTimeStamp=""11/20/2019 16:55:31"" PreviousContainerId=""510dd237-81be-4b7d-acbf-97173c64122f"" PreviousContainerIndex=""1"" />
    </LayoutDocumentFloatingWindow>
  </FloatingWindows>
  <Hidden />
</LayoutRoot>

I get the error "There is an error in xml document (23,7)"

This is the start of the LayoutDocumentFloatingWindow data.

I have gone back to 3.6.2 and it works. It stops working at version 4.0.0
Looking at the code, there is significant difference in this area between the versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions