PDA

View Full Version : Possible Documentation Error in the XML and Scripting Reference (refdoc)



Minty23185Fresh
April 27th, 2016, 20:18
I believe I have come across an error in the XML and Scripting Reference online document.
Who would I investigate this with?

The documentation for the windowcontrol states that the
<anchored>
<left>
<offset>
is a comma separated pair of numbers.

While this appears to be true for
<anchored>
<offset>

In most of the templates and so forth that I have seen, it is a single digit.
There are many examples of single digit values (for <top>) in the coreRPG\ct\template_ct.xml

Minty23185Fresh
April 27th, 2016, 21:38
Using my new best friend, SITE SEARCH, looking for "Two numbers separated by a comma"

It appears as though the issue may also exist for
<panel>
<anchored>
<left>
<offset>

Moon Wizard
April 27th, 2016, 22:21
I've updated the anchored.offset and anchored.left.offset descriptive text. The anchored.offset tag should be 2 numbers separated by a comma, and anchored.left.offset is a single number.

https://www.fantasygrounds.com/refdoc/windowcontrol.xcp

Regards,
JPG

Minty23185Fresh
May 13th, 2016, 05:23
I believe I have found another error in the aformentioned document. (2 issues)

(1) The Context is missing, it's blank, for the textbasecontrol (https://www.fantasygrounds.com/refdoc/textbasecontrol.xcp). I suspect it should be windowinstance like nearly every other Element listed.

(2) The issue listed in post #1 of this thread was fixed but the issue listed in post #2 (above) has not been fixed, it's for the panel (https://www.fantasygrounds.com/refdoc/panel.xcp) component.