View Single Post
11-01-06, 05:00 PM   #2
Nulkris
A Cobalt Mageweaver
 
Nulkris's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2005
Posts: 214
The schemaLocation is just a hint to an XML editor, it has no effect otherwise. If you are using a function from a Lua file in an XML file, you need to ensure that the Lua file is loaded first, this is done by placing it earlier in the toc file.

Within the designer, go to the Project Explorer panel, ensure that the Project View button is down on the toolbar at the top of the panel, then you will see a list of files in your project. Go to the lua file, right click, and select Load Earlier. Do this until the lua file is above the xml file in the list and you should be good to go.
__________________
Nulkris - A80 Rogue - Proudmoore
(Also Drukris, Hamkris on Proudmoore; Hulkris on Jubei'Thos & Khaz Modan)
  Reply With Quote