V
V.Aks
When Visio read the next file:
<?xml version="1.0"?>
<VisioDocument xmlns="http://schemas.microsoft.com/visio/2003/core">
<Masters>
<Master ID="7">
<Shapes>
<Shape ID="6">
<Shapes> <Shape ID="5"> </Shape> </Shapes>
</Shape>
</Shapes>
</Master>
</Masters>
<Pages>
<Page ID="0">
<Shapes>
<Shape ID="1" Master="7"> </Shape>
<Shape ID="2" Master="7"> </Shape>
</Shapes>
</Page>
</Pages>
</VisioDocument>
I got the message:
[Warning] DataType:
Context: Line 20 --- <VisioDocument><Pages><Page><Shapes><Shape>
ID='2'
Description: This file contains a duplicate of an element that can
exist only once. Visio has ignored the duplicate element.
But I do not see any duplicated elements!
Moreover, Visio 2003 read the next file (almost the same as previous
file - only different order of two <Shape> elements) without any
warnings.
<?xml version="1.0"?>
<VisioDocument xmlns="http://schemas.microsoft.com/visio/2003/core">
<Masters>
<Master ID="7">
<Shapes>
<Shape ID="6">
<Shapes> <Shape ID="5"></Shape> </Shapes>
</Shape>
</Shapes>
</Master>
</Masters>
<Pages>
<Page ID="0">
<Shapes>
<Shape ID="2" Master="7"></Shape>
<Shape ID="1" Master="7"></Shape>
</Shapes>
</Page>
</Pages>
</VisioDocument>
Who knows, where is the reason of such behavior?
<?xml version="1.0"?>
<VisioDocument xmlns="http://schemas.microsoft.com/visio/2003/core">
<Masters>
<Master ID="7">
<Shapes>
<Shape ID="6">
<Shapes> <Shape ID="5"> </Shape> </Shapes>
</Shape>
</Shapes>
</Master>
</Masters>
<Pages>
<Page ID="0">
<Shapes>
<Shape ID="1" Master="7"> </Shape>
<Shape ID="2" Master="7"> </Shape>
</Shapes>
</Page>
</Pages>
</VisioDocument>
I got the message:
[Warning] DataType:
Context: Line 20 --- <VisioDocument><Pages><Page><Shapes><Shape>
ID='2'
Description: This file contains a duplicate of an element that can
exist only once. Visio has ignored the duplicate element.
But I do not see any duplicated elements!
Moreover, Visio 2003 read the next file (almost the same as previous
file - only different order of two <Shape> elements) without any
warnings.
<?xml version="1.0"?>
<VisioDocument xmlns="http://schemas.microsoft.com/visio/2003/core">
<Masters>
<Master ID="7">
<Shapes>
<Shape ID="6">
<Shapes> <Shape ID="5"></Shape> </Shapes>
</Shape>
</Shapes>
</Master>
</Masters>
<Pages>
<Page ID="0">
<Shapes>
<Shape ID="2" Master="7"></Shape>
<Shape ID="1" Master="7"></Shape>
</Shapes>
</Page>
</Pages>
</VisioDocument>
Who knows, where is the reason of such behavior?