10-02-22, 07:48 PM | #1 |
XML Error; Title Region Unknown
Can someone please point me in the right direction on this error.... This is on Beta. I'm at work and I believe thats what the error is/was XML: Region or Title Unknown. I can know for sure when I get home in like in a few hours.
Code:
<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Frame name="LocationMessageView" enableMouse="true" movable="true"> <Scripts> <OnLoad> <![CDATA[ self:RegisterForDrag("LeftButton") LocationMessageView:Hide() ]]>; LocationMessageView:RegisterEvent("ZONE_CHANGED_NEW_AREA"); </OnLoad> <OnDragStart>self:StartMoving();</OnDragStart> <OnDragStop>self:StopMovingOrSizing();</OnDragStop> <OnShow> </OnShow> <OnEvent>LocationMessageController:on_zone_changed(event)</OnEvent> </Scripts> <Size> <AbsDimension x="139" y="170" /> </Size> <Anchors> <Anchor point="CENTER" relativeTo="UIParent"> <Offset> <AbsDimension x="0" y="0" /> </Offset> </Anchor> </Anchors> <TitleRegion setAllPoints="true" /> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> <BackgroundInsets> <AbsInset left="11" right="12" top="12" bottom="11" /> </BackgroundInsets> <TileSize> <AbsValue val="32" /> </TileSize> <EdgeSize> <AbsValue val="32" /> </EdgeSize> </Backdrop> <Frames> <Button name="AllClear" text="All Clear"> <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> <Size> <AbsDimension x="93" y="27" /> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="22" y="-59" /> </Offset> </Anchor> </Anchors> <Scripts> <OnClick>location_message_controller:on_all_clear_button_pressed()</OnClick> </Scripts> <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </NormalTexture> <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </PushedTexture> <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </DisabledTexture> <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </HighlightTexture> <ButtonText name="$parentText"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="1" /> </Offset> </Anchor> </Anchors> <FontHeight> <AbsValue val="10" /> </FontHeight> </ButtonText> <NormalFont style="GameFontNormal" /> <HighlightFont style="GameFontHighlight" /> <DisabledFont style="GameFontDisable" /> </Button> <Button name="Incoming" text="Incoming"> <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> <Size> <AbsDimension x="93" y="27" /> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="22" y="-94" /> </Offset> </Anchor> </Anchors> <Scripts> <OnClick>location_message_controller:on_incoming_button_pressed()</OnClick> </Scripts> <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </NormalTexture> <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </PushedTexture> <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </DisabledTexture> <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </HighlightTexture> <ButtonText name="$parentText"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="1" /> </Offset> </Anchor> </Anchors> <FontHeight> <AbsValue val="10" /> </FontHeight> </ButtonText> <NormalFont style="GameFontNormal" /> <HighlightFont style="GameFontHighlight" /> <DisabledFont style="GameFontDisable" /> </Button> <Button name="SendMore" text="Send More"> <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> <Size> <AbsDimension x="93" y="27" /> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="22" y="-129" /> </Offset> </Anchor> </Anchors> <Scripts> <OnClick>location_message_controller:on_sendmore_button_pressed()</OnClick> </Scripts> <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </NormalTexture> <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </PushedTexture> <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </DisabledTexture> <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </HighlightTexture> <ButtonText name="$parentText"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="1" /> </Offset> </Anchor> </Anchors> <FontHeight> <AbsValue val="10" /> </FontHeight> </ButtonText> <NormalFont style="GameFontNormal" /> <HighlightFont style="GameFontHighlight" /> <DisabledFont style="GameFontDisable" /> </Button> <Button name="Incoming1" text="1"> <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> <Size> <AbsDimension x="15" y="29" /> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="22" y="-24" /> </Offset> </Anchor> </Anchors> <Scripts> <OnClick>location_message_controller:on_incoming_button1_pressed()</OnClick> </Scripts> <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </NormalTexture> <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </PushedTexture> <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </DisabledTexture> <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </HighlightTexture> <ButtonText name="$parentText"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="1" /> </Offset> </Anchor> </Anchors> <FontHeight> <AbsValue val="10" /> </FontHeight> </ButtonText> <NormalFont style="GameFontNormal" /> <HighlightFont style="GameFontHighlight" /> <DisabledFont style="GameFontDisable" /> </Button> <Button name="Incoming2" text="2"> <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> <Size> <AbsDimension x="15" y="29" /> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="37" y="-24" /> </Offset> </Anchor> </Anchors> <Scripts> <OnClick>location_message_controller:on_incoming_button2_pressed()</OnClick> </Scripts> <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </NormalTexture> <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </PushedTexture> <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </DisabledTexture> <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </HighlightTexture> <ButtonText name="$parentText"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="1" /> </Offset> </Anchor> </Anchors> <FontHeight> <AbsValue val="10" /> </FontHeight> </ButtonText> <NormalFont style="GameFontNormal" /> <HighlightFont style="GameFontHighlight" /> <DisabledFont style="GameFontDisable" /> </Button> <Button name="Incoming3" text="3"> <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> <Size> <AbsDimension x="15" y="29" /> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="52" y="-24" /> </Offset> </Anchor> </Anchors> <Scripts> <OnClick>location_message_controller:on_incoming_button3_pressed()</OnClick> </Scripts> <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </NormalTexture> <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </PushedTexture> <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </DisabledTexture> <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </HighlightTexture> <ButtonText name="$parentText"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="1" /> </Offset> </Anchor> </Anchors> <FontHeight> <AbsValue val="10" /> </FontHeight> </ButtonText> <NormalFont style="GameFontNormal" /> <HighlightFont style="GameFontHighlight" /> <DisabledFont style="GameFontDisable" /> </Button> <Button name="Incoming4" text="4"> <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> <Size> <AbsDimension x="15" y="29" /> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="67" y="-24" /> </Offset> </Anchor> </Anchors> <Scripts> <OnClick>location_message_controller:on_incoming_button4_pressed()</OnClick> </Scripts> <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </NormalTexture> <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </PushedTexture> <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </DisabledTexture> <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </HighlightTexture> <ButtonText name="$parentText"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="1" /> </Offset> </Anchor> </Anchors> <FontHeight> <AbsValue val="10" /> </FontHeight> </ButtonText> <NormalFont style="GameFontNormal" /> <HighlightFont style="GameFontHighlight" /> <DisabledFont style="GameFontDisable" /> </Button> <Button name="Incoming5" text="Zerg"> <!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508884-59c2-4f83-ae10-27aaad48391b" />--> <Size> <AbsDimension x="35" y="29" /> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="82" y="-24" /> </Offset> </Anchor> </Anchors> <Scripts> <OnClick>location_message_controller:on_incoming_button5_pressed()</OnClick> </Scripts> <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </NormalTexture> <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </PushedTexture> <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </DisabledTexture> <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD"> <TexCoords left="0" right="0.625" top="0" bottom="0.6875" /> </HighlightTexture> <ButtonText name="$parentText"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="1" /> </Offset> </Anchor> </Anchors> <FontHeight> <AbsValue val="10" /> </FontHeight> </ButtonText> <NormalFont style="GameFontNormal" /> <HighlightFont style="GameFontHighlight" /> <DisabledFont style="GameFontDisable" /> </Button> </Frames> </Frame> </Ui> |
|
10-02-22, 08:25 PM | #2 |
I'll take a guess that maybe TitleRegion is no longer a thing.
__________________
Fizzlemizz Maintainer of Discord Unit Frames and Discord Art. Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus. |
|
10-02-22, 08:36 PM | #3 |
Addon works. Just get the error when the game is first launched.
|
|
10-02-22, 09:08 PM | #4 |
Can't do much without a proper error description but if the addon works then it's probably not related to this XML if the addon is reliant on it to work.
__________________
Fizzlemizz Maintainer of Discord Unit Frames and Discord Art. Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus. |
|
10-02-22, 09:17 PM | #5 |
I'll post the entire error when I get home. The addon does work like I said. It throws like 16 errors that are like just on or two words long.
Last edited by Sharpedge : 10-02-22 at 09:25 PM. |
|
10-02-22, 10:13 PM | #6 |
10.x is reporting errors for unexpected XML elements and attributes that it didn't before.
If your errors aren't very informative, try using: Code:
/console enableSourceLocationLookup 1
__________________
Fizzlemizz Maintainer of Discord Unit Frames and Discord Art. Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus. |
|
10-02-22, 10:27 PM | #7 |
Ok, thank you. I'll look when I get home in a few hours.
|
|
10-03-22, 05:38 AM | #8 |
There are 16 total:
Code:
Message: Unrecognized XML: TitleRegion Message: Unrecognized XML attribute: setAllPoints Message: Unrecognized XML: Backdrop Message: Unrecognized XML attribute: bgFile Message: Unrecognized XML attribute: edgeFile Message: Unrecognized XML attribute: tile Message: Unrecognized XML: BackgroundInsets Message: Unrecognized XML: AbsInset Message: Unrecognized XML attribute: left Message: Unrecognized XML attribute: right Message: Unrecognized XML attribute: top Message: Unrecognized XML attribute: bottom Message: Unrecognized XML: TileSize Message: Unrecognized XML: AbsValue Message: Unrecognized XML attribute: val Message: Unrecognized XML: EdgeSize |
|
10-03-22, 10:29 AM | #9 |
As per before, it seem s TitleRegions are no longer a thing and backdrops have not been part of every frame since 9.0. I would suggest looking at how Blizzard assigns backdrops in XML for the "new" way of doing it.
__________________
Fizzlemizz Maintainer of Discord Unit Frames and Discord Art. Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus. |
|
10-03-22, 10:40 AM | #10 |
I'm not sure if this still works in 10.0 yet, haven't delved into this addon much yet.
But this was a template I set up for my frames to inherit from in my MagePorts addon. I did have a built in backdropInfo table in use when I first used it but then they appear to have removed it so I created my own. Lua Code:
Lua Code:
__________________
All Level 70 Characters: Demon Warlock Resto Druid Disc Priest Resto Shaman Survival Hunter Augment Evoker Frost Mage Vengence Demon Hunter Rogue ( was subtlety ) Brewmaster Monk (TR) Prot Paladin (TR) Blood Death Knight ( TR) As you can see I am missing a warrior And .. I don't have all the allied races covered. Time Runner time when it happens again |
|
10-03-22, 05:11 PM | #11 |
10-03-22, 05:31 PM | #12 |
The error message pretty much sums it up for the TitleRegion error.
To export Blizzard UI code to see for yourself what they do with XML backdrops, see, but Xrystal's reply seems to cover it .
__________________
Fizzlemizz Maintainer of Discord Unit Frames and Discord Art. Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus. |
|
10-03-22, 08:46 PM | #13 |
You can also view it at https://github.com/Gethe/wow-ui-source/tree/beta but sometimes they are down for a few days during an update cycle - the last time I downloaded my own version from the PTR.
__________________
All Level 70 Characters: Demon Warlock Resto Druid Disc Priest Resto Shaman Survival Hunter Augment Evoker Frost Mage Vengence Demon Hunter Rogue ( was subtlety ) Brewmaster Monk (TR) Prot Paladin (TR) Blood Death Knight ( TR) As you can see I am missing a warrior And .. I don't have all the allied races covered. Time Runner time when it happens again |
|
10-03-22, 11:35 PM | #14 | |
|
||
10-05-22, 05:36 PM | #15 | |
|
||
12-06-22, 02:56 AM | #16 | |
Can anyone explain where to add these "patches" to get an addon to stop showing the errors?
|
||
12-06-22, 03:11 AM | #17 |
12-06-22, 11:36 AM | #18 |
I tried to add it in as a frame without success. I also have no clue what I'm doing but I tried LOL.
Lua Code:
|
|
12-06-22, 09:02 PM | #19 |
Ah thats the old way .. hold on
Replace this block Lua Code:
with Lua Code:
And if you want to look at alternative backdropInfo options. The top of this file has a bunch of pre-built ones. https://www.townlong-yak.com/framexml/live/Backdrop.lua
__________________
All Level 70 Characters: Demon Warlock Resto Druid Disc Priest Resto Shaman Survival Hunter Augment Evoker Frost Mage Vengence Demon Hunter Rogue ( was subtlety ) Brewmaster Monk (TR) Prot Paladin (TR) Blood Death Knight ( TR) As you can see I am missing a warrior And .. I don't have all the allied races covered. Time Runner time when it happens again Last edited by Xrystal : 12-06-22 at 09:07 PM. |
|
WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » XML Error; Title Region Unknown |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|