Documentation / XML guide
When something is missing
What Lizzard says about XML it can't build, and what it ignores without a word.
When Lizzard meets XML it can't build, it leaves that part out and carries on, so the rest of the window still loads. It says so once for each kind of problem, with the file and line where it first saw it. The messages appear in the live window's Messages tab, in the headless runner's output, and in the report an addon's test session gets.
What the messages mean
| Message | Meaning | What to do |
|---|---|---|
XML: <X> in a frame is not built yet (first seen at f.xml:12) |
A child element Lizzard doesn't build. The same with "in a layer", "in a texture", "in a font string" and "in an animation group". | Nothing, in your addon. It is Lizzard's gap; the part is missing from Lizzard's picture. |
XML: <X> frames are not built yet |
A frame type Lizzard doesn't make, such as a 3D model. The frame and everything inside it are left out. | Expect that part of the window to be missing. |
XML: top-level <X> is not loaded yet |
An element at the top of a file that isn't one of those in Files and loading. | Check its spelling and case: <script> isn't <Script>. |
... template 'X' not found |
inherits names a template that isn't loaded. |
Check the name, and that the file holding it loads first, or that the addon providing it is loaded. |
XML: mixin 'X' not found |
No global table by that name when the frame was built. | Load the Lua that defines it before the XML that uses it. |
XML: anchor point 'X' not known, anchor target not found |
The anchor is left out, so the region may have no position. | Check the point's spelling and the target's name or key path. |
XML: atlas 'X' is not in the atlas table |
The game's data for this build has no atlas by that name. | Check the name against the game; atlases change between builds. |
XML: colour 'X' not in GlobalColor, font 'X' not found |
A named colour or font object that doesn't exist. | Check the name; a font object from another addon must load first. |
XML: OnX function 'f' not found, ... could not be made |
A handler's global function doesn't exist yet, or its Lua body has an error. | Define the function before the XML loads; fix the Lua. |
What Lizzard ignores without a word
An attribute Lizzard doesn't read makes no message at all. It simply has no effect. To find those, Lizzard measured which attributes its loader reads while the game's interface loads, and lists the rest in the element reference, under "ignored". The most used ones in Forever's own XML:
- the values of Scale and Rotation animations: the animations are made, but don't move anything yet;
hWrapModeandvWrapModeon textures and masks;motionScriptsWhileDisabledon buttons;- the font settings
slug,filter,fixedSizeandcanBeUserScaled; roleset,fixedFrameLevel,fixedFrameStrataandignoreParentAlphaon frames;- the drawing settings of the Cooldown frame.
If your addon depends on one of them, Lizzard's picture will differ from the game's there. Tell us: a gap that matters to an addon is the next thing to build.