Poster: Abraha at 10/5/2005 9:53:58 PM PDT Subject: UI.xsd reference wrong in 1.8 |
| |
This may have been brought up already, but I couldn't find it in the search.
It seems the schema reference in the XML files for the new AddOns\Blizzard_* addons is wrong. It says:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
I think "..\FrameXML\UI.xsd" should now be "..\..\FrameXML\UI.xsd" (note extra "..") since the XML files are now located in their own directories under addons.
So:
Interface\AddOns\Blizzard_AuctionUI\AuctionFrame.xml
points to
..\FrameXML\UI.xsd
which equals
Interface\AddOns\Blizzard_AuctionUI\..\FrameXML\UI.xsd
which equals
Interface\AddOns\FrameXML\UI.xsd
which is not where the FrameXML folder goes
It should be like this:
Interface\AddOns\Blizzard_AuctionUI\AuctionFrame.xml
points to
..\..\FrameXML\UI.xsd
which equals
Interface\AddOns\Blizzard_AuctionUI\..\..\FrameXML\UI.xsd
which equals
Interface\FrameXML\UI.xsd
Sorry for the overly long explanation but it's kind of late and I wanted to make sure I was making sense. XD
AuctionSort: http://tinyurl.com/c6krl
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=235273&p=#post235273 |
| |
Poster: slouken at 10/13/2005 9:35:17 AM PDT Subject: Re: UI.xsd reference wrong in 1.8 |
| |
Q u o t e: I think "..\FrameXML\UI.xsd" should now be "..\..\FrameXML\UI.xsd" (note extra "..") since the XML files are now located in their own directories under addons.
Yep, this is fixed for 1.9, thanks.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=235273&p=#post242536 |
Poster: slouken at 10/13/2005 9:41:09 AM PDT Subject: Re: UI.xsd reference wrong in 1.8 |
| |
Q u o t e: In addition, some of the xml files aren't valid according to the schema. Not a big deal as I'm sure the wow code has logic that doesn't map one-to-one with the xsd. But it does make it more problematic to interact with the xml/xsd with third party editors and such.
They should probably all be cranked through the validator, for neatness sake.
Here's two examples:
DressUpFrame.xml has a hard reference to C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd
CharacterFrame.xml has a <Script> element before <Include>
These are fixed too, thanks!
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=235273&p=#post242543 |