Xml Problem

Language: JP EN DE FR
2010-09-08
New Items
8260 users online
Forum » FFXI » Jobs » Blue Mage » Xml problem
Xml problem
 Bismarck.Croixx
Offline
Server: Bismarck
Game: FFXI
User: kooltm
Posts: 5
By Bismarck.Croixx 2012-03-05 01:49:03
Link | Quote | Reply
 
Ok just finished with this xml. Well found it and added to it. When i try to load it on my game it comes up with a error code..

"XML Parsing Error: Line 0- Failed to Open File"

I've looked all over google and i just can't find the reason why or how to fix it. Anyone have a clue lol?
Code
<?xml version="1.0" ?>
<spellcast xmlns:xi="http://www.w3.org/2001/XInclude">
    <config />
    <variables>
		    <xi:include href="include.xml" xpointer="//include[@name='ElementalObiConstants']/*" />
        <var name="Staff-Fire">Vulcan's Staff</var>
        <var name="Staff-Ice">Aquilo's Staff</var>
        <var name="Staff-Wind">Auster's Staff</var>
        <var name="Staff-Earth">Terra's Staff</var>
        <var name="Staff-Thunder">Jupiter's Staff</var>
        <var name="Staff-Water">Water Staff</var>
        <var name="Staff-Light">Light Staff</var>
        <var name="Staff-Dark">Pluto's Staff</var>
    </variables>
    <sets>
        <group name="Haste-Sword" default="yes">
            <set name="Idle">
                <head>Mavi Kavuk +2</head>
                <body>Mavi Mintan +1</body>
                <hands>Mavi Bazuband +2</hands>
				<legs>Homam Cosciales</legs>
                <feet>Homam Gambieras</feet>
                <neck>Twilight Torque</neck>
                <rear>Loquacious Earring</rear>
				<lear>Brutal Earring</lear>
				<back>Boxer's Mantle</back>
				<rring>Dark Ring</rring>
				<lring>Dark Ring</lring>
				<waist>Twilight Belt</waist>
				<ammo>Mavi Tathlum</ammo>
            </set>
            <set name="TP">
                <body>Mavi Mintan +1</body>
                <legs>Homam Cosciales</legs>
                <feet>Homam Gambieras</feet>
                <hands>Ocelot Gloves</hands>
                <rring>Epona's Ring</rring>
                <lring>Rajas Ring</lring>
                <lear>Brutal Earring</lear>
                <rear>Suppanomimi</rear>
                <neck>Chivalrous Chain</neck>
                <waist>Twilight Belt</waist>
                <back>Atheling Mantle</back>
                <head>Mavi Kavuk +2</head>
                <ammo>Mavi Tathlum</ammo>
            </set>
            <set name="Vorpal Blade">
                <body>Loki's Kaftan</body>
                <hands>Heafoc Mitts</hands>
                <legs>Tumbler Trunks</legs>
                <feet>Kacura Leggings +1</feet>
                <lring>Pyrosoul Ring</lring>
                <rring>Rajas Ring</rring>
                <waist>Thunder Belt</waist>
                <back>Atheling Mantle</back>
                <neck>Soil Gorget</neck>
                <lear>Brutal Earring</lear>
                <rear>Suppanomimi</rear>
                <ammo>Mavi Tathlum</ammo>
                <head>Aias Bonnet</head>
            </set>
            <set name="Sanguine Blade">
                <body>Teal Saio</body>
                <head>Teal Chapeau</head>
                <legs>Teal Slops</legs>
                <feet>Mavi Basmak +2</feet>
                <hands>Mavi Bazuband +2</hands>
                <waist>Penitent's Rope</waist>
                <back>Potentia Cape</back>
                <lring>Diamond Ring</lring>
                <rring>Spiral Ring</rring>
                <neck>Artemis' Medal</neck>
                <lear>Moldavite Earring</lear>
                <rear>Hecate's Earring</rear>
                <ammo>Snow Sachet</ammo>
            </set>
            <set name="Charged Whisker" baseset="Sanguine Blade">
                <main>Jupiter's Staff</main>
				<head>Aias Bonnet</head>
                <lring>Rajas Ring</lring>
				<rring>Thundersoul Ring</rring>
                <waist>Cuchulain's Belt</waist>
                <sub>Bugard Strap +1</sub>
				<back>Vigilance Mantle</back>
				<body>Loki's Kaftan</body>
				<legs>Mavi Tayt +2</legs>
            </set>
            <set name="Thermal Pulse" baseset="Sanguine Blade">
                <sub>Bugard Strap +1</sub>
            </set>
            <set name="INT" baseset="Sanguine Blade">
                <sub>Bugard Strap +1</sub>
            </set>
            <set name="Savage Blade" baseset="Vorpal Blade">
                <head>Teal Chapeau</head>
            </set>
            <set name="Blue Magic Skill">
                <head>Mirage Keffiyeh</head>
                <body>Magus Jubbah +1</body>
                <legs>Mavi Tayt +2</legs>
                <ammo>Mavi Tathlum</ammo>
                <neck>Mavi Scarf</neck>
                <hands>Symbios Gloves</hands>
            </set>
            <set name="Fast Cast">
                <body>Mavi Mintan +2</body>
                <legs>Homam Cosciales</legs>
            </set>
            <set name="STR" baseset="Blue Magic Skill">
                <neck>Ire Torque</neck>
                <hands>Heafoc Mitts</hands>
                <feet>Areion's Gamashes</feet>
                <lring>Rajas Ring</lring>
                <rring>Pyrosoul Ring</rring>
                <lear>Triumph Earring</lear>
                <rear>Tmph. Earring +1</rear>
                <back>Vigilance Mantle</back>
                <waist>Prosilio Belt</waist>
            </set>
            <set name="STR+DEX" baseset="STR">
				<head>Aias Bonnet</head>
                <neck>Shifting Necklace</neck>
                <hands>Heafoc mitts</hands>
				<back>Vigilance Mantle</back>
				<rring>Pyrosoul Ring </rring>
				<body>Loki's Kaftan</body>
                <waist>Prosilio Belt</waist>
                
				</set>
            <set name="STR+VIT" baseset="STR">
                <rring>Spiral Ring</rring>
            </set>
            <set name="PDT">
                <back>Umbra Cape</back>
                <lring>Dark Ring</lring>
                <rring>Dark Ring</rring>
                <legs>Dst. Subligar +1</legs>
                <body>Dst. Harness +1</body>
                <head>Darksteel Cap +1</head>
                <neck>Twilight Torque</neck>
                <main>Shamshir +2</main>
                <sub>Genbu's Shield</sub>
            </set>
            <set name="MDT">
                <lring>Dark Ring</lring>
                <rring>Dark Ring</rring>
                <legs>Coral Cuisses +1</legs>
                <hands>Coral Fng. Gnt. +1</hands>
                <body>Coral Scale Mail</body>
                <lear>Merman's Earring</lear>
                <rear>Merman's Earring</rear>
                <neck>Twilight Torque</neck>
                <feet>Coral Greaves +1</feet>
            </set>
            <set name="Utsusemi" baseset="TP" />
            <set name="Evasion" baseset="TP" />
        </group>
        <group name="PDT-Sword" inherit="Haste-Sword">
            <set name="TP">
                <back>Umbra Cape</back>
                <lring>Dark Ring</lring>
                <rring>Dark Ring</rring>
                <legs>Dst. Subligar +1</legs>
                <body>Dst. Harness +1</body>
                <head>Darksteel Cap +1</head>
                <neck>Twilight Torque</neck>
                <main>Shamshir+2</main>
                <sub>Genbu's Shield</sub>
            </set>
        </group>
        <group name="PDT-Staff" inherit="Haste-Sword" />
			<set name="Idle" baseset="PDT" />
    </sets>
    <rules>
        <!-- IncludesRules -->
        <xi:include href="include.xml" xpointer="//include[@name='SpellCancel']/*" />
        <xi:include href="include.xml" xpointer="//include[@name='ReturnRules']/*" />
		<xi:include href="include.xml" xpointer="//include[@name='ElementalObiRule']/*" />
        <!-- Fast Cast -->
        <if skill="BlueMagic" CastTimeGT="2">
            <equip when="precast" set="Fast Cast" />
        </if>
        <!-- Idle set for Staff-->
        <if status="idle" group="PDT-Staff">
            <equip when="idle|aftercast" set="PDT" />
        </if>
        <!--Utsusemi Rules-->
        <if spell="Utsusemi: Ni">
            <equip when="precast" set="Utsusemi"/>
        </if>
        <if spell="Utsusemi: Ichi">
            <equip when="precast" set="Fast Cast" />
            <command when="precast">
                wait 0.8; sc set Evasion
                </command>
            <midcastdelay delay="3" />
            <!-- Change this value based on your amount of fast cast. Base cast time on Ichi is 4 sec-->
            <equip when="midcast" set="Utsusemi" />
        </if>
        <!-- Change to TP gear after cast -->
        <if status="engaged" notEquipMain="*Staff">
            <equip when="engaged|aftercast" set="TP" />
        </if>
        <!-- Weaponskill -->
        <if spell="Vorpal Blade|Sanguine Blade|Savage Blade">
            <castdelay delay="0.3" />
            <equip when="precast" set="%spell" />
        </if>
        <!-- BLU spells -->
        <if spell="Quad*|Cannon*|Delta*">
            <equip when="precast" set="STR+VIT" />
        </if>
        <elseif spell="Diss*|Goblin*|Fren*">
            <equip when="precast" set="STR+DEX" />
        </elseif>
        <elseif spell="Occultation|Diamondhide">
            <equip when="midcast" set="Blue Magic Skill" />
        </elseif>
        <elseif spell="Charged Whisker|Thermal Pulse">
            <equip when="midcast" set="%spell" />
        </elseif>
        <elseif skill="BlueMagic" SpellTargetType="MONSTER" notElement="Earth|Fire|Water|Wind|Ice|Thunder|Dark|Light" notSpell="Head Butt">
            <equip when="precast" set="STR" />
        </elseif>
        <elseif skill="BlueMagic" notSpellTargetType="SELF|PLAYER" Element="Earth|Fire|Water|Wind|Ice|Thunder|Dark|Light" notSpell="Dream*|Sheep*|Act*|Yawn|Sopor*|Demora*|Heat Breath|Frost Breath|Poison Breath|Radiant Breath">
            <equip when="midcast" set="INT" />
        </elseif>
        <!--Chain Affinity-->
        <if skill="BlueMagic" notElement="Earth|Fire|Water|Wind|Ice|Thunder|Dark|Light" BuffActive="Chain Affinity">
            <equip when="precast">
                <head Lock="Yes">Mavi Kavuk +2</head>
            </equip>
        </if>
        <!--Efflux-->
        <if skill="BlueMagic" notElement="Earth|Fire|Water|Wind|Ice|Thunder|Dark|Light" BuffActive="Efflux">
            <equip when="precast">
                <legs Lock="Yes">Mavi Tayt +2</legs>
            </equip>
        </if>
        <!--Burst Affinity-->
        <if skill="BlueMagic" Element="Earth|Fire|Water|Wind|Ice|Thunder|Dark|Light" BuffActive="Burst Affinity">
            <equip when="precast">
                <hands Lock="Yes">Mavi Bazubands +1</hands>
            </equip>
        </if>
        <!-- Elemental Staffs-->
        <if group="PDT-Staff" MLvlGT="50" Skill="BlueMagic" SpellTargetType="MONSTER" notSpell="Dream*|Yawn">
            <equip when="midcast">
                <main>$Staff-%SpellElement</main>
            </equip>
        </if>
    </rules>
</spellcast>
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
User: Austar
Posts: 10483
By Ramuh.Austar 2012-03-05 01:50:15
Link | Quote | Reply
 
Did you name the include properly? Or even have the include?
 Bismarck.Croixx
Offline
Server: Bismarck
Game: FFXI
User: kooltm
Posts: 5
By Bismarck.Croixx 2012-03-05 01:53:43
Link | Quote | Reply
 
Dont quite understand. I'm still new with the whole xml coding lol. if your talking about the file its Croixx_BLU.xml
 Midgardsormr.Raistlin
Offline
Server: Midgardsormr
Game: FFXI
User: Wildman33
Posts: 12
By Midgardsormr.Raistlin 2012-03-05 01:54:09
Link | Quote | Reply
 
Ramuh.Austar said: »
Did you name the include properly? Or even have the include?

^ This

"XML Parsing Error: Line 0- Failed to Open File" is usually the error or misnamed include or missing include xml.
 Siren.Kalilla
VIP
Offline
Server: Siren
Game: FFXI
User: Kalila
Posts: 14552
By Siren.Kalilla 2012-03-05 01:54:26
Link | Quote | Reply
 
nvm answer is in the first line.
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
User: Austar
Posts: 10483
By Ramuh.Austar 2012-03-05 02:01:04
Link | Quote | Reply
 
It looks like someone else's. If you made it yourself, and don't know what an include is, but have a need for one, well then I don't know.

Do you have a link to where you got it?
 Bismarck.Croixx
Offline
Server: Bismarck
Game: FFXI
User: kooltm
Posts: 5
By Bismarck.Croixx 2012-03-05 02:04:18
Link | Quote | Reply
 
http://pastebin.com/dGhkNeNN
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
User: Austar
Posts: 10483
By Ramuh.Austar 2012-03-05 02:07:58
Link | Quote | Reply
 
Well I was hoping the uploader had an account, so I can't find their include file. Did you get that link off of a site?
 Bismarck.Croixx
Offline
Server: Bismarck
Game: FFXI
User: kooltm
Posts: 5
By Bismarck.Croixx 2012-03-05 02:10:43
Link | Quote | Reply
 
http://pastebin.com/search?cx=partner-pub-4339714761096906%3A1qhz41g8k4m&cof=FORID%3A10&ie=UTF-8&q=blu+xml&sa.x=0&sa.y=0

list of all the Blu.xmls they have or better yet just Pastebin.com
and do a search of Blu xmls
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
User: Austar
Posts: 10483
By Ramuh.Austar 2012-03-05 02:11:39
Link | Quote | Reply
 
Yeah, but that's the problem. You need whatever include the uploaded for the one you have used.
 Midgardsormr.Raistlin
Offline
Server: Midgardsormr
Game: FFXI
User: Wildman33
Posts: 12
By Midgardsormr.Raistlin 2012-03-05 02:23:11
Link | Quote | Reply
 
Try using Yugl's BLU along with his include, I've made a lot of xml's based around his format and like them a lot. His may be not so beginner friendly, but they really are nice once you see how they work.

http://pastebin.com/u/Yugl
 Bismarck.Croixx
Offline
Server: Bismarck
Game: FFXI
User: kooltm
Posts: 5
By Bismarck.Croixx 2012-03-05 03:04:02
Link | Quote | Reply
 
well wanted to thank you guys for the help. But managed o figure it out and finally got it working after pulling my hair out lmao. I ended up deleting lines 5, 176-178 and works fine now. I took a look at yugl's and your right lol not beginner friendly but very detailed. I'll look more over it and see if i like to use that instead.
Log in to post.