So just a little question about the XML Schema, is it actually possible to use any of the PathChunk elements in a window or not? I don't really need to use it for anything, but i was going to start writing my own scripting docs with full examples just for a side project to pass time.
As far as i can tell from the schema it should be something like so:
code:
<?xml version="1.0" encoding="UTF-16"?>
<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsichemaLocation="urn:msgplus:interface PlusInterface.xsd">
<Window Id="PathChunkTest" Version="1">
<Attributes>
<Caption>PathChunk Test</Caption>
</Attributes>
<TitleBar>
<Title>
<Text>PathChunk Test</Text>
</Title>
</TitleBar>
<Position Width="200" Height="200"/>
<DialogTmpl/>
<Elements>
<Element xsi:type="FigureElement" Id="TestArc">
<Position Top="5" Left="5" Width="100" Height="100" />
<Figure>
<Custom>
<PathChunk>
<LineChunk>
<X1>0</X1>
<Y1>0</Y1>
<X2>10</X2>
<Y2>10</Y2>
</LineChunk>
</PathChunk>
</Custom>
</Figure>
<Border>
<Size>5</Size>
<Color>
<Red>255</Red>
<Green>0</Green>
<Blue>0</Blue>
</Color>
</Border>
</Element>
</Elements>
</Window>
</Interfaces>
Now this seems perfectly correct according to the schema, and it validates fine. So am i doing something wrong or is this another of Pitcho's useless unusable features