Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
<no name> by Anonymous
Environment version: .NET 9.0.0 (9.0.0)


Testing deserialization...
Validation Event: The element 'Groups' in namespace 'example' has invalid child element 'UnknownElement' in namespace 'example'. List of possible elements expected: 'Group' in namespace 'example'.
Deserialized successfully with 1 validation events.  Re-serialized XML:
<?xml version="1.0" encoding="utf-16"?>
<Example xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="example">
  <Groups>
    <Group Id="123" Name="abc">
      <DerivedEntity Id="123" Name="xyz" Parameter="ijk">
        <Description>def</Description>
      </DerivedEntity>
      <DerivedEntity Id="234" Name="bob" Parameter="12" />
    </Group>
    <Group Id="124" Name="def">
      <Description>This is a description.</Description>
    </Group>
  </Groups>
</Example>

Testing deserialization...
Validation Event: The element 'Groups' in namespace 'example' has invalid child element 'UnknownElement' in namespace 'example'. List of possible elements expected: 'Group' in namespace 'example'.
Deserialized successfully with 1 validation events.  Re-serialized XML:
<?xml version="1.0" encoding="utf-16"?>
<Example xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="example">
  <Groups>
    <Group Id="123" Name="abc">
      <DerivedEntity Id="123" Name="xyz" Parameter="ijk">
        <Description>def</Description>
      </DerivedEntity>
      <DerivedEntity Id="234" Name="bob" Parameter="12" />
    </Group>
    <Group Id="124" Name="def">
      <Description>This is a description.</Description>
    </Group>
  </Groups>
</Example>
Cached Result
Last Run: 11:30:31 am
Compile: 0.028s
Execute: 0.17s
Memory: 25.64Mb
CPU: 0.198s